/**
 * FillThat Styles
 * Consolidated styles for all pages
 * Optimized for Core Web Vitals (LCP, FID, CLS)
 */

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /* Prevent layout shift during font loading */
    font-display: swap;
}

/* ==================== Navigation ==================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: #f2f2f7;
    color: #111;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
}

.nav-button {
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.35);
}

/* ==================== Public Landing Page ==================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero .tagline {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .cta {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero .cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 15px;
}

.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #667eea;
}

.section p {
    font-size: 1.1em;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Live Preview Generator */
.live-generator {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.generator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.generator-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-group {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.control-group input,
.control-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.control-group input:focus,
.control-group select:focus {
    outline: none;
    border-color: #667eea;
}

.control-group small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 0.9em;
}

.generator-preview {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.preview-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #f8f9fa; */
    border-radius: 8px;
    min-height: 400px;
    position: relative;
}

.preview-image img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Prevent layout shift on image load */
    display: block;
    /* Optimize for LCP (Largest Contentful Paint) */
    object-fit: contain;
}

.preview-url {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    word-break: break-all;
    border-left: 4px solid #667eea;
}

.copy-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: translateY(-2px);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.feature h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #667eea;
}

.feature p {
    color: #666;
    font-size: 1em;
}

/* Examples */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.example-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
}

.example-card img {
    width: 100%;
    height: auto;
    /* Prevent layout shift */
    display: block;
    /* Maintain aspect ratio and prevent distortion */
    object-fit: cover;
    aspect-ratio: 4/3;
}

.example-code {
    padding: 15px;
    background: #f8f9fa;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #e83e8c;
}

/* ==================== Auth Pages ==================== */
/* Authentication Container */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

/* Auth Card */
.auth-card {
    background: white;
    width: min(450px, 100%);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    padding: 40px;
    animation: fadeInUp 0.6s ease;
}

/* Auth Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.auth-form label.required::after {
    content: ' *';
    color: #ef4444;
}

/* Input Group with Icons */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.input-group .form-input {
    width: 100%;
    padding: 12px 12px 12px 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
}

.input-group .form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group .form-input::placeholder {
    color: #9ca3af;
}

.input-group .form-input.error {
    border-color: #ef4444;
}

.input-group .form-input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #4b5563;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* Form Error Messages */
.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    display: none;
}

/* Form Help Text */
.form-help {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Form Checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    font-weight: 400;
}

.form-checkbox a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    color: #6b7280;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    border-color: #fbbf24;
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #e5e7eb;
    border-top-color: #667eea;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 24px;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-logo h1 {
        font-size: 1.75rem;
    }
}

footer {
    background: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer a {
    color: #667eea;
    text-decoration: none;
}

/* ==================== Admin Login Page ==================== */
body.admin-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 2.5em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    color: #666;
    margin-top: 5px;
}

/* ==================== Admin Panel Styles ==================== */
body .admin-panel {
    background: #f5f7fa;
    color: #333;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.sidebar-header h1 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.sidebar-header p {
    opacity: 0.8;
    font-size: 0.9em;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.sidebar-nav a.active {
    background: rgba(255,255,255,0.2);
    border-left: 3px solid white;
}

.sidebar-nav a svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.logout-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
}

.page-header p {
    color: #666;
    font-size: 1.1em;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.card-header h3 {
    font-size: 1.3em;
    color: #333;
}

.card-body {
    color: #666;
    max-height:600px;
    overflow-y:auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #667eea;
}

.stat-card .success {
    border-left-color: #4caf50;
}

.stat-card .warning {
    border-left-color: #ff9800;
}

.stat-card .danger {
    border-left-color: #f44336;
}

.stat-label {
    color: #999;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-change {
    font-size: 0.9em;
    color: #666;
}

.stat-change .positive {
    color: #4caf50;
}

.stat-change .negative {
    color: #f44336;
}


.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

/* Tables */

.table-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #667eea;
    border-bottom: 2px solid #e0e0e0;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s;
    font-size: 1em;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
}

.btn-success {
    background: #4caf50;
}

.btn-danger {
    background: #f44336;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9em;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 0.9em;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.error {
    /* background: #fee; */
    /* color: #c33; */
    /* padding: 12px; */
    /* border-radius: 5px; */
    /* margin-bottom: 20px; */
    border-left: 4px solid #c33;
}

.success {
    /* background: #efe; */
    /* color: #3c3; */
    /* padding: 12px; */
    /* border-radius: 5px; */
    /* margin-bottom: 20px; */
    border-left: 4px solid #3c3;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .generator-grid {
        grid-template-columns: 1fr;
    }

    .features,
    .examples-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .main-content {
        margin-left: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* Charts */

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filters form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filters select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.filters button {
    padding: 0.5rem 1.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.filters button:hover {
    background: #5568d3;
}

.chart-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-label {
    min-width: 200px;
    font-size: 0.9rem;
    color: #666;
}

.chart-bar-container {
    flex: 1;
    height: 30px;
    background: #f1f3f5;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    transition: width 0.3s;
}

.chart-bar-fill.success {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.chart-bar-fill.error {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}


/*
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: #f8f9fa;
} */

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-success {
    background: #d1fae5;
    color: #065f46;
}

.status-error {
    background: #fee2e2;
    color: #991b1b;
}

.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.endpoint-badge {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: monospace;
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric-small {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.metric-small:last-child {
    border-bottom: none;
}

.metric-label-small {
    color: #666;
    font-size: 0.9rem;
}

.metric-value-small {
    font-weight: 600;
    color: #333;
}