/* ==========================================================================
   0. RESET DASAR & TYPOGRAPHY
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #f4f6f9; 
    overflow-x: hidden; 
    width: 100%;
}

/* ==========================================================================
   1. GLOBAL HEADER & NAVBAR (DESKTOP DEFAULT)
   ========================================================================== */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); 
}

.top-header { 
    background-color: #fff; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 40px; 
}

.header-logo-area { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.logo-wrapper {
    text-decoration: none; 
    color: inherit; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.mini-logo { 
    width: 45px; 
    height: auto; 
}

.header-text { 
    display: flex; 
    flex-direction: column; 
}

.brand-title { 
    color: #2c3e50; 
    font-weight: bold; 
    font-size: 18px; 
    letter-spacing: 0.5px; 
}

.brand-subtitle { 
    color: #1a252f; 
    font-size: 13px; 
    font-weight: bold;
}

.header-right-stuff { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
}

.header-socials { 
    display: flex; 
    gap: 15px; 
}

.header-socials a { 
    color: #555; 
    font-size: 18px; 
    text-decoration: none; 
    transition: 0.2s; 
}

.header-socials a:hover { 
    transform: scale(1.15); 
    color: #2c3e50; 
}

.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 26px; 
    cursor: pointer;
    color: #333;
}

/* Baris Navbar Layer 1 */
.main-navbar { 
    background-color: #2c3e50; 
    padding: 0 40px; 
}

.nav-list { 
    display: flex; 
    list-style: none; 
}

.nav-item { 
    position: relative; 
}

.nav-item a { 
    display: block; 
    padding: 14px 20px; 
    color: #fff; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 14px; 
}

.nav-item a:hover { 
    background-color: #1a252f; 
}

.navbar-mobile-only {
    display: none;
}

/* Layer 2: Dropdown Menu */
.submenu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: #1a252f; 
    list-style: none; 
    padding: 0;
    margin: 0;
    min-width: 200px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.15); 
}

.submenu-item {
    position: relative;
}

.submenu-item a { 
    font-size: 13px; 
    font-weight: normal; 
}

.submenu-item > a:hover { 
    color: #00ffff !important; 
    background-color: #2c3e50; 
}

.nav-item:hover > .submenu { 
    display: block; 
}

.sub-submenu-dalam {
    display: none; 
    list-style: none; 
    padding: 0;
    margin: 0;
    background-color: #11181f; 
}

/* ==========================================================================
   2. HERO SECTION & CONTENT MAIN DESIGN
   ========================================================================== */
.hero-container {
    position: relative; 
    width: 100%; 
    min-height: 100vh;
    background-image: url('images/mms-foto-bersama2025.jpg'); 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding-top: 170px;
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(26, 37, 47, 0.75); 
    z-index: 1; 
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
    color: #fff; 
    padding: 20px; 
    max-width: 800px; 
}

.hero-title-box { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 5px; 
}

.hero-title-box h1 { 
    font-size: 38px; 
    font-weight: 800; 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7); 
}

.hero-content h2 { 
    font-size: 26px; 
    font-weight: 600; 
    color: #FFD700; 
    margin-bottom: 20px; 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7); 
}

.hero-description { 
    font-size: 16px; 
    line-height: 1.8; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); 
}

.content-box {
    position: relative; 
    z-index: 2; 
    background-color: #ffffff; 
    width: 90%; 
    max-width: 800px; 
    padding: 40px 50px; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    text-align: left;
    color: #333333; 
    margin: 0 auto;
    border-top: 4px solid #2c3e50; 
}

.box-title {
    color: #2c3e50 !important; 
    font-size: 28px !important; 
    margin-bottom: 15px !important;
    text-align: center; 
    text-shadow: none !important;
}

.box-divider {
    border: 0; 
    height: 3px; 
    background-color: #2c3e50; 
    width: 60px;
    margin: 0 auto 30px auto; 
    border-radius: 2px;
}

