/* ========================================
   QuranTools - Modern Islamic Theme
   Beautiful, accessible, and spiritual design
   ======================================== */

/* ========================================
   Root Variables - Color Palette
   ======================================== */
:root {
    /* Primary Islamic Green */
    --primary-color: #006747;
    --primary-light: #00875c;
    --primary-dark: #004c34;
    --primary-gradient: linear-gradient(135deg, #006747 0%, #00875c 100%);
    
    /* Gold Accent */
    --gold-color: #d4af37;
    --gold-light: #f5d97d;
    --gold-dark: #b8941f;
    
    /* Neutrals */
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-muted: #95a5a6;
    
    /* Semantic Colors */
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 103, 71, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 103, 71, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 103, 71, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 103, 71, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Arabic Font */
    --font-arabic: 'Amiri', 'Traditional Arabic', 'Arabic Typesetting', serif;
    --font-body: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   Base Styles
   ======================================== */
html, body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--background-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========================================
   Sidebar Navigation - Enhanced Styling
   ======================================== */
.sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}

.top-row {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-bottom: none;
}

.navbar-brand {
    color: white !important;
    font-size: 1.3rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-item {
    margin: 2px 0;
}

.nav-link {
    color: #ffffff !important;
    border-radius: 8px;
    margin: 4px 8px;
    padding: 12px 16px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-link.active {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white !important;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.lang-btn {
    outline: none;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

.lang-btn:active {
    transform: translateY(0);
}
.nav-link span {
    font-size: 1.2rem;
}

/* Donate button special styling */
.nav-item:nth-last-child(2) .nav-link {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white !important;
    font-weight: bold;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.nav-item:nth-last-child(2) .nav-link:hover {
    background: linear-gradient(135deg, #e4505d 0%, #d63545 100%);
    transform: translateX(5px) scale(1.02);
}

/* ========================================
   Top Bar
   ======================================== */
.top-row.px-4 {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 1.5rem;
}

.top-row a {
    color: #1e3c72;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.top-row a:hover {
    color: #2a5298;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #34c759 100%);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e5 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffd140 100%);
    color: var(--text-primary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn:focus, .btn:active:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 103, 71, 0.25);
    outline: none;
}

/* ========================================
   Cards - Modern & Elegant
   ======================================== */
.card {
    background: var(--background-white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-header {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-header h5,
.card-header h4,
.card-header h3 {
    margin: 0;
    color: white;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--background-light);
    border-top: 1px solid rgba(0, 103, 71, 0.1);
    padding: 1rem 1.5rem;
}

/* Card Variants */
.card.bg-primary {
    background: var(--primary-gradient);
    color: white;
}

.card.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #34c759 100%);
    color: white;
}

.card.bg-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

/* ========================================
   Forms - Beautiful & Accessible
   ======================================== */
.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--background-white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 103, 71, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-check-input {
    border: 2px solid #dee2e6;
    border-radius: 0.25rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 103, 71, 0.15);
    border-color: var(--primary-color);
}

/* ========================================
   Arabic Text Styling
   ======================================== */
[dir="rtl"],
.arabic-text {
    font-family: var(--font-arabic);
    font-size: 1.5rem;
    line-height: 2.2;
    direction: rtl;
    text-align: right;
}

mark {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-color) 100%);
    color: var(--text-primary);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* ========================================
   List Groups - Modern & Interactive
   ======================================== */
.list-group-item {
    border: 1px solid rgba(0, 103, 71, 0.1);
    transition: all var(--transition-fast);
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md) !important;
}

.list-group-item:hover {
    background: linear-gradient(135deg, rgba(0, 103, 71, 0.05) 0%, rgba(0, 103, 71, 0.1) 100%);
    border-color: var(--primary-color);
    transform: translateX(-4px);
    cursor: pointer;
}

.list-group-item.active {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.list-group-item.active:hover {
    transform: translateX(0);
}

/* ========================================
   Badges - Elegant & Colorful
   ======================================== */
.badge {
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.badge.bg-primary {
    background: var(--primary-gradient) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #34c759 100%) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9e5 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffd140 100%) !important;
    color: var(--text-primary) !important;
}

.badge.bg-light {
    background: var(--background-light) !important;
    color: var(--text-primary) !important;
    border: 1px solid #dee2e6;
}

/* ========================================
   Alerts - Beautiful Notifications
   ======================================== */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    border-left: 4px solid;
    box-shadow: var(--shadow-sm);
}

.alert-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(32, 201, 229, 0.1) 100%);
    border-left-color: #17a2b8;
    color: #0c525d;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(52, 199, 89, 0.1) 100%);
    border-left-color: #28a745;
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 209, 64, 0.1) 100%);
    border-left-color: #ffc107;
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(237, 71, 88, 0.1) 100%);
    border-left-color: #dc3545;
    color: #721c24;
}

/* ========================================
   Navigation - Modern & Responsive
   ======================================== */
.navbar {
    box-shadow: var(--shadow-sm);
    background: var(--background-white) !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: rgba(0, 103, 71, 0.1);
    color: var(--primary-color) !important;
}

.nav-link.active {
    background: var(--primary-gradient);
    color: white !important;
}

/* ========================================
   Tables - Clean & Modern
   ======================================== */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
    vertical-align: middle;
}

