.menu-logo-container svg {
    height: 30px !important;
    width: auto !important;
    display: block !important;
    fill: #000000 !important; /* Paksa logo jadi hitam agar terlihat di background putih */
}

/* ==========================================================================
   CUSTOM MOBILE FULLSCREEN MENU & SEARCH OVERLAY - LIBUNEWS (LIGHT MODE)
   ========================================================================== */

/* --- 1. STRUKTUR UTAMA MENU OVERLAY (Slide dari Kanan) --- */
.fullscreen-menu-overlay {
    position: fixed;
    top: 0;
    right: 0; 
    width: 100vw;
    height: 100vh;
    background-color: #ffffff; /* Background putih */
    color: #111111; /* Font gelap/hitam */
    z-index: 999999; 
    transform: translateX(100%); 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-sizing: border-box;
}

.fullscreen-menu-overlay.menu-active {
    transform: translateX(0);
}

/* --- HEADER MENU (Ikon X ke Kanan) --- */
.fullscreen-menu-overlay .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0; /* Border abu-abu terang */
    flex-direction: row-reverse; 
}

.fullscreen-menu-overlay .menu-logo {
    height: 24px;
    margin-right: auto; 
    margin-left: 0;
}

.fullscreen-menu-overlay .close-menu-btn {
    background: none;
    border: none;
    color: #000000; /* Ikon close (X) jadi hitam */
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.fullscreen-menu-overlay .menu-logo {
    height: 24px;
    margin-left: 15px;
}

.fullscreen-menu-overlay .menu-body {
    padding: 20px;
}

/* --- 2. BAGIAN AKUN / PROFILE SIGN IN --- */
.fullscreen-menu-overlay .menu-user-section {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.fullscreen-menu-overlay .avatar {
    width: 70px;
    height: 70px;
    background: #f0f0f0; /* Latar avatar jadi abu-abu terang */
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555; /* Warna ikon user di dalam avatar */
}

.fullscreen-menu-overlay .btn-login {
    background-color: #1a56db; /* Latar tombol tetap biru */
    color: #ffffff; /* Teks tombol tetap putih agar kontras */
    padding: 1px 13px;
    border-radius: 22px;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    margin-top: -10px;
}

/* --- 3. KOTAK PENCARIAN DI MENU (Dibuat Full Width & Rata Kiri-Kanan) --- */
.menu-search {
    box-sizing: border-box !important;
    margin-bottom: 25px !important;
}

.search-form-normal {
    position: relative;
    display: flex;
    align-items: center;
    width: 100% !important;
}

.search-form-normal .search-icon {
    position: absolute;
    left: 12px;
    color: #666666 !important; /* Warna ikon pencarian */
    font-size: 20px;
    pointer-events: none;
}

.search-form-normal input[type="text"] {
    width: 100% !important;
    padding: 12px 15px 12px 40px !important;
    background-color: #f5f5f5 !important; /* Latar kolom pencarian abu-abu sangat terang */
    border: 1px solid #cccccc !important; /* Border terang */
    border-radius: 8px !important;
    color: #111111 !important; /* Teks pencarian jadi hitam */
    font-size: 14px !important;
    box-sizing: border-box !important; 
    height: 45px !important;
    display: block !important;
}

.search-form-normal input[type="text"]:focus {
    outline: none !important;
    border-color: #1a56db !important;
    background-color: #ffffff !important; /* Latar saat fokus jadi putih */
}

/* --- 4. SEKTOR PENGATURAN (TOGGLE SWITCH STYLE) --- */
.menu-settings {
    margin-bottom: 25px;
}

.fullscreen-menu-overlay .menu-label {
    font-size: 11px;
    color: #888888;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
    font-weight: 600;
}

.setting-list {
    background-color: #f5f5f5; /* Latar list pengaturan jadi abu-abu terang */
    border-radius: 10px;
    padding: 5px 15px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0; /* Garis pemisah abu-abu terang */
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #111111; /* Teks menu pengaturan jadi hitam */
}

.setting-title i.m-icon {
    margin-right: 12px;
    color: #555555;
    font-size: 20px;
}

/* iOS Style Switcher Toggle */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.toggle-switch input { 
    opacity: 0; width: 0; height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cccccc; /* Latar toggle off (abu-abu) */
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2); /* Sedikit bayangan agar slider menonjol */
}

input:checked + .slider {
    background-color: #30d158; /* Hijau iOS */
}

input:checked + .slider:before {
    transform: translateX(18px);
}

/* --- 5. NAVIGASI KATEGORI BERITA (CLONED MENU) --- */
.menu-categories {
    margin-top: 20px;
}

#cloned-menu-tombol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#cloned-menu-tombol > li {
    border-bottom: 1px solid #e0e0e0 !important; /* Garis bawah menu kategori */
}

#cloned-menu-tombol li a {
    color: #111111 !important; /* Warna teks menu jadi hitam */
    text-decoration: none !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    padding: 15px 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}

#cloned-menu-tombol li a i.fas {
    margin-right: 15px !important;
    color: #1a56db !important; /* Warna biru ikon utama dipertahankan */
    width: 20px !important;
    text-align: center !important;
    font-size: 16px !important;
}

/* Icon chevron penanda dropdown di ujung kanan */
.toggle-submenu-btn {
    margin-left: auto !important;
    color: #888888 !important;
    font-size: 20px !important;
    transition: transform 0.25s ease !important;
}

/* --- 6. UNIFORM SUB-MENU ACCORDION (PENGUNCI BENTROK) --- */
#cloned-menu-tombol .sub-menu {
    display: none !important; 
    list-style: none !important;
    padding-left: 35px !important;
    margin: 0 !important;
    background-color: #f9f9f9 !important; /* Latar submenu jadi sangat terang */
    border-radius: 6px;
}

#cloned-menu-tombol .sub-menu.show-submenu {
    display: block !important; 
    animation: slideDownMenu 0.2s ease-out forwards;
}

#cloned-menu-tombol .sub-menu li {
    border-bottom: 1px solid #eeeeee !important;
}

#cloned-menu-tombol .sub-menu li:last-child {
    border-bottom: none !important;
}

#cloned-menu-tombol .sub-menu li a {
    padding: 12px 0 !important;
    font-size: 14px !important;
    color: #333333 !important; /* Teks sub-menu jadi abu-abu gelap */
}

#cloned-menu-tombol .sub-menu li a i.fas {
    color: #888888 !important; 
}

@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 7. OVERLAY FULLSCREEN SEARCH (GAYA APP GAMBAR 2) --- */
.fullscreen-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff; /* Latar pencarian overlay jadi putih */
    color: #111111; /* Font jadi hitam */
    z-index: 9999999; 
    transform: translateX(100%); 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.fullscreen-search-overlay.search-active {
    transform: translateX(0);
}

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.close-search-btn {
    background: none;
    border: none;
    color: #000000; /* Tombol silang hitam */
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.search-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.search-body {
    padding: 20px;
}

/* Form Kolom Input di Dalam Halaman Search */
.search-form-full {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-icon-full {
    position: absolute;
    left: 15px;
    color: #666666;
    font-size: 20px;
}

.search-form-full input {
    width: 100%;
    padding: 14px 45px;
    background-color: #f5f5f5; /* Latar kotak input jadi abu terang */
    border: 1px solid #cccccc; /* Border input abu terang */
    border-radius: 10px;
    color: #111111; /* Teks input jadi hitam */
    font-size: 15px;
    box-sizing: border-box;
}

.search-form-full input:focus {
    outline: none;
    border-color: #1a56db;
    background-color: #ffffff;
}

.clear-search-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}