.content-box h3 { color: #333; font-size: 20px; margin-top: 25px; margin-bottom: 10px; font-weight: 700; }
.content-box p, .content-box ul { font-size: 15px; line-height: 1.8; color: #555; margin-bottom: 15px; }
.content-box ul { padding-left: 20px; }
.content-box li { margin-bottom: 8px; }

/* ==========================================================================
   3. INDEX AUTOMATIC CAROUSEL SLIDER
   ========================================================================== */
.slider-wrapper {
    position: relative; 
    max-width: 900px; 
    margin: -80px auto 50px; 
    background-color: #fff; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    z-index: 10; 
    overflow: hidden;
}

.slide { 
    display: none; 
    animation: fadeEffect 1s; 
}

.slide.aktif { 
    display: flex; 
}

@keyframes fadeEffect { 
    from { opacity: 0.4; } 
    to { opacity: 1; } 
}

.slide-img { 
    width: 50%; 
    min-height: 300px; 
    object-fit: cover; 
}

.slide-content { 
    width: 50%; 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.slide-content h3 { font-size: 24px; color: #333; margin-bottom: 15px; }
.slide-content p { font-size: 15px; color: #666; line-height: 1.6; }
.slider-dots { text-align: center; padding: 20px 0; background-color: #fff; }

.dot { 
    cursor: pointer; 
    height: 12px; 
    width: 12px; 
    margin: 0 5px; 
    background-color: #ccc; 
    border-radius: 50%; 
    display: inline-block; 
    transition: 0.3s; 
}
.dot.aktif, .dot:hover { background-color: #2c3e50; } 

/* ==========================================================================
   4. HALAMAN TRANSPARANSI KAS KEUANGAN & TRANSAKSI
   ========================================================================== */
.finance-page-wrapper { padding-top: 170px; padding-bottom: 60px; display: flex; justify-content: center; }
.summary-cards { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.card-box { flex: 1; min-width: 200px; background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #eee; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.card-box h4 { font-size: 14px; color: #666; margin-bottom: 10px; font-weight: normal; }
.card-box .amount { font-size: 22px; font-weight: 800; }
.card-box.masuk .amount { color: #2e7d32; }
.card-box.keluar .amount { color: #1a252f; } 
.card-box.saldo .amount { color: #1565c0; }

.filter-container { display: flex; gap: 15px; justify-content: flex-end; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.filter-box { padding: 10px 15px; border: 1px solid #ccc; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; outline: none; height: 40px; }
.filter-box:focus { border-color: #2c3e50; } 

.btn-cetak-mutasi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2c3e50; 
    color: #ffffff !important;
    padding: 0 16px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none !important;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
    height: 40px;
    box-sizing: border-box;
}

.btn-cetak-mutasi:hover {
    background-color: #1a252f; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.btn-cetak-mutasi i {
    margin-right: 8px;
    font-size: 14px;
}

.table-responsive { width: 100%; overflow-x: auto; }
.finance-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.finance-table th { background-color: #2c3e50; color: white; padding: 12px 15px; white-space: nowrap; } 
.finance-table td { padding: 12px 15px; border-bottom: 1px solid #eee; }
.finance-table tr:nth-child(even) { background-color: #fafafa; }
.finance-table tr:hover { background-color: #f1f1f1; }

/* ==========================================================================
   5. HALAMAN STRUKTUR PENGURUS INTI & SWIPER CAROUSEL
   ========================================================================== */
.structure-page-wrapper { padding-top: 170px; padding-bottom: 60px; display: flex; justify-content: center; }
.content-box-structure { position: relative; z-index: 2; background-color: #ffffff; width: 95%; max-width: 1000px; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin: 0 auto; }
.swipe-instruction { text-align: center; color: #666; margin-bottom: 20px; font-size: 14px; }
.swiper { width: 100%; padding: 20px 0 50px 0; }
.swiper-slide { transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0.5; transform: scale(0.85); }
.swiper-slide-active { opacity: 1; transform: scale(1.05); z-index: 10; }
.team-card { background: #fff; padding: 30px 20px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; display: flex; flex-direction: column; align-items: center; border: 1px solid #eee; min-height: 280px; }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid #ddd; }
.team-card.ketua-card img { border-color: #2c3e50; width: 130px; height: 130px; } 
.team-card h4 { color: #333; font-size: 16px; margin-bottom: 5px; font-weight: bold; }
.team-card p { color: #2c3e50; font-weight: 600; font-size: 13px; text-transform: uppercase; margin-bottom: 5px; } 
.nim-text { font-size: 11px !important; color: #888 !important; text-transform: none !important; font-weight: normal !important; margin-bottom: 15px !important; }
.team-socials { display: flex; justify-content: center; gap: 15px; margin-top: auto; }
.team-socials a { color: #555; font-size: 18px; transition: 0.3s; }
.team-socials a:hover { color: #2c3e50; transform: scale(1.2); } 

/* ==========================================================================
   6. HALAMAN DOKUMENTASI (GOOGLE DRIVE EMBED & AUTOMATED TABLE)
   ========================================================================== */
.gallery-page-wrapper { padding-top: 170px; padding-bottom: 60px; display: flex; justify-content: center; }
.content-box-gallery { position: relative; z-index: 2; background-color: #ffffff; width: 95%; max-width: 1100px; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin: 0 auto; }
.gallery-desc { text-align: center; color: #666; margin-bottom: 30px; font-size: 14px; }
.drive-embed-container { position: relative; width: 100%; height: 600px; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; background: #fafafa; }
.drive-iframe { width: 100%; height: 100%; border: none; }
#data-tabel-dokumentasi img { max-width: 180px; max-height: 120px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.12); border: 1px solid #ddd; transition: transform 0.2s ease-in-out; }
#data-tabel-dokumentasi img:hover { transform: scale(1.04); }

/* ==========================================================================
   7. LAYOUT UP-TOMBOL HUBUNG (RESPONSIF MODULE 2x2)
   ========================================================================== */
.upload-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto;
    padding: 0 20px;
}

.upload-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.upload-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2c3e50 !important; 
    color: #ffffff !important;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.upload-btn:hover {
    background-color: #1a252f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 37, 47, 0.4) !important;
}

.upload-btn i {
    margin-right: 10px;
}

/* ==========================================================================
   8. MEDIA QUERIES KHUSUS DESKTOP / LAPTOP (PC)
   ========================================================================= */
@media screen and (min-width: 769px) {
    .submenu-item:hover > .sub-submenu-dalam { display: block; }
    .sub-submenu-dalam { position: absolute; top: 0; left: 100%; min-width: 200px; box-shadow: 2px 4px 6px rgba(0,0,0,0.15); }
    .sub-submenu-dalam li a { padding-left: 20px !important; }
}

/* ==========================================================================
   9. MEDIA QUERIES SATU PINTU KHUSUS MOBILE (HP)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .top-header { 
        background-color: #2c3e50 !important; 
        flex-direction: row !important; 
        padding: 12px 20px !important; 
        position: relative !important; 
    }
    
    .header-logo-area { margin-bottom: 0 !important; }
    .mini-logo { width: 34px !important; }
    
    .logo-wrapper { color: #ffffff !important; }
    .brand-title { font-size: 14px !important; color: #fff !important; } 
    .brand-subtitle { font-size: 10px !important; color: rgba(255, 255, 255, 0.8) !important; }
    
    .top-header .header-right-stuff { 
        display: none !important; 
    }
    
    .menu-toggle { 
        display: block !important; 
        position: static !important; 
        color: #ffffff !important;
    }
  
        .main-navbar { display: none; padding: 5px 0; width: 100%; flex-direction: column; align-items: stretch; background-color: #1a252f; }
    .main-navbar.aktif { display: flex; }
    .nav-list { flex-direction: column; }
    .nav-item a { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 12px 20px; font-size: 13px; }
    
    .submenu { position: static; box-shadow: none; padding-left: 15px; background-color: #2c3e50; }

    .navbar-mobile-only { 
        display: flex !important; 
        flex-direction: column; 
        padding: 15px 20px; 
        background-color: #2c3e50; 
        border-top: 1px solid rgba(255,255,255,0.1); 
    }
    .navbar-mobile-only .header-socials { justify-content: center; width: 100%; gap: 24px; }
    .navbar-mobile-only .header-socials a { color: #ffffff !important; font-size: 18px; }

    /* FIX PADDING GATEWAY: Menambahkan .login-page-wrapper agar elemen form login turun & tidak tertimbun */
    .finance-page-wrapper, .structure-page-wrapper, .gallery-page-wrapper, .hero-container, .login-page-wrapper { 
        padding-top: 150px !important; 
    }


    .content-box, .content-box-structure, .content-box-gallery { padding: 20px; width: 95%; }
    .box-title { font-size: 22px !important; }
    .summary-cards { gap: 10px; }
    .card-box { padding: 15px; }
    .card-box .amount { font-size: 18px; }

    .slider-wrapper { margin: -20px 10px 30px; }
    .slide.aktif { flex-direction: column; } 
    .slide-img { width: 100%; height: 185px; }
    .slide-content { width: 100%; padding: 20px; }

    .btn-cetak-mutasi { display: flex; width: 100%; margin-top: 5px; height: 40px; }
    .upload-row { flex-direction: column; }

    /* FIX OVERRIDE: SOSIAL MEDIA MOBILE DI DASAR MENU DROPDOWN */
    .navbar-mobile-only {
        display: block !important;
        width: 100%;
        margin-top: auto; 
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background-color: #11181f; 
    }

    .navbar-mobile-only .header-socials {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
    }

    .navbar-mobile-only .header-socials a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 20px !important;
        border: none !important;
        padding: 5px !important;
    }
    
    .navbar-mobile-only .header-socials a:hover {
        color: #E53935 !important; 
    }
}

/* ==========================================================================
   10. INDEPENDENT SITE FOOTER DESIGN - VERSI ADMIN
   ========================================================================== */
.site-footer {
    background-color: #1a252f; 
    color: #ffffff;
    padding: 50px 0 0 0;
    font-family: 'Poppins', sans-serif;
    margin-top: 60px; 
}

.footer-container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff; 
}

.footer-column h5::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background-color: #ffffff;
    margin-top: 8px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 40px;
    height: auto;
}

.footer-brand h4 {
    font-size: 17px;
    font-weight: bold;
    color: #ffffff;
}

.footer-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.footer-text i {
    margin-right: 8px;
    color: #2c3e50; 
}

.footer-text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-text a:hover {
    color: #2c3e50;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    font-size: 10px;
    margin-right: 8px;
    transition: transform 0.2s;
}

.footer-links a:hover {
    color: #2c3e50; 
    padding-left: 5px; 
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: #ffffff;
    color: #1a252f; 
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2); 
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; 
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-column h5::after {
        margin: 8px auto 0 auto; 
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-links a:hover {
        padding-left: 0; 
    }
}

/* ==========================================================================
   11. MODAL POPUP FOTO PROFILE / DOKUMENTASI OVERLAY
   ========================================================================== */
.modal-foto-mms {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px); 
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-foto-mms img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomInModal 0.3s ease;
}

@keyframes zoomInModal {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal-mms {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal-mms:hover { 
    color: #2c3e50; 
}

/* ==========================================================================
   12. TAMBAHAN UNTUK TOMBOL GOOGLE FORM | INPUT CASH FLOW |
   ========================================================================== */
.google-form-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    margin-top: 10px;
}

.btn-google-form {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 32px;
    background-color: #2c3e50; 
    color: white;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
    transition: all 0.3s ease;
}

.btn-google-form:hover {
    background-color: #1a252f; 
    box-shadow: 0 6px 15px rgba(26, 37, 47, 0.4);
    transform: translateY(-2px);
    color: white; 
}

.btn-google-form:active {
    transform: translateY(0);
}

/* ==========================================================================
   13. PORTAL LOGIN GATEWAY ADMIN KUSTOM & FIX LAYOUT HEADER
   ========================================================================== */
.login-page-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: calc(100vh - 140px);
}

.login-content-box {
    background: #ffffff;
    width: 100%;
    max-width: 420px !important;  
    padding: 40px 35px !important; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 6px solid #2c3e50 !important; 
    margin: auto;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
}

.login-input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.login-input:focus {
    border-color: #2c3e50; 
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #2c3e50; 
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.2);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #1a252f; 
    box-shadow: 0 6px 15px rgba(26, 37, 47, 0.3);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.portal-footer {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #eee;
    background-color: #ffffff;
    width: 100%;
}

/* ATURAN KHUSUS GATEWAY LOGIN */
body.login-page-body .main-navbar,
body.login-page-body .header-right-stuff,
body.login-page-body .header-secure-badge {
    display: none !important;
}

body.login-page-body .site-header {
    position: fixed !important;  
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    background-color: #2c3e50 !important; 
    border-bottom: 4px solid #1a252f !important; 
    z-index: 1000 !important;
    box-shadow: none !important;
}

body.login-page-body .top-header {
    background-color: #2c3e50 !important; 
    justify-content: center !important; 
    align-items: center !important; 
    padding: 20px 20px !important;  
    box-shadow: none !important; 
    width: 100% !important;
    display: flex !important;
}

body.login-page-body .header-logo-area {
    display: flex !important;      
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

body.login-page-body .logo-wrapper {
    flex-direction: column !important; 
    text-align: center !important;
    gap: 8px !important;
    display: flex !important;     
}

body.login-page-body .mini-logo {
    width: 55px !important; 
    height: auto !important;
    margin-top: 0px !important;    
    margin-bottom: 0px !important;
}

body.login-page-body .logo-wrapper .brand-title {
    font-size: 15px !important; 
    color: #ffffff !important; 
}

body.login-page-body .brand-subtitle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.8) !important; 
    font-size: 11px !important;
    margin-bottom: 5px !important; 
}

body.login-page-body .login-page-wrapper {
    padding-top: 60px !important; 
    min-height: calc(100vh - 60px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-text {
    display: none; 
    color: #ffffff; 
    background-color: #1a252f; 
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    margin-top: -10px; 
    margin-bottom: 20px; 
    text-align: center;
    border: 1px solid #2c3e50; 
    animation: shakeEffect 0.3s ease-in-out; 
}

@keyframes shakeEffect {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ==========================================================================
   14. BANNER PWA ASLI MMS - VERSI RESPONSIF HP & LAPTOP
   ========================================================================== */
#pwa-install-popup {
    display: none; 
    position: fixed; 
    font-family: sans-serif; 
    background-color: #ffffff; 
    box-shadow: 0 4px 24px rgba(0,0,0,0.25); 
    border-radius: 12px; 
    padding: 16px; 
    z-index: 999999 !important; 
    border-left: 5px solid #2c3e50; 
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
    #pwa-install-popup {
        position: fixed !important;
        bottom: 20px !important;
        top: auto !important;
        left: 50% !important; 
        transform: translateX(-50%) !important; 
        width: 92% !important; 
        max-width: 400px !important; 
    }
}

@media (min-width: 768px) {
    #pwa-install-popup {
        top: 90px !important; 
        bottom: auto !important;
        right: 25px !important; 
        left: auto !important; 
        transform: none !important; 
        width: 360px !important; 
    }
}

.pwa-mms-container {
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 12px;
}

.pwa-mms-logo {
    width: 45px; 
    height: 45px; 
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.pwa-mms-text-block {
    display: flex;
    flex-direction: column;
}

.pwa-mms-title {
    margin: 0 !important; 
    color: #333 !important; 
    font-size: 15px !important;
    font-weight: bold;
    line-height: 1.2;
}

.pwa-mms-subtitle {
    margin: 2px 0 0 0 !important; 
    color: #666 !important; 
    font-size: 12px !important;
    line-height: 1.3;
}

.pwa-mms-buttons {
    display: flex; 
    justify-content: flex-end; 
    gap: 10px;
}

.pwa-mms-btn-later {
    background: none !important; 
    border: none !important; 
    color: #888 !important; 
    font-weight: bold !important; 
    cursor: pointer; 
    padding: 8px 12px; 
    font-size: 13px;
    outline: none;
}

.pwa-mms-btn-install {
    background-color: #2c3e50 !important; 
    border: none !important; 
    color: white !important; 
    font-weight: bold !important; 
    padding: 8px 16px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-size: 13px; 
    box-shadow: 0 2px 5px rgba(44, 62, 80, 0.3);
    transition: background-color 0.2s;
}

.pwa-mms-btn-install:hover {
    background-color: #1a252f !important; 
}