.table thead th:first-child {
    border-top-left-radius: var(--radius-md);
}

.table thead th:last-child {
    border-top-right-radius: var(--radius-md);
}

.table tbody tr {
    transition: all var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(0, 103, 71, 0.05);
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 103, 71, 0.1);
    vertical-align: middle;
}

/* ========================================
   Audio Player Enhancements
   ======================================== */
audio {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 1rem 0;
}

audio::-webkit-media-controls-panel {
    background: linear-gradient(135deg, rgba(0, 103, 71, 0.05) 0%, rgba(0, 135, 92, 0.05) 100%);
}

/* ========================================
   Search & Highlighting
   ======================================== */
.search-container {
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.verse-container {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 103, 71, 0.02) 0%, rgba(0, 135, 92, 0.02) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.verse-container:hover {
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(0, 103, 71, 0.05) 0%, rgba(0, 135, 92, 0.05) 100%);
}

.verse-number {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Jumbotron / Hero Section
   ======================================== */
.jumbotron {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.jumbotron::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.jumbotron h1,
.jumbotron h2,
.jumbotron h3,
.jumbotron p {
    color: white;
    position: relative;
    z-index: 1;
}

.jumbotron .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-primary { color: var(--primary-color) !important; }
.text-gold { color: var(--gold-color) !important; }
.bg-primary-light { background-color: rgba(0, 103, 71, 0.1) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

/* ========================================
   Scrollbar Styling
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* ========================================
   Loading States
   ======================================== */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 103, 71, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .card-body {
        padding: 1rem;
    }
    
    [dir="rtl"],
    .arabic-text {
        font-size: 1.25rem;
        line-height: 2;
    }
    
    .jumbotron {
        padding: 2rem 1rem;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .no-print,
    button,
    .btn,
    .card-header,
    .navbar {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}

/* ========================================
   Blazor Error Boundary
   ======================================== */
.blazor-error-boundary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    border-radius: var(--radius-lg);
    margin: 1rem;
    box-shadow: var(--shadow-lg);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 1.8rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred. Please refresh the page.";
    font-weight: 600;
}

/* ========================================
   Content Padding
   ======================================== */
.content {
    padding-top: 1.5rem;
    min-height: calc(100vh - 200px);
}

/* ========================================
   Validation Styles
   ======================================== */
.valid.modified:not([type=checkbox]) {
    outline: 2px solid var(--success-color);
    outline-offset: 2px;
}

.invalid {
    outline: 2px solid var(--danger-color);
    outline-offset: 2px;
}

.validation-message {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* ========================================
   Focus States
   ======================================== */
h1:focus {
    outline: none;
}

.form-control:focus,
.form-check-input:focus,
.btn:focus {
    outline: none;
}

/* ========================================
   Dark Theme Support (Optional)
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #1a1a1a;
        --background-white: #2d2d2d;
        --text-primary: #e0e0e0;
        --text-secondary: #b0b0b0;
        --text-muted: #808080;
    }
    
    body {
        background-color: var(--background-light);
        color: var(--text-primary);
    }
    
    .card {
        background: var(--background-white);
        color: var(--text-primary);
    }
    
    .form-control,
    .form-select {
        background: var(--background-white);
        color: var(--text-primary);
        border-color: #404040;
    }
    
    .list-group-item {
        background: var(--background-white);
        color: var(--text-primary);
        border-color: #404040;
    }
}
