
/* =========================================================
   4. AÇIK MOD (LIGHT THEME) KESİN REVİZYONU
========================================================= */

body.light-theme {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}


/* 4.1 YAZI RENKLERİ VE TEMEL BAŞLIKLAR */
body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4 { color: #000 !important; }
body.light-theme .feed-title { color: #000 !important; border-bottom: 1px solid #000 !important; }
body.light-theme .premium-stories-container { border-bottom: 1px solid #000 !important; }

/* 4.2 SOL MENÜ, GRUPLAR VE "DAHA FAZLA" BUTONU */
body.light-theme .sidebar { background-color: rgba(255, 255, 255, 0.936) !important; border-right: 1px solid #e9ecef !important; }
body.light-theme .nav-menu a { color: #ff007f !important; }
body.light-theme .nav-menu a.active-menu { background-color: rgba(255, 0, 127, 0.1) !important; color: #ff007f !important; border-left: 3px solid #ff007f !important; }
body.light-theme .nav-menu a:hover { background-color: #e8f5e9 !important; color: #00cf6f !important; }
body.light-theme #btnLogoutProfile { background-color: #c4c4c4 !important;  border: none !important; }

body.light-theme .bottom-menu-trigger { background-color: #f1f3f5 !important; border: 1px solid #dee2e6 !important; border-radius: 12px !important; }
body.light-theme .bottom-menu-trigger:hover { background-color: #e9ecef !important; }
body.light-theme .bottom-menu-icon { background-color: #ffffff !important; border: 1px solid #ced4da !important; color: #212529 !important; }
body.light-theme .bottom-menu-text span:first-child { color: #212529 !important; }
body.light-theme .bottom-menu-text span:last-child { color: #6c757d !important; }
body.light-theme .sidebar-bottom-menu { background-color: #e9ecef !important; }

/* 4.3 AÇILIR MENÜLER (PREMIUM GLASS EFEKTİ) */
body.light-theme .bottom-dropdown-wrap,
body.light-theme .post-dropdown,
body.light-theme .settings-dropdown,
body.light-theme .liquid-glass-menu {
    background: transparent !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .bottom-dropdown-wrap {  left: 15px !important; bottom: 85px !important; }

body.light-theme .action-item { font-weight: bold ; border-bottom: 0px solid  !important; color: black; }
body.light-theme .action-item:hover { background-color: #f0f0f0 !important; ;}
body.light-theme .settings-item {
    color: #fdecec !important;
    border-radius: 12px !important;
    margin-bottom: 2px !important;
    padding: 12px 15px !important;
    font-weight: 600 !important;
    transition: 0.2s ease !important;
}
body.light-theme .action-item:last-child, 
body.light-theme .post-dropdown-item:last-child, 
body.light-theme .settings-item:last-child { border-bottom: none !important; }



body.light-theme .settings-item:hover { background: #f8f9fa5b !important; transform: translateX(5px); color: #ffffff !important; }
body.light-theme .action-icon-svg { stroke: #212529 !important; stroke-width: 2.3px !important; width: 18px !important; height: 18px !important; }

/* 4.4 BİLDİRİMLER PANELİ (Sadece arka plan beyaz cam yapıldı, diğer ayarlara dokunulmadı) */

/* 1. ANA AÇILIR KUTU (DROPDOWN) - CAM EFEKTİ BURADA VERİLİR */
body.light-theme .notifications-dropdown {
    background: rgba(255, 255, 255, 0.297) !important; /* Şeffaflık oranı. Düşürürsen arkası daha çok görünür */
    backdrop-filter: blur(10px) saturate(200%) !important; /* Cam bulanıklığı ve canlılığı */
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important; /* Safari/iOS desteği (Çok Önemli) */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    color: #000000 !important;
}

/* 2. ÜST BİLGİ (HEADER) KISMI - ŞEFFAF OLMALI */
body.light-theme .notif-header { 
    background: transparent !important; /* Camı örtmemesi için şeffaf */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important; 
}
body.light-theme .notif-header h3 { color: #000000 !important; }
body.light-theme .mark-read-btn { color: #1b5e20 !important; font-weight: bold !important; }

/* 3. BİLDİRİM KARTLARI - ŞEFFAF OLMALI */
body.light-theme .notif-item { 
    background: transparent !important; /* Camı örtmemesi için şeffaf */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; 
}
body.light-theme .notif-text { color: #000000 !important; }
body.light-theme .notif-text b { color: #ff007f !important; }

/* 4. OKUNMAMIŞ BİLDİRİMLER (Hafif beyaz vurgu) */
body.light-theme .notif-item.unread { 
    background: rgba(255, 255, 255, 0.5) !important; /* Camın üstünde hafif beyazlık */
}

/* 5. HOVER (ÜZERİNE GELİNCE) - Hafif koyulaşma */
body.light-theme .notif-item:hover { 
    background: rgba(192, 192, 192, 0.455) !important; 
    backdrop-filter: blur(25px) !important;
}

/* 4.5 İLAN KARTLARI VE İÇİNDEKİLER */
body.light-theme .modern-post-card { background: #f1f3f5 !important; border: 1px solid #e9ecef !important; box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important; }
body.light-theme .modern-post-card:hover { border-color: #ff007f !important; box-shadow: 0 0 20px rgba(255, 0, 127, 0.15) !important; }
body.light-theme .post-title, body.light-theme .post-desc, body.light-theme .post-author-info b { color: #212529 !important; }
body.light-theme .post-author-info b:hover { color: #00ff0dbf !important; }
body.light-theme .post-dropdown-item { background-color: rgba(255, 255, 255, 0.05) !important; color: #000 !important; backdrop-filter: blur(10px) !important; font-weight: bold; }
body.light-theme .post-dropdown-item:hover { background: #efefef !important; color: #000000 !important; }

body.light-theme .post-menu-btn { color: #000 !important; transition: 0.3s; }
body.light-theme .post-menu-btn:hover { color: #ff007f !important; }

body.light-theme .action-btn { color: #495057 !important; background: transparent !important; }
body.light-theme .action-btn svg { stroke: #495057 !important; }
body.light-theme .action-btn.is-liked svg { stroke: #ff007f !important; fill: #ff007f !important; }
body.light-theme .action-btn.is-saved svg { stroke: #ffb800 !important; fill: #ffb800 !important; }
body.light-theme .post-action-bar span, body.light-theme .post-action-bar .count-text { color: #495057 !important; font-weight: bold !important; }
body.light-theme .post-action-bar{ border-top: 1px solid #03030357 !important; }


/* Renk Etiketleri ve Satılık/Takas */
body.light-theme .post-tag { background: #ffffff !important; color: #000; border: 1px solid #ccc; }
body.light-theme .post-tag.type-satilik { background: #f8f9fa !important; color: #00aaff !important; border: 1px solid #00aaff !important; }
body.light-theme .post-tag.type-takas { background-color: #f8f9fa !important; color: #00ff88 !important; border: 1px solid #00ff88 !important; }
/* SADECE İLAN KARTINDAKİ RENK ETİKETLERİ İÇİN (AÇIK MOD) */
body.light-theme .post-tag[style*="color"] {
    background-color: #ffffff !important; /* Etiketin içi beyazımsı olsun */
    /* DİKKAT: Buraya color veya border yazmıyoruz ki senin JS renklerin gelsin! */
}

/* Renk topunun etrafındaki çerçeve açık modda belli olsun */
body.light-theme .color-swatch {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}
/* =========================================================
   BEYAZ RENK ETİKETİ İSTİSNASI (AÇIK MOD FIX)
========================================================= */
/* JS'den gelen renk "Beyaz" (#ffffff) ise yazıyı siyah yap ve çerçeve ekle */
body.light-theme .post-tag[style*="#ffffff"],
body.light-theme .post-tag[style*="#FFFFFF"],
body.light-theme .post-tag[style*="rgb(255, 255, 255)"] {
    color: #686868a0 !important; /* Yazı okunsun diye siyah */
    border-color: #cccccc !important; /* Bembeyaz zeminde kaybolmasın diye ince gri çerçeve */
    background-color: #ffffff !important;
}



/* 4.6 SAĞ PANEL / CANLI TRADE / TOP NAVBAR */
body.light-theme .right-sidebar { background: #ffffff !important; border-left: 1px solid #e9ecef !important; }
body.light-theme .trade-ticker-container { background: #f8f9fa !important; border: 1px solid #dee2e6 !important; border-radius: 12px !important; }
body.light-theme .ticker-item { background: #ffffff !important; border: 1px solid #f1f3f5 !important; border-left: 4px solid #ff007f !important; }
body.light-theme .ticker-item:hover { background: #f1f3f5 !important; transform: translateX(5px); }
body.light-theme .ticker-text { color: #000 !important; }
body.light-theme .ticker-user { color: #ff007f !important; font-weight: bold !important; }
body.light-theme .trade-title { color: #ff007f !important; }

body.light-theme .top-navbar { background: rgba(255, 255, 255, 0.95) !important; border-bottom: 1px solid #e9ecef !important; }
body.light-theme .home-btn, body.light-theme .user-profile-section { background: #f1f3f5 !important; color: #212529 !important; }
body.light-theme .profile-name { color: #292121 !important; font-weight: bold !important; }
body.light-theme .profile-uni { color: #00d672  !important; }
body.light-theme .user-profile-section .uni-text { color: #008040 !important; } /* Koyu Yeşil */
body.light-theme .notification-icon-wrap { border: 2px solid #dee2e6 !important; background: #f8f9fa !important; border-radius: 50% !important; }

/* 4.7 PROFİL SAYFASI İÇİ VE AYAR PANELLERİ */
body.light-theme .profile-main { background-color: #ffffff !important; } 
body.light-theme .profile-cover { background-color: transparent !important; }
body.light-theme .profile-header-content { background-color: transparent !important; color: #ffffff !important; }
body.light-theme .profile-header-content h1, 
body.light-theme .profile-header-content p, 
body.light-theme .profile-header-content span, 
body.light-theme .profile-header-content b { color: #ffffff !important; }

/* Profil Ayarlar Paneli  */
body.light-theme .modalpanel { color: white !important; }

/* Profil Etiketleri (Kullanıcı adı, Üniversite Koyu Yeşil) */
body.light-theme #profUsername, body.light-theme #profUniText { color: #008040 !important; font-weight: bold; }
body.light-theme .badges-row span { background: #7f7f7f50 !important;  border: 0px solid #dee2e6 !important; color: #000 !important; }
body.light-theme #profDeptText { color: #d2d2d2 !important; } 
body.light-theme #profBio { color: #a5a5a5b4 !important; }
/* Profil Alt Kısım Arama, Tablar ve İlanlar (Beyaz Zemin) */
body.light-theme .modern-action-bar,
body.light-theme .profile-tabs,
body.light-theme #tabContentArea {
    background-color: #ffffff !important;
}
body.light-theme .modern-action-bar { border-radius: 10px 10px 10px 10px; border: 1px solid #dee2e6; margin-top: 20px; }
body.light-theme .search-box-modern input { background: #f8f9fa !important; border: 1px solid #dee2e6 !important; color: #212529 !important; }
body.light-theme .profile-tabs { border-bottom: 1px solid #dee2e6 !important; }
body.light-theme .tab-btn { color: #6c757d !important; background: transparent !important; }
body.light-theme .tab-btn:hover { color: #ff007f !important; border-bottom: 2px solid #ff007f !important; }
body.light-theme .tab-btn.active { color: #ff007f !important; border-bottom: 2px solid #ff007f !important; }

/* İstatistik Kartları (İlan, Takip, Takipçi) */
body.light-theme .profile-stats-container .stat-box { background: #ffffff !important; border: 1px solid #eee !important; }
body.light-theme .profile-stats-container .stat-box b, 
body.light-theme .profile-stats-container .stat-box span { color: #000 !important; }
body.light-theme .btn-cancel { background-color: #c4c4c44a !important; border: none !important;}
body.light-theme .btn-cancel:hover { background-color: #c4c4c4 !important; }

/* Modallar (Ayarlar, Düzenle, Arşiv, Stats) Genel Invert Zemin */
body.light-theme .modal-content { background: #ffffff !important; color: #000 !important; border: 1px solid #ccc !important; }
body.light-theme .settings-sub-panel {  color: #b1b1b1 !important; }
body.light-theme .settings-section h3 { color: #fff !important; }

/* Ayarlar / Düzenle / Menü İçindeki Kartlar (Açık Gri) */
body.light-theme .settings-menu-item-box,
body.light-theme .edit-action-box {
    background: #f1f3f5 !important;
    color: #000 !important;
    border: 1px solid #dee2e6 !important;
}

body.light-theme .info-row { background-color: rgba(221, 221, 221, 0.732) !important; backdrop-filter: blur(10px) !important; color: #000000ce !important; font-weight: bold;}
body.light-theme .info-row span { color: #000 !important; }


.body.light-theme .panelTheme 
/* Neon Yeşili Düzeltmesi -> Koyu Yeşil */
body.light-theme span[style*="color: #00ff88"], 
body.light-theme span[style*="color:#00ff88"],
body.light-theme div[style*="border-left: 3px solid #00ff88"] {
    color: #008040 !important;
    border-left-color: #008040 !important;
}

body.light-theme input, body.light-theme textarea, body.light-theme select { background: #f8f9fa !important; color: #000 !important; border: 1px solid #ced4da !important; }
body.light-theme input:focus, body.light-theme textarea:focus { border-color: #ff007f !important; }

/* Arşiv Bölümü Özelleştirmeleri */
body.light-theme #archiveMainTitle, body.light-theme #archiveSubTitle { color: #000 !important; }
body.light-theme .archive-header-actions .btn-icon-modern { border-color: #ccc !important; background: #f1f3f5 !important; }
body.light-theme .archive-header-actions .btn-icon-modern svg { stroke: #000 !important; }
body.light-theme .mini-post-card { background: #f8f9fa !important; border: 1px solid #dee2e6 !important; }
body.light-theme .mpc-title, body.light-theme .mpc-desc { color: #000 !important; }
body.light-theme #archiveFilterDropdown { background: #ffffff !important; border: 1px solid #ccc !important; }
body.light-theme .filter-group-title { color: #000 !important; }
body.light-theme .filter-item { color: #333 !important; }
body.light-theme .filter-item:hover, body.light-theme .filter-item.active { background: #f1f3f5 !important; color: #000 !important; }

/* 4.8 İLAN DETAY YORUMLAR */
body.light-theme .comments-section { background: #ffffff !important; border: 1px solid #dee2e6 !important; color: #212529 !important; }
body.light-theme .comment-text, body.light-theme .comment-author { color: #212529 !important; }

/* Scrollbar ve Ayıraçlar (Light Theme Overrides) */
body.light-theme ::-webkit-scrollbar-track { background: #f1f3f5 !important; }
body.light-theme ::-webkit-scrollbar-thumb { background: #ff00805e !important; }
body.light-theme ::-webkit-scrollbar-thumb:hover { background: #ff007f !important; }
body.light-theme hr { border-color: #e9ecef !important; }

/* =========================================================
   5. NEON (HACKER) TEMA
========================================================= */
body.neon-theme { background-color: #000000; color: #00ff00; }
body.neon-theme::before, body.neon-theme::after { display: none; }
body.neon-theme * { font-family: 'Courier New', Courier, monospace !important; }
body.neon-theme .glass-dark, body.neon-theme .liquid-glass, body.neon-theme .modern-post-card, body.neon-theme .sidebar, body.neon-theme .top-navbar, body.neon-theme .auth-box, body.neon-theme .custom-confirm-box { background: #000 !important; border-color: #00ff00 !important; box-shadow: 0 0 10px rgba(0, 255, 0, 0.2) !important; }
body.neon-theme .post-title, body.neon-theme h1, body.neon-theme h2 { color: #00ff00 !important; text-shadow: 0 0 5px #00ff00; }
body.neon-theme .action-btn, body.neon-theme p, body.neon-theme span { color: #00cc00 !important; }
body.neon-theme .nav-menu a { color: #00cc00; }
body.neon-theme .nav-menu a:hover, body.neon-theme .nav-menu a.active-menu { background-color: #002200; color: #00ff00; border-left-color: #00ff00; }
body.neon-theme input, body.neon-theme textarea, body.neon-theme select { background: #000; color: #00ff00; border-color: #00ff00; }
body.neon-theme .modal-content { background: rgba(0,0,0,0.95) !important; border-color: #00ff00; color: #00ff00;}

/* =========================================================
   6. DANGER / UYARI RENKLERİ (KÜRESEL KESİN KORUMA)
========================================================= */
.danger, .text-danger, 
.btn-cancel, 
#btnLogoutProfile, #btnLogoutMenu, #btnLogoutBottom, 
#btnDeleteAccount, #btnDeleteEmail, #btnDeletePhone, 
#btnCancelEdit, #btnCloseStats, #btnCancelVerify, #btnCloseArchive, #btnCloseSett,
#btnReportUser, #btnBlockUser,
.post-dropdown-item.danger, .settings-item.danger,
[id*="Logout"], [id*="Delete"], [id*="Cancel"], [id*="Report"], [id*="Block"],
[onclick*="delete"], [onclick*="Delete"], 
[onclick*="report"], [onclick*="Report"], 
[onclick*="block"], [onclick*="Block"],
[onclick*="şikayet"], [onclick*="engelle"] {
    color: #ff0000 !important;
    font-weight: bold !important;
}

body.light-theme .post-dropdown-item.danger,
body.light-theme .settings-item.danger,
body.light-theme [id*="Logout"], 
body.light-theme [id*="Delete"], 
body.light-theme [id*="Cancel"], 
body.light-theme [id*="Report"], 
body.light-theme [id*="Block"],
body.light-theme [onclick*="delete"], 
body.light-theme [onclick*="Delete"], 
body.light-theme [onclick*="report"], 
body.light-theme [onclick*="Report"], 
body.light-theme [onclick*="block"], 
body.light-theme [onclick*="Block"],
body.light-theme [onclick*="şikayet"], 
body.light-theme [onclick*="engelle"] {
    color: #ff0000 !important;
}

/* =========================================================
   7.Filtre ve Sıralama Menüsü 
========================================================= */
