/* Dark Mode (default) */
body {
    background: #0f172a;
    color: #e2e8f0;

    /* A/B Testing variables - Dark Mode */
    --container-bg: #1e293b;
    --container-border: #334155;
    --title-color: #f1f5f9;
    --card-bg: #0f172a;
    --card-border: #334155;
    --subtitle-color: #94a3b8;
    --text-color: #f1f5f9;
    --metric-color: #cbd5e1;
    --model-color: #94a3b8;
    --success-bg: #064e3b;
    --error-bg: #7f1d1d;
    --success-border: #059669;
    --error-border: #dc2626;
    --success-text: #34d399;
    --error-text: #f87171;
    --desc-color: #d1d5db;
}

h1 { color: #38bdf8; }
h2 { color: #94a3b8; }

.loading { color: #94a3b8; }
.empty-state { color: #64748b; }
.empty-state h3 { color: #94a3b8; }

/* Enhanced Theme toggle button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

#theme-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover #theme-icon {
    transform: rotate(20deg);
}

/* Light Mode */
body.light-mode {
    background: #f8fafc;
    color: #1e293b;

    /* A/B Testing variables - Light Mode */
    --container-bg: #f8fafc;
    --container-border: #e2e8f0;
    --title-color: #1e293b;
    --card-bg: white;
    --card-border: #e2e8f0;
    --subtitle-color: #64748b;
    --text-color: #1e293b;
    --metric-color: #64748b;
    --model-color: #64748b;
    --success-bg: #f0fdf4;
    --error-bg: #fef2f2;
    --success-border: #bbf7d0;
    --error-border: #fecaca;
    --success-text: #15803d;
    --error-text: #dc2626;
    --desc-color: #64748b;
}

body.light-mode h1 { color: #0284c7; }
body.light-mode h2 { color: #475569; }

body.light-mode .loading { color: #64748b; }
body.light-mode .empty-state { color: #94a3b8; }
body.light-mode .empty-state h3 { color: #64748b; }

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}
