@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    background-color: #f8fafc;
    min-height: 100vh;
    color: #334155;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Accessibility & Large Font Scroll Safety for Modals */
.fixed.inset-0 {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* Prevent text clipping and ensure text wrapping on scaled phone fonts */
.glass-card, .glass-panel {
    word-wrap: break-word;
    overflow-wrap: break-word;
}


/* Mesh Gradient Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, hsla(175, 77%, 77%, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(210, 100%, 76%, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(160, 100%, 76%, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(220, 100%, 76%, 0.3) 0px, transparent 50%);
    filter: blur(80px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0d9488, #3b82f6);
    border-radius: 10px;
}

/* Glassmorphism 2.0 */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05), inset 0 2px 4px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.15), inset 0 2px 4px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(13, 148, 136, 0.3);
}

/* Interactive Elements */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.4), inset 0 1px 1px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(13, 148, 136, 0.5), 0 0 20px rgba(13, 148, 136, 0.3);
}

.btn-premium:hover::before {
    left: 100%;
}

/* Quiz Option Hover Effect */
.quiz-option {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: #0d9488;
    background-color: #f0fdfa;
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.1);
}

/* Sidebar Layout adjustments */
.sidebar-layout {
    display: block;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.sidebar {
    display: none !important;
}

/* Collapsed Desktop Sidebar Mode (80px Icon-Only) */
.sidebar.collapsed {
    width: 80px;
}
.sidebar.collapsed .sidebar-text,
.sidebar.collapsed .sidebar-brand-name,
.sidebar.collapsed .sidebar-section-title,
.sidebar.collapsed .sidebar-user-details,
.sidebar.collapsed .sidebar-streak-details {
    display: none !important;
}
.sidebar.collapsed .sidebar-nav-link {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.sidebar.collapsed .sidebar-nav-link i {
    margin: 0 !important;
    font-size: 1.25rem !important;
}
.sidebar.collapsed #sidebarToggleIcon {
    transform: rotate(180deg);
}

.main-content {
    flex-grow: 1;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100dvh;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem; /* Default padding for tablets/desktops */
}

@media (min-width: 1024px) {
    .main-content {
        padding: 2.5rem; /* Generous padding for large screens */
    }
}

@media (max-width: 640px) {
    .main-content {
        padding: 1.25rem !important; /* Generous 20px padding for mobile screens to prevent touching edges */
    }
    .glass-card {
        padding: 1.25rem !important;
        border-radius: 1.25rem !important;
    }
    .glass-panel {
        border-radius: 1.25rem !important;
    }
}

/* Mobile: sidebar is hidden, body scrolls naturally */
@media (max-width: 1023px) {
    .sidebar-layout {
        display: block;
    }
    .main-content {
        min-height: 100dvh;
        overflow-y: unset;
    }
}

/* Medical SVG Pattern Overlay */
.pattern-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

/* ===================== MOBILE SIDEBAR ===================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 30px rgba(0,0,0,0.12);
}
.mobile-drawer.open {
    transform: translateX(0);
}

html[dir="rtl"] .mobile-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
}
html[dir="rtl"] .mobile-drawer.open {
    transform: translateX(0);
}

/* Fade-in animation helper */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Overrides */
body {
    min-height: 100dvh;
    -webkit-overflow-scrolling: touch;
}

.animate-pulse-slow,
.animate-float,
.animate-blob {
    animation: none !important;
}

/* ─────────────────────────────────────────────────────────── */
/* DAILY MEDICAL DROPS  🧰  Animated reward system            */
/* ─────────────────────────────────────────────────────────── */
@keyframes kitBounce {
    0%,100% { transform: translateY(0) scale(1); }
    30%     { transform: translateY(-18px) scale(1.06); }
    60%     { transform: translateY(-8px) scale(1.02); }
    80%     { transform: translateY(-14px) scale(1.04); }
}
@keyframes kitShake {
    0%,100% { transform: rotate(0) scale(1); }
    20%     { transform: rotate(-10deg) scale(1.12); }
    40%     { transform: rotate(10deg) scale(1.16); }
    60%     { transform: rotate(-7deg) scale(1.13); }
    80%     { transform: rotate(7deg) scale(1.11); }
}
@keyframes kitOpen {
    0%   { transform: scale(1) rotate(0); opacity: 1; }
    40%  { transform: scale(1.4) rotate(8deg); opacity: 1; }
    70%  { transform: scale(0.7); opacity: 0.6; }
    100% { transform: scale(0) rotate(25deg); opacity: 0; }
}
@keyframes rewardReveal {
    0%   { transform: scale(0) rotate(-12deg); opacity: 0; }
    65%  { transform: scale(1.18) rotate(3deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes particleBurst {
    0%   { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}
.drop-kit-bounce { animation: kitBounce 1.8s ease-in-out infinite; }
.drop-kit-shake  { animation: kitShake 0.5s ease-in-out; }
.drop-kit-open   { animation: kitOpen 0.45s ease-in-out forwards; }
.drop-reward-reveal { animation: rewardReveal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }

/* ─────────────────────────────────────────────────────────── */
/* AVATAR BORDER STYLES  ✨  Shop cosmetics                   */
/* ─────────────────────────────────────────────────────────── */
@keyframes borderPulseGreen {
    0%,100% { box-shadow: 0 0 0 3px #10b981, 0 0 16px rgba(16,185,129,0.45); }
    50%     { box-shadow: 0 0 0 4px #10b981, 0 0 32px rgba(16,185,129,0.8); }
}
@keyframes borderGlowGold {
    from { box-shadow: 0 0 0 3px #f59e0b, 0 0 18px rgba(245,158,11,0.5); }
    to   { box-shadow: 0 0 0 4px #f59e0b, 0 0 42px rgba(245,158,11,0.95); }
}
@keyframes borderSpinDiamond {
    0%   { box-shadow:  5px -5px 0 3px #8b5cf6, 0 0 28px rgba(139,92,246,0.7); }
    25%  { box-shadow:  5px  5px 0 3px #a78bfa, 0 0 28px rgba(139,92,246,0.7); }
    50%  { box-shadow: -5px  5px 0 3px #7c3aed, 0 0 28px rgba(139,92,246,0.7); }
    75%  { box-shadow: -5px -5px 0 3px #c4b5fd, 0 0 28px rgba(139,92,246,0.7); }
    100% { box-shadow:  5px -5px 0 3px #8b5cf6, 0 0 28px rgba(139,92,246,0.7); }
}
@keyframes borderFireRed {
    0%,100% { box-shadow: 0 0 0 3px #ef4444, 0 0 18px rgba(239,68,68,0.55); }
    50%     { box-shadow: 0 0 0 5px #ef4444, 0 0 36px rgba(239,68,68,0.9); }
}
.avatar-border-blue    { box-shadow: 0 0 0 3px #3b82f6, 0 0 20px rgba(59,130,246,0.5) !important; }
.avatar-border-green   { animation: borderPulseGreen 2s ease-in-out infinite !important; }
.avatar-border-gold    { animation: borderGlowGold 1.5s ease-in-out infinite alternate !important; }
.avatar-border-diamond { animation: borderSpinDiamond 3s linear infinite !important; }
.avatar-border-red     { animation: borderFireRed 1s ease-in-out infinite !important; }

/* ─────────────────────────────────────────────────────────── */
/* XP TIER BORDERS  🏅  Automatic level indicators            */
/* ─────────────────────────────────────────────────────────── */
.xp-border-gray { box-shadow: 0 0 0 3px #94a3b8, 0 0 15px rgba(148,163,184,0.3) !important; }
.xp-border-blue { box-shadow: 0 0 0 3px #3b82f6, 0 0 18px rgba(59,130,246,0.5) !important; }
.xp-border-gold { animation: borderGlowGold 1.5s ease-in-out infinite alternate !important; }
.xp-border-red  { animation: borderFireRed 1s ease-in-out infinite !important; }

/* ─────────────────────────────────────────────────────────── */
/* ROLLING COUNTER  🔢  Smooth number odometer effect         */
/* ─────────────────────────────────────────────────────────── */
.rolling-num {
    display: inline-block;
    transition: all 0.1s;
    font-variant-numeric: tabular-nums;
}

/* ─────────────────────────────────────────────────────────── */
/* CLINICAL DARK MODE 🌙 Professional hospital slate theme    */
/* ─────────────────────────────────────────────────────────── */
.night-shift {
    --ns-bg:       #0f172a; /* Slate 900 */
    --ns-surface:  #1e293b; /* Slate 800 */
    --ns-border:   #334155; /* Slate 700 */
    --ns-text:     #f8fafc; /* Slate 50 */
    --ns-muted:    #94a3b8; /* Slate 400 */
    --ns-accent:   #0ea5e9; /* Sky 500 */
}
.night-shift,
.night-shift body {
    background-color: var(--ns-bg) !important;
    color: var(--ns-text) !important;
}
.night-shift .mesh-bg {
    background-color: var(--ns-bg);
    background-image:
        radial-gradient(at 0% 0%,   hsla(199,89%,18%,0.4) 0px, transparent 50%),
        radial-gradient(at 100% 0%,  hsla(160,84%,15%,0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%,hsla(215,50%,15%,0.5) 0px, transparent 50%),
        radial-gradient(at 0% 100%,  hsla(199,89%,18%,0.4) 0px, transparent 50%);
}
.night-shift .glass-panel,
.night-shift .glass-card {
    background: rgba(30,41,59,0.85) !important;
    border-color: rgba(51,65,85,0.7) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}
.night-shift .sidebar {
    background: rgba(15,23,42,0.95) !important;
    border-color: var(--ns-border) !important;
}
.night-shift .mobile-drawer {
    background: rgba(15,23,42,0.98) !important;
}
.night-shift .bg-white,
.night-shift .bg-slate-50,
.night-shift [class*="bg-white/"],
.night-shift [class*="bg-slate-50"] { background-color: var(--ns-surface) !important; }
.night-shift .bg-slate-100  { background-color: #334155 !important; }
.night-shift .bg-slate-800  { background-color: #0f172a !important; }
.night-shift .text-slate-800,.night-shift .text-slate-700 { color: var(--ns-text) !important; }
.night-shift .text-slate-600,.night-shift .text-slate-500 { color: var(--ns-muted) !important; }
.night-shift .text-slate-400 { color: #64748b !important; }
.night-shift .border-slate-200,.night-shift .border-slate-100 { border-color: var(--ns-border) !important; }
.night-shift .hover\:bg-slate-100:hover { background-color: #334155 !important; }
.night-shift select,
.night-shift input,
.night-shift textarea {
    background-color: #252320 !important;
    border-color: var(--ns-border) !important;
    color: var(--ns-text) !important;
}
.night-shift table thead tr { background-color: #1c1a17 !important; }
.night-shift table tbody tr { border-color: var(--ns-border) !important; }
.night-shift table tbody tr:hover { background-color: #252320 !important; }

.ns-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #0d9488;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13,148,136,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
html[dir="rtl"] .ns-toggle {
    right: auto !important;
    left: 20px !important;
}
.ns-toggle:hover { transform: scale(1.12) rotate(-15deg); }
.night-shift .ns-toggle {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border-color: #fbbf24;
    color: #fff;
    box-shadow: 0 4px 20px rgba(217,119,6,0.5);
}

/* Floating Admin Button override disabled to prevent sidebar overlapping */

/* ─────────────────────────────────────────────────────────── */
/* FOCUS / ZEN MODE  🧘  Only the question matters            */
/* ─────────────────────────────────────────────────────────── */
.focus-mode,
.focus-mode body {
    background-color: #07070d !important;
}
.focus-mode .mesh-bg { opacity: 0 !important; }
.focus-mode #quizHeader {
    background: rgba(7,7,13,0.95) !important;
    border-color: rgba(255,255,255,0.04) !important;
}
.focus-mode .quiz-extras { display: none !important; }
.focus-mode #quizArea .glass-card {
    background: rgba(12,12,22,0.98) !important;
    border-color: rgba(255,255,255,0.04) !important;
    box-shadow: 0 0 60px rgba(99,102,241,0.08) !important;
}
.focus-mode #questionText { color: #f1f5f9 !important; }
.focus-mode #optionsContainer .quiz-option {
    background: rgba(20,20,35,0.9) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #cbd5e1 !important;
}
.focus-mode #optionsContainer .quiz-option:hover {
    background: rgba(30,30,55,0.95) !important;
    border-color: rgba(99,102,241,0.4) !important;
}
.focus-mode #quizArea > div:last-child {
    background: transparent !important;
    border-color: transparent !important;
}

/* Focus mode exit pill */
#focusExitBtn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9995;
    display: none;
    padding: 0.4rem 0.9rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    backdrop-filter: blur(12px);
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}
#focusExitBtn:hover { background: rgba(255,255,255,0.12); color: #e2e8f0; }
.focus-mode #focusExitBtn { display: flex; }

/* ─────────────────────────────────────────────────────────── */
/* ARABIC LOCALIZATION & RTL SUPPORT                           */
/* ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

/* Universal Arabic overrides */
html[dir="rtl"], body.lang-arabic {
    font-family: 'Cairo', 'Inter', sans-serif !important;
}
html[dir="rtl"] .fas, html[dir="rtl"] .fab, html[dir="rtl"] .far, html[dir="rtl"] i {
    font-family: "Font Awesome 6 Free" !important;
}
html[dir="rtl"] .dir-ltr, html[dir="rtl"] #questionText, html[dir="rtl"] .option-text, 
html[dir="rtl"] #battleQuestion, html[dir="rtl"] .battle-opt, html[dir="rtl"] #optionsContainer {
    direction: ltr !important;
    text-align: left !important;
    font-family: 'Inter', sans-serif !important;
}

.lang-toggle {
    position: fixed;
    bottom: 1.5rem;
    left: 5.2rem;
    z-index: 9980;
    padding: 0 16px;
    height: 46px;
    border-radius: 99px;
    background: linear-gradient(135deg, #0d9488, #0284c7);
    border: 2px solid #2dd4bf;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(13,148,136,0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    }
.lang-toggle:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 6px 25px rgba(13,148,136,0.6); }

/* ─────────────────────────────────────────────────────────── */
/* SKELETON LOADING ANIMATIONS                                 */
/* ─────────────────────────────────────────────────────────── */
@keyframes shimmerPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.85; }
}
.skeleton-box, .skeleton-line, .skeleton-circle {
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: shimmerPulse 1.6s ease-in-out infinite, skeletonGleam 2.5s infinite;
}
@keyframes skeletonGleam {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.night-shift .skeleton-box, 
.night-shift .skeleton-line, 
.night-shift .skeleton-circle {
    background: linear-gradient(90deg, #2a2723 0%, #3a3630 50%, #2a2723 100%);
}
.skeleton-box { border-radius: 1rem; }
.skeleton-line { height: 0.875rem; border-radius: 0.5rem; margin-bottom: 0.625rem; }
.skeleton-circle { border-radius: 9999px; }

/* Tier Avatar Borders (Profile & Shop) */
.tier-border-bronze {
    border-color: #b45309 !important; /* amber-700 */
    box-shadow: 0 0 10px rgba(180, 83, 9, 0.4) !important;
}
.tier-border-silver {
    border-color: #94a3b8 !important; /* slate-400 */
    box-shadow: 0 0 16px rgba(100, 116, 139, 0.5) !important;
}
.tier-border-gold {
    border-color: #fbbf24 !important; /* amber-400 */
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6) !important;
}
.tier-border-platinum {
    border-color: #22d3ee !important; /* cyan-400 */
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6) !important;
}
.tier-border-diamond {
    border-color: #a78bfa !important; /* violet-400 */
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.7) !important;
}

/* ─────────────────────────────────────────────────────────── */
/* MOBILE DRAWER & OVERLAY STYLES                              */
/* ─────────────────────────────────────────────────────────── */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}
[dir="rtl"] .mobile-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
}
.mobile-drawer.active {
    transform: translateX(0) !important;
}
.night-shift .mobile-drawer {
    background: #1e1b18;
    color: #f3f0ec;
}

/* Night Shift Global Overrides for Welcome Onboarding Modal & Search Page */
.night-shift body {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
}

.night-shift .glass-card, 
.night-shift .glass-panel,
.night-shift nav.sticky {
    background: rgba(30, 27, 24, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f3f0ec !important;
}

.night-shift #welcomeOnboardingModal .bg-white {
    background-color: #1e1b18 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f3f0ec !important;
}

.night-shift #welcomeOnboardingModal .bg-slate-50 {
    background-color: #2a2723 !important;
    border-color: #3a3630 !important;
}

.night-shift #welcomeOnboardingModal .text-slate-800,
.night-shift #welcomeOnboardingModal h2,
.night-shift #welcomeOnboardingModal h3,
.night-shift #welcomeOnboardingModal h4 {
    color: #f3f0ec !important;
}

.night-shift #welcomeOnboardingModal .text-slate-600,
.night-shift #welcomeOnboardingModal .text-slate-500,
.night-shift #welcomeOnboardingModal p {
    color: #cbd5e1 !important;
}

/* Search Page Night Shift */
.night-shift #searchInput {
    background-color: #2a2723 !important;
    color: #ffffff !important;
    border-color: #3a3630 !important;
}

.night-shift .scope-btn {
    color: #cbd5e1 !important;
}

.night-shift .scope-btn.active {
    background-color: #0d9488 !important;
    color: #ffffff !important;
}

.night-shift #aiStatusCard {
    background-color: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.night-shift h1, .night-shift h2, .night-shift h3, .night-shift h4 {
    color: #f8fafc !important;
}

.night-shift .text-slate-800, .night-shift .text-slate-700 {
    color: #f1f5f9 !important;
}

.night-shift .text-slate-600, .night-shift .text-slate-500 {
    color: #cbd5e1 !important;
}

.night-shift .bg-slate-100 {
    background-color: #2a2723 !important;
    color: #f3f0ec !important;
}