/* ========================================================================
   FILE 1: CORE.CSS (Premium Yashil Mavzu, Header, Sidebar, Grid)
   ======================================================================== */

/* ==========================================================================
   1. O'ZGARUVCHILAR (YANGI YASHIL MAVZU)
   ========================================================================== */
:root {
    --bg-body: #0f1014; --bg-sidebar: #16171b; --bg-header: rgba(22, 23, 27, 0.98);
    --bg-card: #1f2125; --bg-input: #2a2c31; --bg-dropdown: #1f2125; --bg-hover: #2f3238;
    --text-main: #ffffff; --text-muted: #9ca3af;
    --accent: #00e676; --accent-hover: #00c853; --accent-glow: rgba(0, 230, 118, 0.4); --danger: #ff3366; 
    --border: rgba(255,255,255,0.05);
    --shadow: 0 10px 40px rgba(0,0,0,0.6); --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
    --sidebar-width: 280px; --header-height: 80px; --radius: 12px;
    --gradient: linear-gradient(45deg, #00c853 0%, #00e676 50%, #69f0ae 100%);
}
body.light-mode {
    --bg-body: #f3f4f6; --bg-sidebar: #ffffff; --bg-header: rgba(255, 255, 255, 0.98);
    --bg-card: #ffffff; --bg-input: #e5e7eb; --bg-dropdown: #ffffff; --bg-hover: #f9fafb;
    --text-main: #111827; --text-muted: #6b7280; --border: #e5e7eb;
    --accent: #00b050; --accent-hover: #008f3e;
    --shadow: 0 10px 40px rgba(0,0,0,0.1); --shadow-card: 0 4px 20px rgba(0,0,0,0.05);
}

/* ==========================================================================
   2. GLOBAL RESET
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-body); color: var(--text-main); font-size: 15px; line-height: 1.5; overflow-x: hidden; transition: background-color 0.3s ease, color 0.3s ease; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--bg-input); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ==========================================================================
   3. LAYOUT STRUCTURE (ASOSIY UCHTA QISM)
   ========================================================================== */
.app { display: flex; min-height: 100vh; position: relative; width: 100%; }

/* 3.1 SIDEBAR */
.sidebar { 
    width: var(--sidebar-width); 
    background-color: var(--bg-sidebar); 
    border-right: 1px solid var(--border); 
    height: 100vh; 
    position: fixed; 
    left: 0; 
    top: 0; 
    bottom: 0;
    z-index: 1000;
    display: flex; 
    flex-direction: column; 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 5px 0 30px rgba(0,0,0,0.2); 
}
.sidebar__logo { height: var(--header-height); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.sidebar__logo img { height: 40px; width: auto; }
.sidebar__menu { flex: 1; padding: 20px; overflow-y: auto; }
.nav-link { display: flex; align-items: center; padding: 14px 18px; color: var(--text-muted); font-weight: 500; border-radius: var(--radius); margin-bottom: 8px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.nav-link i { width: 24px; font-size: 18px; margin-right: 14px; text-align: center; transition: color 0.3s ease; }
.nav-link:hover { background-color: var(--bg-input); color: var(--text-main); transform: translateX(5px); }

/* Chaqnovchi maxsus menyu (Doramalar va hk) */
.nav-link.special-link { color: #fff !important; animation: flashFly 1.5s infinite alternate; }
@keyframes flashFly { 0% { text-shadow: 0 0 5px #fff, 0 0 10px var(--accent); transform: translateX(0); } 100% { text-shadow: 0 0 15px #fff, 0 0 25px var(--accent); transform: translateX(5px); } }

/* SIDEBAR DROPDOWN MENYULARI */
.menu-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 15px 20px; }
.nav-dropdown { margin-bottom: 5px; }
.nav-dropdown-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: transparent; border: none; color: var(--text-muted); font-weight: 500; cursor: pointer; border-radius: var(--radius); transition: 0.3s; font-family: inherit; font-size: 15px; }
.nav-dropdown-btn:hover { background: var(--bg-input); color: var(--text-main, #fff); }
.nav-dropdown-btn .arrow { font-size: 12px; transition: transform 0.3s ease; }

.nav-dropdown-content { max-height: 0 !important; overflow: hidden !important; visibility: hidden !important; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; opacity: 0 !important; background: rgba(0,0,0,0.15); border-radius: var(--radius); margin: 0 10px; }
.nav-dropdown-content a { display: block; padding: 10px 40px; font-size: 13px; color: var(--text-muted); transition: 0.2s; text-decoration: none;}
.nav-dropdown-content a:hover { color: var(--accent); padding-left: 45px; background: rgba(255,255,255,0.02); }

.nav-dropdown.active .nav-dropdown-content { max-height: 1000px !important; visibility: visible !important; opacity: 1 !important; padding: 10px 0 !important; }
.nav-dropdown.active .arrow { transform: rotate(180deg) !important; color: var(--accent) !important; }
.nav-dropdown.active .nav-dropdown-btn { color: var(--accent) !important; background: rgba(255, 255, 255, 0.03) !important; }

/* SIDEBAR AKTIV (YONIB TURUVCHI) LINKLAR */
.sidebar__menu a.active, .sidebar__menu .nav-link.active { background: rgba(0, 230, 118, 0.15) !important; color: var(--accent) !important; border-right: 3px solid var(--accent) !important; box-shadow: inset 5px 0 15px rgba(0, 230, 118, 0.05); }
.sidebar__menu a.active i, .sidebar__menu .nav-link.active i { color: var(--accent) !important; }
.nav-dropdown-content a.active { color: var(--accent) !important; background: rgba(255, 255, 255, 0.05) !important; padding-left: 45px !important; border-right: 3px solid var(--accent) !important; font-weight: 700 !important; }

/* --- PWA O'RNATISH TUGMASINI PREMIUM QILISH --- */
#installAppBtn {
    background: rgba(0, 230, 118, 0.08) !important; /* Shaffof yashil fon */
    color: var(--accent) !important; /* Yashil yozuv */
    border: 1px solid rgba(0, 230, 118, 0.2) !important; /* Nozik yashil chegara */
    box-shadow: none !important;
    border-radius: 12px !important;
    padding: 14px !important;
    font-weight: 600 !important;
    transition: 0.3s ease !important;
}
#installAppBtn:hover {
    background: var(--accent) !important; /* Hoverda to'liq yashil bo'ladi */
    color: #000 !important;
    box-shadow: 0 10px 25px var(--accent-glow) !important;
    transform: translateY(-2px);
}


/* 3.2 MAIN AREA */
.main { 
    flex: 1; 
    margin-left: var(--sidebar-width) !important; 
    width: calc(100% - var(--sidebar-width)) !important; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    position: relative;
    z-index: 10; 
}
.content { 
    padding: 40px; 
    flex: 1; 
    width: 100%; 
    box-sizing: border-box; 
}
.content-padding-top { padding-top: 30px !important; } /* Ortiqcha yopishib qolmasligi uchun */

.footer { background-color: var(--bg-card); border-top: 1px solid var(--border); padding: 40px; text-align: center; margin-top: auto; }
.footer p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.footer a { color: var(--text-main); font-weight: 600; margin: 0 10px; }
.footer a:hover { color: var(--accent); }

.section-title { font-size: 22px; font-weight: 700; margin-bottom: 25px; color: var(--text-main); display: flex; align-items: center; gap: 10px; padding: 0 5px; }
.section-title::before { content: ''; display: block; width: 4px; height: 24px; background-color: var(--accent); border-radius: 2px; }

#dle-content, .movie-grid-list, .section-block #dle-content { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; gap: 20px !important; width: 100% !important; flex-wrap: wrap !important; overflow-x: hidden !important; }


/* ==========================================================================
   4. PREMIUM CSS LOGO (PULSE bilan)
   ========================================================================== */
.premium-css-logo { display: flex; align-items: flex-end; justify-content: center; gap: 2px; text-decoration: none; padding: 10px 5px 8px 5px; position: relative; outline: none; }
.premium-css-logo::after { content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 2px; border-radius: 5px; background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%); box-shadow: 0 2px 10px var(--accent); transition: 0.4s ease; opacity: 0.8; }
.premium-css-logo:hover::after { left: 0; width: 100%; background: linear-gradient(90deg, var(--accent) 0%, #fff 50%, var(--accent) 100%); box-shadow: 0 0 15px var(--accent), 0 0 25px var(--accent); opacity: 1; }

@keyframes playPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.logo-circle { width: 28px; height: 28px; border-radius: 50%; background: transparent; border: 4px solid var(--accent); display: flex; align-items: center; justify-content: center; position: relative; margin-right: 4px; margin-bottom: 1px; transform: translateY(1px); animation: playPulse 2s infinite; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.logo-play { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 9px solid #fff; margin-left: 2px; transition: 0.3s ease; }
.premium-css-logo:hover .logo-circle { transform: translateY(1px) scale(1.1); background: var(--accent); animation: none; box-shadow: 0 0 20px var(--accent); }
.premium-css-logo:hover .logo-play { border-left-color: var(--bg-sidebar); }

.logo-text { display: flex; align-items: baseline; line-height: 1; }
.t-ne { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 26px; color: var(--text-main, #fff); letter-spacing: -0.5px; }
.t-tv { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 26px; color: var(--accent); letter-spacing: -0.5px; }

.header__mobile-logo { display: none; }


/* ==========================================================================
   5. HEADER (DESKTOP)
   ========================================================================== */
.header { 
    height: auto; 
    min-height: var(--header-height); 
    background-color: var(--bg-header); 
    border-bottom: 1px solid var(--border); 
    display: flex; 
    align-items: center;
    justify-content: space-between; 
    padding: 0 40px; 
    position: relative; /* Scroll bilan o'tadi, qotmaydi */
    width: 100%;
    box-sizing: border-box;
    z-index: 900; 
    flex-wrap: wrap; 
    gap: 15px; 
}

.header__left { display: flex; align-items: center; gap: 20px; order: 1; }
.header__search { flex: 1; max-width: 600px; margin: 0 20px; position: relative; order: 2; z-index: 992; }
.header__actions { display: flex; align-items: center; gap: 15px; order: 3; position: relative; z-index: 995; }

.btn-icon { width: 44px; height: 44px; border-radius: 50%; background-color: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--text-main); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; position: relative; z-index: 996; pointer-events: auto !important;}
.btn-icon:hover { background-color: var(--accent); color: #000; box-shadow: 0 5px 15px var(--accent-glow); border-color: var(--accent); }
.login-wrapper { position: relative; z-index: 999; pointer-events: auto !important; }

/* QIDIRUV (SEARCH) QISMINI PREMIUM QILISH */
.search-form { position: relative; display: flex; align-items: center; width: 100%; }
.search-icon { position: absolute; left: 20px; color: var(--text-muted); font-size: 15px; }

.search-form input[type="search"] { 
    width: 100%; 
    padding: 16px 120px 16px 50px; 
    background-color: rgba(255, 255, 255, 0.03); /* Shaffof qora/kulrang */
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 50px; 
    color: var(--text-main, #fff); 
    font-size: 15px; 
    transition: 0.3s; 
    outline: none; 
}
.search-form input[type="search"]:focus { 
    background-color: rgba(0,0,0,0.2); 
    border-color: var(--accent); 
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.15); 
}

/* Qidirish tugmasi xunuk oq rangda emas, Dark-Green uslubida */
.search-submit-btn { 
    position: absolute; 
    right: 8px; top: 8px; bottom: 8px; 
    background-color: #1a1b1f; /* To'q fon */
    color: var(--accent); /* Yashil yozuv */
    border: 1px solid rgba(0, 230, 118, 0.2); 
    border-radius: 40px; 
    padding: 0 25px; 
    font-weight: 700; 
    font-size: 13px; 
    cursor: pointer; 
    transition: 0.3s ease; 
    pointer-events: auto !important;
}
.search-submit-btn:hover { 
    background-color: var(--accent); 
    color: #000; 
    box-shadow: 0 5px 15px var(--accent-glow); 
}


/* ==========================================================================
   6. DLE LIVE SEARCH (AJAX)
   ========================================================================== */
#searchsuggestions { background: var(--bg-card) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; box-shadow: 0 15px 40px rgba(0,0,0,0.8) !important; z-index: 100000 !important; padding: 0 !important; overflow: hidden !important; margin-top: 10px !important; max-width: 500px !important; width: 100% !important; }
#searchsuggestions:empty { display: none !important; }
#searchsuggestions .searchheading, #searchsuggestions span.searchheading { display: none !important; }
#searchsuggestions a.fs-item-wrapper { display: flex !important; flex-direction: row !important; align-items: center !important; padding: 10px 15px !important; text-decoration: none !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; transition: 0.2s ease !important; gap: 15px !important; width: 100% !important; box-sizing: border-box !important; cursor: pointer !important; pointer-events: auto !important; }
#searchsuggestions a.fs-item-wrapper:last-of-type { border-bottom: none !important; }
#searchsuggestions a.fs-item-wrapper:hover { background: rgba(255,255,255,0.05) !important; }
.fs-poster { width: 40px !important; height: 56px !important; border-radius: 6px !important; overflow: hidden !important; flex-shrink: 0 !important; background: #000 !important; }
.fs-poster img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important;}
.fs-info { display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 5px !important; flex: 1 !important; overflow: hidden !important; }
.fs-title { color: var(--text-main, #fff) !important; font-size: 14px !important; font-weight: 700 !important; margin: 0 !important; line-height: 1.2 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.fs-meta { color: var(--text-muted) !important; font-size: 12px !important; display: flex !important; align-items: center !important; gap: 6px !important; font-weight: 500 !important; margin: 0 !important; padding: 0 !important; }
.fs-meta i { font-size: 11px !important; color: var(--accent) !important; }
#searchsuggestions .break { display: none !important; }
#searchsuggestions span.searchword { display: block !important; margin: 0 !important; background: transparent !important; border-top: 1px solid rgba(255,255,255,0.05) !important; }
#searchsuggestions span.searchword a { display: block !important; text-align: center !important; padding: 12px !important; font-size: 13px !important; font-weight: 600 !important; color: var(--text-main, #fff) !important; background: rgba(0, 230, 118, 0.15) !important; margin: 0 !important; transition: 0.2s !important; text-decoration: none !important; }
#searchsuggestions span.searchword a:hover { background: var(--accent) !important; color: #000 !important; }


/* ==========================================================================
   7. RESPONSIVE DESIGN (MOBILE MOSLASHUVI)
   ========================================================================== */
.menu-toggle { display: none; font-size: 24px; color: var(--text-main); background: none; border: none; cursor: pointer; position: relative; z-index: 1001; pointer-events: auto !important;}
.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 999; backdrop-filter: blur(5px); }
.overlay.active { display: block; opacity: 1; }

@media (max-width: 992px) {
    .sidebar { position: fixed !important; top: 0 !important; bottom: 0 !important; left: -280px !important; width: 280px !important; height: 100% !important; z-index: 1005 !important; background-color: var(--bg-sidebar) !important; box-shadow: none; }
    .sidebar.active { transform: translateX(280px) !important; box-shadow: 10px 0 50px rgba(0,0,0,0.8) !important; }
    .sidebar__menu { overflow-y: auto !important; flex: 1 !important; overscroll-behavior: contain !important; }
    .main { margin-left: 0 !important; width: 100% !important; }
    
    .header { 
        padding: 15px 20px 20px 20px !important; /* Sal kengroq joy berildi */
        flex-wrap: wrap !important; 
        justify-content: space-between !important; 
        align-items: center !important; 
    }
    
    .header__left { order: 1; flex: 0 0 auto; }
    .menu-toggle { display: block; }
    
    .header__mobile-logo { display: flex; order: 2; flex: 1; justify-content: center; align-items: center; }
    .header__mobile-logo .premium-css-logo { transform: scale(0.9); transform-origin: center; margin: 0; }
    .sidebar__logo { display: none; } 
    
    .header__actions { order: 3; flex: 0 0 auto; gap: 10px; }
    
    .header__search { 
        order: 4; 
        flex: 0 0 100% !important; 
        max-width: 100% !important; 
        margin: 20px 0 0 0 !important; /* Tepadan masofa ochdik */
    }
    
    /* Mobil formatda qizil chiziq (siqilish) muammosi hal qilindi */
    .content { padding: 30px 20px 40px 20px !important; }
    .content-padding-top { padding-top: 30px !important; } 
}

@media (max-width: 768px) {
    #dle-content, .movie-grid-list, .section-block #dle-content { grid-template-columns: repeat(3, 1fr) !important; gap: 15px !important; display: grid !important; }
    .movie-card { flex: none !important; width: 100% !important; max-width: 100% !important; scroll-snap-align: none !important; }
}

@media (max-width: 480px) {
    .header { padding: 15px !important; }
    .header__mobile-logo .premium-css-logo { transform: scale(0.85); }
    .btn-icon { width: 38px; height: 38px; font-size: 14px; }
    .login-wrapper button b { display: none; }
    
    .search-form input[type="search"] { padding: 14px 100px 14px 45px; font-size: 14px;}
    .search-submit-btn { padding: 0 15px; font-size: 12px; right: 5px; top: 5px; bottom: 5px;}
    
    #dle-content, .movie-grid-list, .section-block #dle-content { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}

@media (min-width: 1920px) { 
    .sidebar { width: 320px; } 
    .main { margin-left: 320px !important; width: calc(100% - 320px) !important; }
    .nav-link { font-size: 17px; padding: 16px 22px; } 
}

#bottom-nav, .modern-pagination { grid-column: 1 / -1 !important; width: 100% !important; order: 999 !important; display: flex !important; flex-direction: column; align-items: center; margin-top: 30px !important; }

/* ==========================================================================
   8. LAYK / DIZLAYK TIZIMI RANGLARI
   ========================================================================== */
.rate-btn.voted-like {
    color: #fff !important;
    background-color: #2a5298 !important; 
    border-color: #2a5298 !important;
}
.rate-btn.voted-dislike {
    color: #fff !important;
    background-color: #dc3545 !important; 
    border-color: #dc3545 !important;
}
.rate-btn { transition: all 0.3s ease; }
/* ==========================================
   TELEGRAM FLOATING (LIVE) BUTTON
   ========================================== */
.floating-telegram {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(42, 171, 238, 0.4);
    z-index: 99999;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: tg-pulse 2s infinite;
}

.floating-telegram i {
    margin-right: 2px;
    margin-top: 2px;
}

.floating-telegram:hover {
    transform: scale(1.1);
}

@keyframes tg-pulse {
    0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(42, 171, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

/* Mobil qurilmalar uchun moslashuv - Sal chaproqqa surildi */
@media (max-width: 768px) {
    .floating-telegram {
        width: 55px;
        height: 55px;
        font-size: 32px;
        bottom: 25px;
        right: 40px; /* Aynan shu qism tugmani xavfsiz zonaga tortadi */
    }
}

/* ==========================================================================
   LIGHT MODE OVERRIDES (core.css)
   ========================================================================== */
body.light-mode { color-scheme: light; }

/* Logo — Light modeda qora rang */
body.light-mode .t-ne { color: #111827; }
body.light-mode .t-tv { color: var(--accent); }
body.light-mode .logo-play { border-left-color: #111827; }
body.light-mode .premium-css-logo:hover .logo-play { border-left-color: #fff; }
body.light-mode .istoriyimg { border-color: #fff !important; }

/* Sidebar */
body.light-mode .sidebar { box-shadow: 2px 0 15px rgba(0,0,0,0.08); }
body.light-mode .nav-link { color: #4b5563; }
body.light-mode .nav-link:hover { background-color: #f3f4f6; color: #111827; }
body.light-mode .nav-link.special-link { color: #111827 !important; }
body.light-mode .nav-dropdown-btn { color: #4b5563; }
body.light-mode .nav-dropdown-btn:hover { background: #f3f4f6; color: #111827; }
body.light-mode .nav-dropdown-content { background: rgba(0,0,0,0.03); }
body.light-mode .nav-dropdown-content a { color: #4b5563; }
body.light-mode .nav-dropdown-content a:hover { color: var(--accent); background: rgba(0,0,0,0.04); }
body.light-mode .menu-divider { background: #e5e7eb; }
body.light-mode .sidebar__menu a.active,
body.light-mode .sidebar__menu .nav-link.active { background: rgba(0, 176, 80, 0.1) !important; }

/* Header */
body.light-mode .btn-icon { background-color: #f3f4f6; border-color: #e5e7eb; color: #111827; }
body.light-mode .btn-icon:hover { background-color: var(--accent); color: #fff; border-color: var(--accent); }
body.light-mode .search-form input[type="search"] { background-color: #f3f4f6; border-color: #e5e7eb; color: #111827; }
body.light-mode .search-form input[type="search"]:focus { background-color: #fff; border-color: var(--accent); }
body.light-mode .search-form input[type="search"]::placeholder { color: #9ca3af; }
body.light-mode .search-icon { color: #6b7280; }
body.light-mode .search-submit-btn { background-color: #f3f4f6; color: var(--accent); border-color: #e5e7eb; }
body.light-mode .search-submit-btn:hover { background-color: var(--accent); color: #fff; }

/* DLE Live Search */
body.light-mode #searchsuggestions { background: #fff !important; border-color: #e5e7eb !important; box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important; }
body.light-mode #searchsuggestions a.fs-item-wrapper:hover { background: #f3f4f6 !important; }
body.light-mode #searchsuggestions a.fs-item-wrapper { border-bottom-color: #e5e7eb !important; }
body.light-mode .fs-title { color: #111827 !important; }
body.light-mode #searchsuggestions span.searchword a { color: #111827 !important; background: rgba(0, 176, 80, 0.1) !important; }
body.light-mode #searchsuggestions span.searchword a:hover { background: var(--accent) !important; color: #fff !important; }

/* Scrollbar */
body.light-mode ::-webkit-scrollbar-track { background: #f3f4f6; }
body.light-mode ::-webkit-scrollbar-thumb { background: #d1d5db; }
body.light-mode ::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* PWA install button */
body.light-mode #installAppBtn { background: rgba(0, 176, 80, 0.08) !important; border-color: rgba(0, 176, 80, 0.2) !important; }
body.light-mode #installAppBtn:hover { background: var(--accent) !important; color: #fff !important; }

/* Overlay */
body.light-mode .overlay.active { background: rgba(0,0,0,0.4); }

/* Section Title */
body.light-mode .section-title { color: #111827; }