/* Light Theme (default) */
.theme-light {
    --bg: #fafaf8;
    --card: #fff;
    --elevated: #f2f1ed;
    --nav-bg: rgba(255,255,255,0.9);
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-tertiary: #999;
    --border: rgba(0,0,0,0.06);
    --shadow: 0 1px 6px rgba(0,0,0,0.04);
}

/* Dark Theme */
.theme-dark {
    --bg: #0b0e13;
    --card: #141821;
    --elevated: #1b2030;
    --nav-bg: rgba(11,14,19,0.92);
    --text-primary: #e5e3de;
    --text-secondary: #888;
    --text-tertiary: #555;
    --border: rgba(255,255,255,0.06);
    --shadow: 0 1px 6px rgba(0,0,0,0.2);
}

/* Dark mode overrides for panels with transparent section colors */
.theme-dark .feedback-panel {
    background: var(--elevated) !important;
    border-color: var(--border) !important;
}

.theme-dark .feedback-weakness {
    background: rgba(220,38,38,0.08);
}

.theme-dark .next-actions {
    background: var(--elevated);
}

.theme-dark .why-box {
    background: var(--elevated);
}

.theme-dark .info-box {
    background: var(--elevated);
}

.theme-dark .weak-item.danger {
    background: rgba(220,38,38,0.06);
}

/* Section colors as CSS variables */
:root {
    --color-verbal: #0d9488;
    --color-quant: #2563eb;
    --color-reason: #7c3aed;
    --color-spatial: #c2410c;
    --color-primary: #0d9488;
    --color-primary-light: #0d948810;
    --color-danger: #dc2626;
    --color-warning: #d97706;
}
