/* ============================================================
 * Header Master Styling & Modal Design System
 * Extracted from header.php for 100% CDN & Browser Caching
 * ============================================================ */

.swal2-container { z-index: 1000000 !important; }

/* Force Horizontal on Desktop */
@media (min-width: 769px) {
    .top-bar-content {
        display: flex !important;
        flex-direction: row !important;
        gap: 1.5rem !important;
    }
    .main-nav {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .feature-cards {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        flex-wrap: wrap !important;
        margin-top: 20px !important;
    }
    .feature-card {
        width: 250px !important;
        height: 250px !important;
        padding: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* LUXURY NAVIGATION DESIGN SYSTEM */
:root {
    --nav-glass: rgba(255, 255, 255, 0.85);
    --ocean-deep: var(--primary-color, #1B1F7A);
    --ocean-light: var(--vn-indigo-light, #2563eb);
    --accent-gold: var(--secondary-color, #C0392B);
}

.top-bar-luxury,
.slim-top-bar {
    background: linear-gradient(90deg, #111559 0%, var(--ocean-deep, #1B1F7A) 40%, #1e40af 100%);
    padding: 3px 0;
    min-height: 34px;
    color: white;
    font-size: 0.74rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
}

.top-bar-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Help Capsule & Micro Helpline */
.help-capsule,
.helpline-micro {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.72rem;
}

.help-capsule i,
.helpline-micro i {
    color: #38bdf8;
    font-size: 0.75rem;
}

.help-capsule a,
.helpline-micro a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
}

/* Social Mini Group & Micro WhatsApp */
.social-mini-group {
    display: flex;
    gap: 8px;
}

.social-pill,
.wa-micro-pill {
    width: 22px;
    height: 22px;
    background: rgba(37, 211, 102, 0.18);
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
    text-decoration: none;
    font-size: 0.72rem;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-pill:hover,
.wa-micro-pill:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: scale(1.12);
}

/* Smart Segmented Language Switch */
.smart-lang-switch,
.lang-toggle-capsule {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-btn,
.lang-opt {
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.lang-btn:hover,
.lang-opt:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active,
.lang-opt.active {
    background: linear-gradient(135deg, #ff6b35 0%, #d83a00 100%);
    color: #ffffff !important;
    box-shadow: 0 1px 5px rgba(255, 107, 53, 0.45);
    font-weight: 800;
}

/* Auth Smart Action Buttons */
.auth-group-glass,
.top-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-btn,
.auth-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    font-size: 0.71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.top-btn-reg,
.auth-btn-glass.reg {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.35);
}

.top-btn-reg:hover,
.auth-btn-glass.reg:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.45);
}

.top-btn-login,
.auth-btn-glass.log {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.top-btn-login:hover,
.auth-btn-glass.log:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* User Status Pill */
.user-status-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.72rem;
}

.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-dot.online { background: #4CAF50; box-shadow: 0 0 8px #4CAF50; }
.logout-btn-mini { color: white; opacity: 0.8; text-decoration: none; font-weight: 700; font-size: 0.68rem; transition: 0.2s; }
.logout-btn-mini:hover { opacity: 1; color: #ff4d4d; }

/* GLASS NAV ADAPTATION */
header.liquid-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 9990 !important;
    border-bottom: 1px solid rgba(186, 230, 253, 0.8);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.10);
}

header.liquid-header.scrolled,
header.liquid-header.is-sticky,
header.shrunk {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9990 !important;
    padding: 2px 0;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2) !important;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.12) !important;
}

/* Modals */
.modal,
#registerModal,
#loginModal,
#forgotPasswordModal,
.glass-modal,
.qv-overlay {
    z-index: 100000 !important;
}

.modal-content,
.glass-modal-content,
.qv-modal-glass {
    z-index: 100001 !important;
    position: relative !important;
}

.modal-close,
.close-glass,
.qv-close {
    z-index: 100002 !important;
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 2rem !important;
    cursor: pointer !important;
}

.main-nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .vn-nav-links {
        gap: 0.9rem !important;
    }
    .vn-nav-links a {
        font-size: 0.74rem !important;
        padding: 5px 7px !important;
    }
}

/* Modal Window Layout - Zero-Scroll Ultra-Clean Fit */
.modal {
    display: none;
    position: fixed;
    z-index: 100000 !important;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(11, 15, 25, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    animation: modalBackdropFade 0.25s ease;
}

@keyframes modalBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 430px;
    max-height: calc(100vh - 40px);
    margin: auto;
    padding: 0;
    box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    position: relative;
    animation: modalPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
}

#registerModal .modal-content {
    max-width: 520px;
}

@keyframes modalPopIn {
    from { transform: scale(0.94) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
    background: #f1f5f9;
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

/* Modal Form, Input Fields, Grid & Submit Button */
.modal-header {
    background: transparent !important;
    padding: 1.25rem 1.4rem 0.4rem 1.4rem;
    text-align: center;
    border-bottom: none;
}

.modal-logo {
    max-width: 44px !important;
    height: auto !important;
    margin-bottom: 0.35rem !important;
    display: inline-block;
}

.modal-header h2 {
    margin: 0 0 0.2rem 0;
    font-size: 1.25rem;
    color: #0f172a !important;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.modal-header p {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b !important;
    font-weight: 600;
}

.modal-social-row {
    padding: 0 1.4rem;
    margin-top: 0.75rem;
}

.modal-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.modal-social-btn {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.modal-social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.modal-social-btn.otp-btn {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(236, 253, 245, 0.7);
    color: #047857;
}
.modal-social-btn.otp-btn:hover {
    background: #ecfdf5;
    border-color: #10b981;
}

.modal-divider {
    display: flex;
    align-items: center;
    margin: 0.75rem 0 0.5rem 0;
    color: #94a3b8;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.modal-divider span {
    padding: 0 8px;
}

.modal-form {
    padding: 0.5rem 1.4rem 1.25rem 1.4rem;
}

.modal-form .form-row {
    margin-bottom: 0.65rem;
    position: relative;
}

.modal-form .form-row-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 0.65rem;
    align-items: start;
}

.modal-form .form-row-split .form-row {
    margin-bottom: 0;
}

.modal-form label {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: #334155;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-form input,
.modal-form select {
    width: 100%;
    height: 36px;
    padding: 0.45rem 0.75rem;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9px;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    color: #0f172a !important;
    font-family: inherit;
    font-weight: 600;
    box-sizing: border-box;
    outline: none;
    line-height: normal;
}

.modal-form input:focus,
.modal-form select:focus {
    outline: none;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    border-color: #2563eb !important;
}

.modal-submit-btn {
    display: block !important;
    width: 100% !important;
    padding: 0.7rem !important;
    background: linear-gradient(135deg, #1B1F7A 0%, #2563eb 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 14px rgba(27, 31, 122, 0.25) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
}

.modal-submit-btn.reg-theme {
    background: linear-gradient(135deg, #ff6b35 0%, #e02424 100%) !important;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3) !important;
}
.modal-submit-btn.reg-theme:hover {
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.45) !important;
}

.error-message {
    display: block;
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .modal-form .form-row-split {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
}

/* ==========================================================================
   Language Choice Modal Styles
   ========================================================================== */
.lang-choice-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.lang-choice-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: modalScaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScaleUp {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lang-choice-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1b1f7a;
    font-weight: 700;
}

.lang-translation-sub {
    font-family: 'Noto Sans Tamil', sans-serif;
    color: #475569;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.lang-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 1.5rem;
}

.lang-option-card {
    background: white;
    border: 2px solid #edf2f7;
    padding: 1.5rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.lang-option-card:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.lang-option-card i {
    font-size: 2rem;
    color: #1b1f7a;
}

.lang-name-en {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3748;
}

.lang-name-ta {
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 1rem;
    color: #4a5568;
}

.lang-option-card.en:hover i { color: #283593; }
.lang-option-card.ta:hover i { color: #ff6b35; }

.lang-modal-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================================
   DARK MODE SWEETALERT2 & MODAL DIALOGS (Message Boxes)
   Applies only in Dark Mode — Day Mode theme remains untouched
   ============================================================= */
html.dark-mode .swal2-container,
body.dark-mode .swal2-container,
.dark-theme .swal2-container,
[data-theme="dark"] .swal2-container {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

html.dark-mode .swal2-popup,
body.dark-mode .swal2-popup,
.dark-theme .swal2-popup,
[data-theme="dark"] .swal2-popup {
    background-color: #1e293b !important;
    background: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

html.dark-mode .swal2-title,
body.dark-mode .swal2-title,
.dark-theme .swal2-title,
[data-theme="dark"] .swal2-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

html.dark-mode .swal2-html-container,
html.dark-mode .swal2-content,
body.dark-mode .swal2-html-container,
body.dark-mode .swal2-content,
.dark-theme .swal2-html-container,
.dark-theme .swal2-content,
[data-theme="dark"] .swal2-html-container,
[data-theme="dark"] .swal2-content {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
}

html.dark-mode .swal2-close,
body.dark-mode .swal2-close,
.dark-theme .swal2-close,
[data-theme="dark"] .swal2-close {
    color: #94a3b8 !important;
}

html.dark-mode .swal2-close:hover,
body.dark-mode .swal2-close:hover,
.dark-theme .swal2-close:hover,
[data-theme="dark"] .swal2-close:hover {
    color: #ffffff !important;
}

html.dark-mode .swal2-input,
html.dark-mode .swal2-textarea,
html.dark-mode .swal2-select,
body.dark-mode .swal2-input,
body.dark-mode .swal2-textarea,
body.dark-mode .swal2-select,
.dark-theme .swal2-input,
.dark-theme .swal2-textarea,
.dark-theme .swal2-select,
[data-theme="dark"] .swal2-input,
[data-theme="dark"] .swal2-textarea,
[data-theme="dark"] .swal2-select {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}

html.dark-mode .swal2-validation-message,
body.dark-mode .swal2-validation-message,
.dark-theme .swal2-validation-message,
[data-theme="dark"] .swal2-validation-message {
    background-color: #334155 !important;
    color: #f87171 !important;
}

html.dark-mode .swal2-footer,
body.dark-mode .swal2-footer,
.dark-theme .swal2-footer,
[data-theme="dark"] .swal2-footer {
    border-top-color: #334155 !important;
    color: #94a3b8 !important;
}

/* SweetAlert Icons in Dark Mode */
html.dark-mode .swal2-icon.swal2-success,
body.dark-mode .swal2-icon.swal2-success,
[data-theme="dark"] .swal2-icon.swal2-success {
    border-color: #10b981 !important;
    color: #10b981 !important;
}
html.dark-mode .swal2-icon.swal2-success [class^='swal2-success-line'],
body.dark-mode .swal2-icon.swal2-success [class^='swal2-success-line'],
[data-theme="dark"] .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #10b981 !important;
}
html.dark-mode .swal2-icon.swal2-success .swal2-success-ring,
body.dark-mode .swal2-icon.swal2-success .swal2-success-ring,
[data-theme="dark"] .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.3) !important;
}
html.dark-mode .swal2-icon.swal2-success .swal2-success-fix,
body.dark-mode .swal2-icon.swal2-success .swal2-success-fix,
[data-theme="dark"] .swal2-icon.swal2-success .swal2-success-fix,
html.dark-mode .swal2-icon.swal2-success .swal2-success-circular-line-left,
body.dark-mode .swal2-icon.swal2-success .swal2-success-circular-line-left,
[data-theme="dark"] .swal2-icon.swal2-success .swal2-success-circular-line-left,
html.dark-mode .swal2-icon.swal2-success .swal2-success-circular-line-right,
body.dark-mode .swal2-icon.swal2-success .swal2-success-circular-line-right,
[data-theme="dark"] .swal2-icon.swal2-success .swal2-success-circular-line-right {
    background-color: #1e293b !important;
}

html.dark-mode .swal2-icon.swal2-warning,
body.dark-mode .swal2-icon.swal2-warning,
[data-theme="dark"] .swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

html.dark-mode .swal2-icon.swal2-error,
body.dark-mode .swal2-icon.swal2-error,
[data-theme="dark"] .swal2-icon.swal2-error {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}
html.dark-mode .swal2-icon.swal2-error [class^='swal2-x-mark-line'],
body.dark-mode .swal2-icon.swal2-error [class^='swal2-x-mark-line'],
[data-theme="dark"] .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #ef4444 !important;
}

html.dark-mode .swal2-icon.swal2-info,
body.dark-mode .swal2-icon.swal2-info,
[data-theme="dark"] .swal2-icon.swal2-info {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

html.dark-mode .swal2-icon.swal2-question,
body.dark-mode .swal2-icon.swal2-question,
[data-theme="dark"] .swal2-icon.swal2-question {
    border-color: #8b5cf6 !important;
    color: #8b5cf6 !important;
}

/* Bootstrap & Generic Modals in Dark Mode */
html.dark-mode .modal-content,
body.dark-mode .modal-content,
.dark-theme .modal-content,
[data-theme="dark"] .modal-content,
html.dark-mode .modal-dialog .modal-content,
body.dark-mode .modal-dialog .modal-content {
    background-color: #1e293b !important;
    background: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

html.dark-mode .modal-header,
body.dark-mode .modal-header,
.dark-theme .modal-header,
[data-theme="dark"] .modal-header {
    background-color: #1e293b !important;
    border-bottom: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-mode .modal-title,
body.dark-mode .modal-title,
.dark-theme .modal-title,
[data-theme="dark"] .modal-title {
    color: #ffffff !important;
}

html.dark-mode .modal-body,
body.dark-mode .modal-body,
.dark-theme .modal-body,
[data-theme="dark"] .modal-body {
    background-color: #1e293b !important;
    color: #cbd5e1 !important;
}

html.dark-mode .modal-footer,
body.dark-mode .modal-footer,
.dark-theme .modal-footer,
[data-theme="dark"] .modal-footer {
    background-color: #1e293b !important;
    border-top: 1px solid #334155 !important;
}

html.dark-mode .modal-header .btn-close,
html.dark-mode .modal-header .close,
body.dark-mode .modal-header .btn-close,
body.dark-mode .modal-header .close,
[data-theme="dark"] .modal-header .btn-close,
[data-theme="dark"] .modal-header .close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
