/* Explain: Theme design tokens for dark and light modes. */
:root {
    --primary-color: #ffffff;
    --primary-hover: #e2e8f0;
    --secondary-color: #0f172a;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.15);
    --background-color: #020617;
    --surface-color: #172554;
    --text-color: #ffffff;
    --text-muted: #ffffff;
    --border-color: #1e293b;
    --success-color: #10b981;
    --error-color: #ef4444;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-xl: 24px;
}

/* Dark Theme Text Overrides (Force White) */
html:not([data-theme="light"]) .text-slate-300,
html:not([data-theme="light"]) .text-slate-400,
html:not([data-theme="light"]) .text-white\/30,
html:not([data-theme="light"]) .text-white\/70,
html:not([data-theme="light"]) .text-white\/80 {
    color: #ffffff !important;
}

html:not([data-theme="light"]) ::placeholder {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

/* Light Theme Overrides */
html[data-theme="light"] {
    --background-color: #f8fafc;
    --text-color: #0f172a;
    --surface-color: #ffffff;
    --text-muted: #475569;
    --border-color: #cbd5e1;
}

html[data-theme="light"] body {
    background: var(--background-color) !important;
    color: var(--text-color) !important;
}

html[data-theme="light"] .text-white {
    color: #0f172a !important;
}

html[data-theme="light"] .text-slate-300 {
    color: #334155 !important;
}

html[data-theme="light"] .bg-\[\#0f172a\]\/60,
html[data-theme="light"] .bg-\[\#0f172a\]\/80,
html[data-theme="light"] .bg-\[\#0f172a\] {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: #e2e8f0 !important;
}

html[data-theme="light"] .bg-\[\#020617\]\/85,
html[data-theme="light"] .bg-\[\#020617\]\/90,
html[data-theme="light"] .bg-\[\#020617\]\/95,
html[data-theme="light"] .bg-\[\#020617\] {
    background-color: rgba(248, 250, 252, 0.85) !important;
}

html[data-theme="light"] .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .bg-white\/5 {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .bg-white\/10 {
    background-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
}

html[data-theme="light"] .glow-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .dropdown-content {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: #cbd5e1 !important;
}

html[data-theme="light"] .text-white\/70 {
    color: rgba(15, 23, 42, 0.7) !important;
}

html[data-theme="light"] .text-white\/30 {
    color: rgba(15, 23, 42, 0.3) !important;
}

html[data-theme="light"] .btn {
    color: #ffffff !important;
}

html[data-theme="light"] .btn.btn-ghost {
    color: #0f172a !important;
}

html[data-theme="light"] .bg-\[var\(--accent-color\)\] .text-white {
    color: #ffffff !important;
}