/* Site-wide dark mode overrides (activated by .dark on <html>) */

.dark body,
.dark .bg-surface,
.dark .bg-gray-50,
.dark .bg-gray-100 {
    background-color: #0f172a !important;
}

.dark header img {
    filter: brightness(0) invert(1) !important;
}

.dark .bg-white,
.dark .bg-white\/80,
.dark .bg-white\/90 {
    background-color: #1e293b !important;
}

.dark .bg-gray-200 {
    background-color: #334155 !important;
}

.dark .bg-surface-container {
    background-color: #1e293b !important;
}

.dark .bg-surface-container-low {
    background-color: #0f172a !important;
}

.dark .bg-surface-container-high {
    background-color: #334155 !important;
}

.dark .bg-primary\/5,
.dark .bg-secondary\/5 {
    background-color: rgba(30, 41, 59, 0.5) !important;
}

.dark .text-gray-500,
.dark .text-on-surface-variant {
    color: #94a3b8 !important;
}

.dark .text-gray-600 {
    color: #cbd5e1 !important;
}

.dark .text-gray-700,
.dark .text-gray-800,
.dark .text-gray-900,
.dark .text-on-surface {
    color: #e2e8f0 !important;
}

.dark .border,
.dark .border-b,
.dark .border-t,
.dark .border-l,
.dark .border-r,
.dark .border-gray-200,
.dark .border-gray-300 {
    border-color: #334155 !important;
}

.dark .fees-table td,
.dark .fees-table th {
    border-color: #334155 !important;
}

.dark input,
.dark select,
.dark textarea {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #64748b !important;
}

.dark .glass-card,
.dark .glass-effect {
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: #334155 !important;
}