@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&display=swap');

:root {
    --primary: #F5C24C; /* Yellow Theme */
    --primary-dark: #dca735;
    --primary-action: #F5C24C; /* Action color */
    
    /* Clean Theme (Default) */
    --bg-main: #FAFAFA;
    --bg-surface: #FFFFFF;
    --text-strong: #222222;
    --text-medium: #717171;
    --text-light: #A0A0A0;
    --border: #EAEAEA;
    --hover-bg: #F7F7F7;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 6px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --overlay: rgba(0,0,0,0.5);
    
    --skeleton-bg: #EAEAEA;
    --skeleton-shine: #F5F5F5;
}

body.dark-theme {
    --bg-main: #121212;
    --bg-surface: #1E1E1E;
    --text-strong: #EAEAEA;
    --text-medium: #A0A0A0;
    --border: #333333;
    --hover-bg: #2C2C2C;
    --shadow-md: 0 6px 16px rgba(0,0,0,0.3);
    --skeleton-bg: #2A2A2A;
    --skeleton-shine: #3A3A3A;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'DM Sans', sans-serif; }
body { background-color: var(--bg-main); color: var(--text-strong); padding-top: 80px; -webkit-tap-highlight-color: transparent; transition: background-color 0.3s, color 0.3s; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.desktop-only { display: block; }
.mobile-only { display: none !important;  }

/* Header & Brand */
.header { position: fixed; top: 0; left: 0; width: 100%; background: var(--bg-surface); border-bottom: 1px solid var(--border); z-index: 1000; height: 80px; display: flex; align-items: center; transition: 0.3s; }
.nav-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.brand-text { font-size: 1.4rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { background: transparent; border: none; font-size: 1.1rem; color: var(--text-strong); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; transition: 0.2s;}
.icon-btn:hover { background: var(--hover-bg); }
.btn-login { background: transparent; color: var(--text-strong); border: none; padding: 10px 16px; border-radius: 24px; font-weight: 600; cursor: pointer; transition: 0.2s;}
.btn-login:hover { background: var(--hover-bg); }
.btn-primary { background: var(--primary-action); color: #fff; border: none; padding: 10px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s;}
.btn-primary:active { transform: scale(0.96); }

/* Hero Slider */
.hero-section { position: relative; width: 100%; height: 380px; overflow: hidden; background: var(--skeleton-bg); }
.slider-container { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%); display: flex; align-items: center; }
.hero-text { color: #fff; margin-top: 40px; }
.hero-text h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-text p { font-size: 1.1rem; font-weight: 500; opacity: 0.9; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); color: #000; border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; z-index: 10; box-shadow: var(--shadow-md); transition: 0.2s; }
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

/* Centered Search Bar */
.search-container { position: relative; display: flex; justify-content: center; margin-top: -38px; z-index: 20; }
.advanced-search {
    display: flex; align-items: center; background: var(--bg-surface);
    border-radius: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    height: 76px; max-width: 850px; width: 100%; padding: 0 10px;
}
.search-block {
    flex: 1; display: flex; align-items: center; padding: 0 24px;
    height: 100%; cursor: pointer; position: relative; border-radius: 32px; transition: background 0.2s;
}
.search-block:hover { background: var(--hover-bg); }
.search-input-group { display: flex; flex-direction: column; width: 100%; }
.search-input-group .label { font-size: 0.75rem; font-weight: 800; color: var(--text-strong); margin-bottom: 2px; }
.search-input-group input { border: none; background: transparent; outline: none; font-size: 0.95rem; color: var(--text-medium); cursor: pointer; text-overflow: ellipsis; }
.divider { width: 1px; height: 40px; background: var(--border); }
.search-submit {
    background: var(--primary-action); color: #fff; border: none;
    width: 56px; height: 56px; border-radius: 50%; margin-left: 10px;
    display: flex; justify-content: center; align-items: center; font-size: 1.2rem;
    cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(245, 194, 76, 0.3);
}
.search-submit:hover { background: #dca735; transform: scale(1.05); }

/* Dropdown */
.custom-dropdown {
    position: absolute; top: 90px; left: 0; background: var(--bg-surface);
    min-width: 280px; border-radius: 16px; box-shadow: var(--shadow-lg);
    padding: 12px 0; border: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.2s; z-index: 100;
}
.custom-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-item { padding: 14px 24px; color: var(--text-strong); font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: 0.2s; }
.drop-item i { color: var(--text-light); font-size: 1.1rem; width: 20px; text-align: center; }
.drop-item:hover { background: var(--hover-bg); }

/* Categories */
.content-wrapper { padding-top: 40px; padding-bottom: 60px; }

.categories { 
    display: flex; 
    gap: 16px; /* Jarak dirapatkan sedikit agar rapi saat tersebar */
    overflow-x: auto; 
    padding-bottom: 16px; 
    margin-bottom: 30px; 
    scrollbar-width: none; 
    width: 100%; /* Pastikan kontainer mengambil lebar penuh */
}
.categories::-webkit-scrollbar { display: none; }

.category-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
    cursor: pointer; 
    color: var(--text-medium); 
    transition: 0.2s; 
    min-width: max-content; /* Menjamin item tidak menyusut/terpotong saat layar sempit */
    opacity: 0.7;
    flex: 1; /* Kunci utamanya: memaksa tiap item membagi rata ruang kosong yang tersedia */
}
.category-item:hover { opacity: 1; color: var(--text-strong); }
.category-item.active { color: var(--text-strong); border-bottom: 2px solid var(--text-strong); padding-bottom: 8px; opacity: 1;}
.category-item i { font-size: 1.5rem; }
.category-item span { font-size: 0.85rem; font-weight: 600; }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.section-header h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.link-all { color: var(--text-strong); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

/* --- AESTHETIC & CLEAN CARD WITH SHINE EFFECT --- */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.card {
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; cursor: pointer; transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Image Area */
.card-img-container { width: 100%; height: 240px; position: relative; padding: 12px; }
.card-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; border-radius: 16px 16px 0 0; }

/* Top Badges inside Image */
.card-top-badges { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.badge-group { display: flex; flex-direction: column; gap: 6px; }
.badge-type { background: rgba(255,255,255,0.95); color: #000; padding: 6px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; width: max-content; }
.badge-sisa { background: var(--text-strong); color: var(--bg-surface); padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; box-shadow: var(--shadow-sm); width: max-content; }

/* The Shine Animation Tag */
.badge-populer {
    position: relative; background: linear-gradient(45deg, #FFD700, #F5C24C); color: #000;
    padding: 6px 12px; border-radius: 20px; font-weight: 800; font-size: 0.75rem;
    overflow: hidden; box-shadow: 0 4px 10px rgba(245, 194, 76, 0.4); border: 1px solid rgba(255,255,255,0.4);
}
.badge-populer::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    animation: shine 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1); transform: skewX(-20deg);
}
@keyframes shine { 0% { left: -100%; } 20%, 100% { left: 200%; } }

/* Card Body Details */
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.card-rating { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.9rem; color: var(--text-strong); }
.card-rating i { color: var(--primary); font-size: 0.8rem; }
.card-location { font-size: 0.85rem; color: var(--text-medium); display: flex; align-items: center; gap: 6px; }
.card-facilities { font-size: 0.85rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.card-price { margin-top: 6px; display: flex; align-items:baseline; gap: 4px; }
.card-price strong { font-size: 1.15rem; color: var(--text-strong); font-weight: 800; }
.card-price small { font-size: 0.8rem; color: var(--text-medium); }

/* Area Grid */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.area-card { height: 180px; border-radius: 16px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 20px; position: relative; overflow: hidden; cursor: pointer; }
.area-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); }
.area-card h3 { position: relative; z-index: 1; color: #fff; font-size: 1.2rem; font-weight: 600; }

/* Footer */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 24px; }
.footer-col h3 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer-col p { color: var(--text-medium); font-size: 0.9rem; line-height: 1.5; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-medium); text-decoration: none; font-size: 0.9rem; transition: 0.2s;}
.footer-col ul a:hover { color: var(--text-strong); text-decoration: underline; }
.footer-bottom { text-align: center; color: var(--text-medium); font-size: 0.9rem; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shine) 50%, var(--skeleton-bg) 75%); background-size: 200% 100%; animation: load 1.5s infinite linear; border-radius: 8px; }
@keyframes load { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Alerts & Modal Default */
#alert-container { position: fixed; z-index: 9999; pointer-events: none; }
.custom-alert { background: var(--bg-surface); color: var(--text-strong); padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); display: flex; align-items: center; gap: 12px; pointer-events: auto; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); margin-bottom: 10px; font-weight: 500; }
.custom-alert.hide { opacity: 0; transform: translateY(-20px) scale(0.9); }

.modal-overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--bg-surface); width: 560px; max-width: 90%; border-radius: 16px; transform: translateY(30px); transition: 0.3s; display: flex; flex-direction: column; max-height: 90vh; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.close-btn { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-strong); }

/* Mobile Modal Tab Styling */
.modal-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab-btn { flex: 1; padding: 12px; background: none; border: none; font-weight: 600; font-size: 0.95rem; color: var(--text-medium); border-bottom: 2px solid transparent; cursor: pointer; transition: 0.2s; }
.tab-btn.active { color: var(--text-strong); border-bottom-color: var(--text-strong); }
.tab-content { display: none; animation: fadeIn 0.3s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px);} to { opacity: 1; transform: translateY(0);} }

/* ================= Mobile Responsiveness ================= */
@media (max-width: 768px) {
    body { padding-top: 0; padding-bottom: 80px; }
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    .container { padding: 0 16px; }
    
    .mobile-search-header { position: sticky; top: 0; background: var(--bg-surface); z-index: 1000; padding: 14px 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
    .search-pill { display: flex; align-items: center; gap: 16px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 40px; padding: 10px 20px; box-shadow: var(--shadow-sm); }
    .search-pill i { color: var(--text-strong); font-size: 1.2rem; }
    .search-text { display: flex; flex-direction: column; }
    .search-text strong { font-size: 0.9rem; }
    .search-text span { font-size: 0.75rem; color: var(--text-medium); }

    .hero-section { height: 260px; }
    .hero-text { margin-top: 20px; }
    .hero-text h1 { font-size: 1.8rem; }
    .content-wrapper { padding-top: 20px; }

    .bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 65px; background: var(--bg-surface); border-top: 1px solid var(--border); display: flex; justify-content: space-around; align-items: center; z-index: 1000; padding-bottom: env(safe-area-inset-bottom); }
    .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-medium); text-decoration: none; font-size: 0.7rem; font-weight: 600; }
    .nav-item.active { color: var(--primary-action); }
    .nav-item i { font-size: 1.4rem; }

    /* 1. BIKIN MODAL BENER-BENER FULLSCREEN */
    .modal-overlay { padding: 0 !important; }
    .modal-content { 
        width: 100vw !important; 
        max-width: 100vw !important; 
        height: 100dvh !important; 
        max-height: 100dvh !important; 
        border-radius: 0 !important; 
        margin: 0 !important;
        transform: translateY(100%); 
    }
    .modal-overlay.active .modal-content { transform: translateY(0); }
    .property-grid {
        padding: 10px !important;
    }
    .section-header{
        padding: 10px !important;
    }
    /* 2. STYLE KHUSUS DROPDOWN MOBILE BIAR ESTETIK */
    .mobile-search-block {
        position: relative; background: var(--bg-main); border: 1px solid var(--border);
        border-radius: 12px; padding: 12px 16px; cursor: pointer; transition: 0.2s;
    }
    .mobile-search-block:active { background: var(--hover-bg); }
    .mobile-custom-dropdown {
        display: none; background: var(--bg-surface); border: 1px solid var(--border);
        border-radius: 12px; margin-top: 8px; box-shadow: var(--shadow-md);
        overflow: hidden; animation: fadeIn 0.2s;
    }
    .mobile-custom-dropdown.show { display: block; }    
    
    #alert-container { top: 16px; left: 50%; transform: translateX(-50%); width: 90%; }
    .custom-alert { border-radius: 50px; justify-content: center; transform: translateY(-100px); }
    .custom-alert.show { transform: translateY(0); }
}

@media (min-width: 769px) {
    #alert-container { bottom: 30px; right: 30px; display: flex; flex-direction: column-reverse; }
    .custom-alert { transform: translateX(100px); }
    .custom-alert.show { transform: translateX(0); }
}

/* =========================================
   TAMBAHAN SEARCH & FILTER ESTETIK
   ========================================= */

/* Hero Mini Search */
.search-hero { position: relative; width: 100%; height: 160px; background: linear-gradient(to right, var(--primary), var(--primary-dark)); overflow: hidden; }
.hero-overlay-mini { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?q=80&w=1200&auto=format&fit=crop') center/cover; opacity: 0.3; mix-blend-mode: overlay; }

/* Result Bar Clean */
.result-bar-clean { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.result-bar-clean h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-strong); }
.result-actions { display: flex; align-items: center; gap: 12px; }

/* Sort & Filter Button */
.sort-box { display: flex; align-items: center; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 0 16px; height: 44px; transition: 0.2s; }
.sort-box:hover { border-color: var(--text-strong); }
.sort-box i { color: var(--text-medium); margin-right: 8px; }
.sort-box select { border: none; background: transparent; outline: none; font-size: 0.95rem; font-weight: 600; color: var(--text-strong); cursor: pointer; height: 100%; }
.btn-filter-clean { display: flex; align-items: center; gap: 8px; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-strong); height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.2s; }
.btn-filter-clean:hover { background: var(--hover-bg); border-color: var(--text-strong); }

/* Map Container */
.map-container-clean { width: 100%; height: 320px; background: var(--skeleton-bg); border-radius: 16px; overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); z-index: 10; position: relative; }

/* Action Buttons untuk Card (Tetap estetik ngikutin INIKOSKU) */
.card-actions-clean { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.btn-pesan-clean { flex: 1; background: var(--primary-action); color: #fff; border: none; padding: 10px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 6px; }
.btn-pesan-clean:hover { background: #dca735; transform: translateY(-2px); }
.btn-survei-clean { flex: 1; background: transparent; border: 1px solid var(--text-strong); color: var(--text-strong); padding: 10px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 6px; }
.btn-survei-clean:hover { background: var(--hover-bg); transform: translateY(-2px); }

/* Filter Modal UI */
.filter-section { margin-bottom: 24px; }
.filter-title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--text-strong); }
.gender-toggle { display: flex; gap: 10px; }
.gender-btn { flex: 1; padding: 12px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; font-weight: 600; color: var(--text-medium); cursor: pointer; transition: 0.2s; }
.gender-btn.active { background: var(--text-strong); color: var(--bg-surface); border-color: var(--text-strong); }
.price-inputs { display: flex; align-items: center; gap: 10px; }
.price-box { flex: 1; display: flex; align-items: center; background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.price-box span { font-weight: 600; color: var(--text-medium); margin-right: 8px; }
.price-box input { border: none; background: transparent; outline: none; width: 100%; font-size: 0.95rem; font-weight: 600; color: var(--text-strong); }

@media (max-width: 768px) {
    .result-bar-clean { flex-direction: column; align-items: stretch; }
    .sort-box { flex: 1; justify-content: center; }
    .btn-filter-clean { flex: 1; justify-content: center; }
}

/* =========================================================
   ▶▶ FULL CSS KHUSUS HALAMAN DETAIL KOS (detail.html) ◀◀
   ========================================================= */

/* --- 1. Gallery Tabs & Grid (Desktop) --- */
.gallery-tabs { display: flex; gap: 12px; margin-bottom: 16px; }
.gallery-tab-btn { background: var(--bg-surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 20px; font-weight: 600; color: var(--text-medium); cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
.gallery-tab-btn.active { background: var(--text-strong); color: var(--bg-surface); border-color: var(--text-strong); }
.media-view { display: none; animation: fadeIn 0.3s; }
.media-view.active { display: block; }

.gallery-grid-clean { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 10px; border-radius: 16px; overflow: hidden; margin-bottom: 30px; }
.grid-main { grid-column: 1; grid-row: 1 / 3; background-size: cover; background-position: center; cursor: pointer; transition: 0.3s; }
.grid-sub { background-size: cover; background-position: center; cursor: pointer; transition: 0.3s; position: relative; }
.grid-main:hover, .grid-sub:hover { filter: brightness(0.85); }
.grid-overlay-text { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; color: #fff; font-weight: 700; font-size: 1.1rem; }

/* --- 2. Mobile Slider & Video View --- */
.mobile-slider-img { width: 100%; height: 280px; background-size: cover; background-position: center; position: relative; border-radius: 12px; margin-bottom: 20px; }
.gallery-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 12px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; }
.video-wrapper-clean { width: 100%; height: 410px; background: #000; border-radius: 16px; display: flex; justify-content: center; align-items: center; margin-bottom: 30px; }
.play-icon { font-size: 4rem; color: var(--primary); opacity: 0.8; cursor: pointer; transition: 0.2s; }
.play-icon:hover { opacity: 1; transform: scale(1.1); }

/* --- 3. Split Layout & Header Info --- */
.detail-content-split { display: flex; gap: 2%; align-items: flex-start; }
.detail-left { width: 100% !important;flex: 6.5; }
.detail-right { flex: 3.5; position: sticky; top: 100px; z-index: 10; }

.badges-row { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; flex-wrap: wrap;}
.badge-type { background: var(--text-strong); color: var(--bg-surface); padding: 6px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; }
.badge-promo { background: var(--primary-action); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.promo-badge-small { display: inline-block; background: rgba(245, 194, 76, 0.1); color: var(--primary-action); padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; }

.detail-header-info h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; color: var(--text-strong); }
.meta-row { font-size: 1rem; color: var(--text-medium); display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 12px; }
.meta-row .rating { color: var(--primary-dark); }
.transaction-info { display: inline-flex; align-items: center; gap: 8px; background: rgba(245, 194, 76, 0.15); color: var(--primary-dark); padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(245, 194, 76, 0.3); }

.divider-line { width: 100%; height: 1px; background: var(--border); margin: 32px 0; }
.detail-section h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; color: var(--text-strong); }

/* --- 4. Ketersediaan Kamar --- */
.availability-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.avail-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-surface); }
.avail-item.ready { border-left: 4px solid #10b981; }
.avail-item.waiting { border-left: 4px solid #f59e0b; }
.avail-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.1rem; }
.avail-item.ready .avail-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.avail-item.waiting .avail-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.avail-text { display: flex; flex-direction: column; }
.avail-text strong { font-size: 0.9rem; color: var(--text-strong); }
.avail-text span { font-size: 0.8rem; font-weight: 600; }
.avail-item.ready .avail-text span { color: #10b981; }
.avail-item.waiting .avail-text span { color: #f59e0b; }

/* --- 5. Keunggulan Banner & Deskripsi --- */
.keunggulan-banner { background: var(--bg-surface); border: 2px solid var(--primary); border-radius: 16px; padding: 20px; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }
.keunggulan-banner:hover { background: rgba(245, 194, 76, 0.05); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.k-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.k-header h3 { color: var(--text-strong); margin: 0; font-size: 1.1rem; }
.k-header i { color: var(--primary); font-size: 1.2rem; }
.k-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.k-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--text-strong); }
.k-item i { width: 32px; height: 32px; background: rgba(245, 194, 76, 0.2); color: var(--primary-dark); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.9rem; }

.description-box { font-size: 1rem; line-height: 1.7; color: var(--text-strong); max-height: 100px; overflow: hidden; position: relative; transition: max-height 0.4s ease; }
.description-box::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: linear-gradient(transparent, var(--bg-main)); transition: opacity 0.4s; }
.description-box.expanded { max-height: 1000px; }
.description-box.expanded::after { opacity: 0; pointer-events: none; }
.btn-text-link { background: none; border: none; font-size: 0.95rem; font-weight: 700; color: var(--text-strong); text-decoration: underline; cursor: pointer; margin-top: 10px; display: flex; align-items: center; gap: 6px; }

/* --- 6. Fasilitas --- */
.facility-title { font-size: 1rem; color: var(--text-medium); margin-bottom: 12px; margin-top: 24px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.facilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facility-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 600; color: var(--text-strong); }
.facility-item i { font-size: 1.2rem; width: 24px; text-align: center; color: var(--text-medium); }

/* --- 7. Sticky Booking & Input --- */
.sticky-booking-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-lg); }
.price-strike { font-size: 0.9rem; color: var(--text-light); text-decoration: line-through; display: block; margin-bottom: 4px; }
.price-main { font-size: 1.6rem; font-weight: 800; color: var(--text-strong); }
.price-unit { font-size: 0.9rem; color: var(--text-medium); }

.booking-inputs { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-main); margin-top: 16px;}
.input-group-grid { display: grid; grid-template-columns: 1fr 1fr; }
.input-cell { padding: 14px 16px; display: flex; flex-direction: column; transition: 0.2s; border-color: var(--border); }
.input-cell:hover { background: var(--hover-bg); }
.input-cell label { font-size: 0.65rem; font-weight: 800; color: var(--text-medium); margin-bottom: 6px; }
.border-right { border-right: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.full-width { grid-column: 1 / 3; }
.btn-block { width: 100%; }

.clean-select, .clean-input { width: 100%; border: none; background: transparent; outline: none; font-size: 0.95rem; color: var(--text-strong); font-weight: 600; cursor: pointer; appearance: none; }
.booking-note { text-align: center; font-size: 0.8rem; color: var(--text-medium); margin-top: 16px; }

.price-breakdown { display: flex; flex-direction: column; gap: 12px; }
.price-row { display: flex; justify-content: space-between; font-size: 0.95rem; font-weight: 600; color: var(--text-strong); }
.price-row.total { font-weight: 800; font-size: 1.1rem; padding-top: 16px; border-top: 1px solid var(--border); }

/* --- 8. Lightbox Overlay --- */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: 0.3s; }
.lightbox-overlay.show { opacity: 1; visibility: visible; }
.lightbox-topbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
.lightbox-counter { color: #fff; font-weight: 600; font-size: 1.1rem; }
.lightbox-close { background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.lightbox-content { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; padding: 20px; }
#lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; user-select: none; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; width: 60px; height: 60px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; }
.lb-nav:hover { background: rgba(255,255,255,0.3); }
.lb-prev { left: 40px; }
.lb-next { right: 40px; }

/* --- 9. Flatpickr Tweak --- */
.flatpickr-calendar { font-family: 'DM Sans', sans-serif !important; border-radius: 12px !important; box-shadow: var(--shadow-lg) !important; border: 1px solid var(--border) !important; }
.flatpickr-day.selected { background: var(--primary) !important; border-color: var(--primary) !important; color: #000 !important; font-weight: 700; }
.flatpickr-day.flatpickr-disabled { color: rgba(150,150,150,0.3) !important; }

/* --- 10. Mobile Responsiveness Detail --- */
.mobile-bottom-booking-detail { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-surface); border-top: 1px solid var(--border); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; padding-bottom: calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 12px rgba(0,0,0,0.05); }
.mobile-bottom-booking { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-surface); border-top: 1px solid var(--border); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; padding-bottom: calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 12px rgba(0,0,0,0.05); }

@media (max-width: 768px) {
    .detail-container { padding-top: 0 !important; padding-left: 0; padding-right: 0; }
    .header .nav-actions, .header .brand { display: none; }
    .header { padding: 0 16px; background: transparent; border: none; }
    .header .icon-btn { background: rgba(255,255,255,0.9); box-shadow: var(--shadow-sm); }
    
    .gallery-grid-clean { display: none; } /* Hide desktop grid */
    .gallery-tabs { padding: 0 16px; margin-top: -40px; position: relative; z-index: 10; justify-content: center; }
    
    .detail-content-split { flex-direction: column; }
    .detail-left { padding: 0px 0px; }
    .detail-header-info h1 { font-size: 1.6rem; }
    
    .k-items { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: 1fr; }
    
    .lb-nav { display: none; /* Hide arrows on mobile lightbox */ }
    #lightbox-img { max-width: 100vw; max-height: 70vh; border-radius: 0; }
}

/* =========================================
   FIX BOTTOM NAV & BOOKING BAR (MOBILE ONLY)
   ========================================= */

/* 1. Hilangkan total dari Desktop (Layar di atas 768px) */
@media (min-width: 769px) {
    .bottom-nav, 
    .mobile-bottom-booking {
        display: none !important;
    }
}

/* 2. Pastikan muncul dengan rapi di Mobile (Layar di bawah 768px) */
@media (max-width: 768px) {
    .bottom-nav, 
    .mobile-bottom-booking {
        display: flex !important;
    }

    /* KHUSUS HALAMAN DETAIL: 
       Kalau navbottom (menu home/profil) tabrakan sama tombol booking, 
       sembunyikan navbottom-nya pakai kode di bawah ini. 
       (Hapus tanda komentar /* ... */ /* kalau mau dipakai) */
       
    /*
    .detail-container ~ .bottom-nav {
        display: none !important; 
    }
    */
}

/* =========================================
   FIX TABS FOTO/VIDEO & BACK BUTTON MOBILE
   ========================================= */

/* 1. Estetika Tab Foto & Video (Desktop & Mobile) */
.gallery-tabs { 
    display: inline-flex; 
    background: var(--bg-surface); 
    padding: 6px; 
    border-radius: 50px; 
    box-shadow: var(--shadow-sm); 
    border: 1px solid var(--border);
    margin-bottom: 24px; 
    gap: 4px;
}
.gallery-tab-btn { 
    background: transparent; 
    border: none; 
    padding: 10px 24px; 
    border-radius: 40px; 
    font-weight: 700; 
    font-size: 0.95rem;
    color: var(--text-medium); 
    cursor: pointer; 
    transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.gallery-tab-btn i { font-size: 1.1rem; transition: 0.2s; }
.gallery-tab-btn:hover { color: var(--text-strong); }
.gallery-tab-btn.active { 
    background: var(--text-strong); 
    color: var(--bg-surface); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 2. Fix Jarak Tombol Kembali & Penempatan Tab di Mobile */
@media (max-width: 768px) {
    /* Paksa tombol kembali biar mepet ke kiri (Ngelawan inline style) */
    .header .nav-container { 
        padding-left: 12px !important; 
        gap: 12px !important; 
    }
    .header .icon-btn.mobile-only {
        margin-left: -9px; /* Tarik sedikit ke kiri */
        background: rgba(255, 255, 255, 0.95); /* Biar buletannya lebih tegas */
    }
    
    /* Posisi Tab di Mobile biar menonjol & Estetik */
    .gallery-tabs { 
        margin-top: -24px; /* Posisinya ditarik ke atas gambar sedikit */
        margin-left: 16px;
        margin-bottom: 24px;
        position: relative; 
        z-index: 10; 
        box-shadow: var(--shadow-md);
        background: rgba(255, 255, 255, 0.85); /* Efek kaca (Glassmorphism) */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* =========================================
   TAMBAHAN TOMBOL SURVEI (DESKTOP & MOBILE)
   ========================================= */

/* Desktop Outline Button Margin Fix */
.btn-outline.btn-block {
    width: 100%;
    border: 2px solid var(--border);
    color: var(--text-strong);
    background: transparent;
    transition: 0.2s;
}
.btn-outline.btn-block:hover {
    border-color: var(--text-strong);
    background: var(--hover-bg);
}

/* Mobile Floating Action Button (FAB) Survei */
.fab-survey {
    position: fixed;
    bottom: 95px; /* Ngambang pas di atas bottom bar booking */
    right: 20px;
    background: var(--bg-surface);
    color: var(--text-strong);
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
    transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.fab-survey:active {
    transform: scale(0.95);
}
.fab-survey i {
    color: var(--primary-dark);
    font-size: 1.2rem;
}

/* =========================================================
   ▶▶ FULL CSS KHUSUS HALAMAN BOOKING (booking.html) ◀◀
   ========================================================= */

/* Form Container & Cards */
.form-section-card { background: var(--bg-surface); border-radius: 16px; padding: 24px; margin-bottom: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.section-title { font-size: 1.2rem; font-weight: 800; color: var(--text-strong); margin-bottom: 20px; border-bottom: 2px solid var(--hover-bg); padding-bottom: 12px; }

/* Mini Property Card */
.mini-property-card { display: flex; gap: 16px; align-items: center; background: var(--hover-bg); padding: 12px; border-radius: 12px; }
.mini-img { width: 90px; height: 90px; border-radius: 8px; object-fit: cover; }
.mini-info h4 { font-size: 1.1rem; margin: 4px 0; color: var(--text-strong); }
.mini-info p { font-size: 0.85rem; color: var(--text-medium); margin-bottom: 4px; }
.rating-mini { font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); }

/* Switch Toggle (Remarks) */
.remarks-box { display: flex; justify-content: space-between; align-items: center; background: var(--hover-bg); padding: 16px; border-radius: 12px; gap: 16px; }
.remarks-text label { font-weight: 700; color: var(--text-strong); font-size: 0.95rem; display: block; margin-bottom: 4px; }
.remarks-text span { font-size: 0.8rem; color: var(--text-medium); line-height: 1.4; display: block; }
.custom-switch { position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; }
.custom-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: #10b981; }
input:checked + .slider:before { transform: translateX(22px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

/* Occupant Cards */
.occupant-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); padding: 12px 16px; border-radius: 12px; background: var(--bg-surface); }
.occ-avatar { width: 40px; height: 40px; background: var(--primary-light); color: var(--primary-dark); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 1.1rem; }
.occ-details { flex: 1; display: flex; flex-direction: column; }
.occ-details strong { font-size: 0.95rem; color: var(--text-strong); }
.occ-details span { font-size: 0.8rem; color: var(--text-medium); }
.occ-badge { background: var(--hover-bg); padding: 4px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; color: var(--text-medium); }
.btn-add-dashed { width: 100%; background: transparent; border: 2px dashed var(--border); color: var(--primary-dark); padding: 14px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-add-dashed:hover { border-color: var(--primary); background: rgba(245, 194, 76, 0.05); }

/* Form Inputs Modern */
.form-group-modern { display: flex; flex-direction: column; gap: 8px; }
.form-group-modern label { font-size: 0.85rem; font-weight: 700; color: var(--text-strong); }
.modern-input { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; font-size: 0.95rem; color: var(--text-strong); background: var(--bg-surface); outline: none; transition: 0.2s; }
.modern-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245, 194, 76, 0.15); }

/* Phone & Select2 Customization */
.phone-input-wrapper { display: flex; gap: 8px; align-items: stretch; }
.country-code-box { width: 120px; flex-shrink: 0; }
.phone-input { flex: 1; }

/* Override Select2 Theme to match Clean Input */
.select2-container--default .select2-selection--single { height: 50px !important; border: 1px solid var(--border) !important; border-radius: 10px !important; background: var(--bg-surface) !important; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text-strong) !important; font-weight: 600; font-size: 0.95rem; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px !important; right: 8px !important; }
.select2-dropdown { border: 1px solid var(--border) !important; border-radius: 10px !important; box-shadow: var(--shadow-md) !important; overflow: hidden; background: var(--bg-surface) !important; }
.select2-search__field { border-radius: 6px !important; outline: none !important; padding: 8px !important; }
.select2-results__option { padding: 10px 12px !important; font-size: 0.9rem; color: var(--text-strong) !important;}
.select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--primary) !important; color: #000 !important; }

/* Payment Methods Radio Cards */
.payment-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.payment-radio-label { cursor: pointer; }
.payment-radio-label input { display: none; /* Hide default radio */ }
.payment-card { display: flex; align-items: center; gap: 16px; padding: 16px; border: 2px solid var(--border); border-radius: 12px; background: var(--bg-surface); transition: 0.2s; }
.pay-icon { width: 40px; height: 40px; background: var(--hover-bg); border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; color: var(--text-strong); transition: 0.2s;}
.pay-text { flex: 1; font-weight: 700; font-size: 0.95rem; color: var(--text-strong); }
.pay-check { color: transparent; font-size: 1.2rem; transition: 0.2s; }

/* Active State for Payment Card */
.payment-radio-label input:checked + .payment-card { border-color: var(--primary); background: rgba(245, 194, 76, 0.05); }
.payment-radio-label input:checked + .payment-card .pay-icon { background: var(--primary); color: #000; }
.payment-radio-label input:checked + .payment-card .pay-check { color: var(--primary); }

/* Right Summary Card */
.summary-card { top: 100px; } /* Sticky position */

@media (max-width: 768px) {
    .form-section-card { padding: 16px; border-radius: 0; border-left: none; border-right: none; margin-bottom: 8px; }
    .remarks-box { flex-direction: column; align-items: flex-start; }
}


/* --- 1. Phone Input Rapi (Sesuai Gambar) --- */
.phone-input-wrapper-clean { display: flex; gap: 12px; align-items: stretch; width: 100%; }
.country-code-box { width: 100px; flex-shrink: 0; }
.phone-input { flex: 1; }

/* Override Select2 agar Rapi & Estetik */
.select2-container--default .select2-selection--single { height: 50px !important; border: 1px solid var(--border) !important; border-radius: 12px !important; background: var(--bg-surface) !important; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text-strong) !important; font-weight: 700; font-size: 0.95rem; padding-left: 12px; line-height: normal !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px !important; right: 8px !important; }
.select2-dropdown { border: 1px solid var(--border) !important; border-radius: 12px !important; box-shadow: var(--shadow-lg) !important; overflow: hidden; z-index: 9999; }
.select2-search__field { border-radius: 8px !important; outline: none !important; padding: 10px !important; border: 1px solid var(--border) !important; }
.select2-results__option { padding: 12px 16px !important; font-size: 0.95rem; font-weight: 500; color: var(--text-strong) !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--primary) !important; color: #000 !important; font-weight: 700; }

/* --- 2. Bank Logos --- */
.bank-logo { height: 20px; object-fit: contain; width: auto; max-width: 60px; margin-right: 8px; }

/* --- 3. Radio Type Pembayaran (DP / Full) --- */
.payment-type-box { display: flex; flex-direction: column; gap: 12px; }
.payment-type-label { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: 0.2s; background: var(--bg-surface); }
.payment-type-label input { display: none; }
.pt-content { display: flex; flex-direction: column; }
.pt-content strong { font-size: 1rem; color: var(--text-strong); margin-bottom: 4px; }
.pt-content span { font-size: 0.8rem; color: var(--text-medium); }
.pt-radio { width: 24px; height: 24px; border: 2px solid var(--text-medium); border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.pt-dot { width: 12px; height: 12px; background: var(--primary); border-radius: 50%; opacity: 0; transition: 0.2s; transform: scale(0); }

.payment-type-label input:checked + .pt-content + .pt-radio { border-color: var(--primary); }
.payment-type-label input:checked + .pt-content + .pt-radio .pt-dot { opacity: 1; transform: scale(1); }
.payment-type-label:has(input:checked) { border-color: var(--primary); background: rgba(245, 194, 76, 0.05); }

/* --- 4. Modal Daftar Penghuni Ala Traveloka --- */
.occ-select-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; max-height: 300px; overflow-y: auto; padding-right: 8px; }
.occ-select-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: 0.2s; }
.occ-select-item:hover { background: var(--hover-bg); }
.occ-select-item input { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; }

/* --- 5. Mobile FAB Scroll & Bottom Bar --- */
.fab-scroll-summary { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text-strong); color: var(--bg-surface); border: none; padding: 14px 24px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); z-index: 1000; transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1); cursor: pointer; }
.fab-scroll-summary:active { transform: translateX(-50%) scale(0.95); }

.mobile-bottom-booking { transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s; transform: translateY(120%); opacity: 0; display: flex;}
.mobile-bottom-booking.show { transform: translateY(0); opacity: 1; }

@media (max-width: 768px) {
    /* Rincian pesanan di mobile masuk ke normal flow */
    .detail-content-split { flex-direction: column; gap: 24px; padding-bottom: 200px !important; padding: 15px !important;}
    .detail-right { position: relative; top: 0; width: 100%; }
    .summary-card { box-shadow: none; border-left: none; border-right: none; border-radius: 0; padding: 16px; }
}

/* =========================================================
   STYLING KHUSUS PROMO & VOUCHER
   ========================================================= */
.promo-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px dashed #10b981; /* Warna hijau khas promo */
    background-color: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    margin: 16px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-trigger:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

.promo-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #10b981;
    font-weight: 700;
    font-size: 0.95rem;
}

.voucher-item-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin-bottom: 12px;
    transition: 0.2s;
}

.voucher-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


/* =========================================================
   STYLE PAYMENT INSTRUCTION (2 KOLOM - OTA STYLE)
   ========================================================= */

/* Timer Banner */
.pi-timer-banner {
    background: rgba(245, 194, 76, 0.15); /* Kuning lembut */
    border: 1px solid rgba(245, 194, 76, 0.5);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pi-timer-text {
    display: flex;
    flex-direction: column;
}

.pi-countdown {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark, #d97706);
    margin: 4px 0;
}

.pi-timer-icon {
    font-size: 2.5rem;
    color: var(--primary, #f5c24c);
    opacity: 0.4;
}

/* Bank Header */
.pi-bank-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pi-bank-logo {
    height: 24px;
    object-fit: contain;
}

.pi-bank-name {
    display: flex;
    flex-direction: column;
}

/* Copy Box Details */
.pi-info-row {
    margin-bottom: 20px;
}

.pi-info-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.pi-copy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--hover-bg);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 12px;
}

.pi-number-display {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-strong);
}

.pi-amount-display {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-action);
}

.pi-btn-copy {
    background: none;
    border: none;
    color: #10b981; 
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
}

.pi-btn-copy:hover {
    color: #059669;
}

/* Action Buttons Container */
.pi-action-container {
    margin-bottom: 32px;
}

/* Accordion Instruksi */
.pi-accordion-wrap {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.pi-acc-item {
    border-bottom: 1px solid var(--border);
}

.pi-acc-item:last-child {
    border-bottom: none;
}

.pi-acc-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
}

.pi-acc-header:hover {
    background: var(--hover-bg);
}

.pi-acc-icon {
    color: var(--text-medium);
    transition: transform 0.3s ease;
}

.pi-acc-item.active .pi-acc-icon {
    transform: rotate(180deg);
}

.pi-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
    padding: 0 16px;
}

.pi-acc-item.active .pi-acc-body {
    max-height: 500px;
    padding: 0 16px 16px 16px;
}

.pi-acc-body ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================================
   STYLE KHUSUS WISHLIST PAGE (OTA STYLE)
   Prefix class: wl-
   ========================================================= */

.wl-main-container {
    padding-top: 24px;
    padding-bottom: 80px;
}

.wl-header-section {
    margin-bottom: 30px;
}

/* Grid Layout (Responsive: 1 kolom di HP, 2 di Tablet, 3 di Desktop) */
.wl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    transition: all 0.3s ease;
}

/* Wishlist Card Styling */
.wl-card {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wl-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.wl-card.removing {
    opacity: 0;
    transform: scale(0.9);
}

/* Image Box Area */
.wl-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3; /* Aspek rasio gambar kosan yang pas */
    overflow: hidden;
    background: #e0e0e0;
}

.wl-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wl-card:hover .wl-img {
    transform: scale(1.05); /* Efek zoom tipis saat dihover */
}

.wl-img-dimmed {
    filter: grayscale(100%) brightness(70%);
}

.wl-overlay-full {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

/* Badges (Kiri Atas) */
.wl-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.wl-badge-campur { background: #8b5cf6; } /* Ungu */
.wl-badge-putri { background: #ec4899; } /* Pink */
.wl-badge-putra { background: #3b82f6; } /* Biru */

/* Tombol Heart (Kanan Atas) */
.wl-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.1s;
}

.wl-heart-btn:active {
    transform: scale(0.8);
}

.wl-heart-btn.active i {
    color: var(--primary-action, #F5C24C); 
    font-size: 1.1rem;
}

/* Info Area (Bawah Gambar) */
.wl-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wl-rating {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-strong, #1f2937);
}

.wl-rating i {
    color: #f59e0b; /* Kuning Bintang */
}

.wl-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.wl-status-avail { background: #d1fae5; color: #059669; } /* Hijau */
.wl-status-full { background: #fee2e2; color: #dc2626; } /* Merah */

.wl-title {
    margin: 8px 0 4px 0;
    font-size: 1.1rem;
    color: var(--text-strong, #1f2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wl-loc {
    margin: 0 0 12px 0;
    font-size: 0.85rem;
    color: var(--text-medium, #6b7280);
}

.wl-price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border, #e5e7eb);
    padding-top: 12px;
}

.wl-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-action, #F5C24C);
}

.wl-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-medium, #6b7280);
}

.wl-btn-book {
    background: var(--text-strong, #1f2937);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.wl-btn-book:hover {
    background: #000;
}

.wl-btn-disabled {
    background: #e5e7eb;
    color: #9ca3af;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: not-allowed;
}

/* Empty State Styling */
.wl-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed var(--border, #e5e7eb);
    margin-top: 20px;
}

.wl-empty-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 16px;
}

.wl-empty-state h3 {
    margin: 0 0 8px 0;
    color: var(--text-strong, #1f2937);
}

.wl-empty-state p {
    margin: 0;
    color: var(--text-medium, #6b7280);
    font-size: 0.95rem;
}

/* Responsive Mobile Adjustments */
@media (max-width: 768px) {
    .wl-main-container {
        padding-top: 16px;
    }
    
    .wl-grid {
        gap: 16px;
    }
    
    .wl-card:hover {
        transform: none; /* Disable hover movement di mobile biar nggak aneh pas di-tap */
    }
}

/* =========================================================
   STYLE KHUSUS RIWAYAT PESANAN (OTA STYLE)
   Prefix: hb- (History Booking)
   ========================================================= */

.hb-main-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 16px 80px 16px;
}

/* Scrollable Tabs */
.hb-tabs-container {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border, #e5e7eb);
    scrollbar-width: none; /* Firefox */
}

.hb-tabs-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.hb-tab-btn {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium, #6b7280);
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

.hb-tab-btn:hover {
    background: var(--hover-bg, #f4f6f8);
}

.hb-tab-btn.active {
    background: var(--primary-action, #F5C24C);
    color: #fff;
    border-color: var(--primary-action, #F5C24C);
}

/* History Card */
.hb-card {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card Header (Status & ID) */
.hb-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px dashed var(--border, #e5e7eb);
    background: #fafafa;
}

.hb-status-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Warna Status yang User Friendly */
.hb-badge-warning { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; } /* Orange */
.hb-badge-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; } /* Merah */
.hb-badge-success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; } /* Hijau */
.hb-badge-neutral { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; } /* Biru */
.hb-badge-dimmed { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; } /* Abu-abu */

.hb-text-danger { color: #dc2626 !important; }
.hb-text-success { color: #059669 !important; }

.hb-order-id {
    font-size: 0.8rem;
    color: var(--text-medium, #6b7280);
    font-family: monospace;
}

/* Banner Alert Khusus (Misal: Jatuh Tempo) */
.hb-alert-banner {
    background: #fef2f2;
    color: #b91c1c;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid #fecaca;
}

/* Card Body (Detail Pesanan) */
.hb-card-body {
    display: flex;
    gap: 16px;
    padding: 16px;
}

.hb-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.hb-img-dimmed {
    filter: grayscale(100%);
    opacity: 0.6;
}

.hb-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hb-title {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--text-strong, #1f2937);
    font-weight: 700;
}

.hb-detail, .hb-loc {
    margin: 0 0 4px 0;
    font-size: 0.85rem;
    color: var(--text-medium, #6b7280);
}

/* Card Footer (Harga & Tombol) */
.hb-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-top: 1px solid var(--border, #e5e7eb);
    flex-wrap: wrap; /* Biar rapi kalau di HP layarnya sempit */
    gap: 12px;
}

.hb-price-box {
    display: flex;
    flex-direction: column;
}

.hb-label {
    font-size: 0.75rem;
    color: var(--text-medium, #6b7280);
    margin-bottom: 2px;
}

.hb-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-strong, #1f2937);
}

.hb-action-box {
    display: flex;
    gap: 8px;
}

/* Buttons */
.hb-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.hb-btn-primary {
    background: var(--primary-action, #F5C24C);
    color: #fff;
    box-shadow: 0 4px 10px rgba(245, 194, 76, 0.2);
}

.hb-btn-danger {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.hb-btn-outline {
    background: transparent;
    color: var(--text-strong, #1f2937);
    border: 1px solid var(--border, #e5e7eb);
}

.hb-btn:active {
    transform: scale(0.95);
}

/* Empty State */
.hb-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed var(--border, #e5e7eb);
    margin-top: 20px;
}

.hb-empty-state h3 {
    margin: 0 0 8px 0;
    color: var(--text-strong, #1f2937);
}

.hb-empty-state p {
    margin: 0;
    color: var(--text-medium, #6b7280);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .hb-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hb-action-box {
        width: 100%;
        display: grid; /* Tombol jadi full width di HP */
        grid-template-columns: 1fr;
    }
    
    .hb-action-box button {
        width: 100%;
    }
    
    .hb-action-box button:nth-child(2) {
        margin-top: 8px; /* Jarak antar tombol di HP */
    }
}

/* =========================================================
   STYLE KHUSUS DETAIL BOOKING (FIXED OVERFLOW & MODAL)
   Prefix: db-
   ========================================================= */

.db-container { max-width: 1100px; margin: 0 auto; padding: 24px 20px 80px 20px; box-sizing: border-box; }

/* Grid Flex Fix */
.db-grid { display: flex; gap: 24px; align-items: flex-start; }
.db-col-left { flex: 2; min-width: 0; width: 100%; /* Fix tabel jebol */ }
.db-col-right { flex: 1; min-width: 0; width: 100%; }

/* Alerts & Cards */
.db-alert { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 12px; margin-bottom: 20px; }
.db-alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }
.db-alert-danger { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.db-alert-icon { font-size: 1.5rem; margin-top: 2px; }
.db-alert-text { flex-grow: 1; display: flex; flex-direction: column; }
.db-alert-text strong { font-size: 0.95rem; margin-bottom: 4px; }
.db-alert-text span { font-size: 0.85rem; }
.db-btn-alert { background: #1f2937; color: #fff; border: none; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 0.8rem; cursor: pointer; white-space: nowrap; }

.db-card { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 16px; padding: 20px; margin-bottom: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); overflow: hidden; /* Fix inner overflow */ }
.db-card-title { margin: 0 0 16px 0; font-size: 1.1rem; font-weight: 800; color: var(--text-strong, #1f2937); display: flex; align-items: center; gap: 8px; }
.db-card-title i { color: var(--primary, #f5c24c); }
.db-info-list { display: flex; flex-direction: column; gap: 12px; }
.db-info-item { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px dashed var(--border, #e5e7eb); }
.db-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.db-label { font-size: 0.9rem; color: var(--text-medium, #6b7280); width: 40%; }
.db-val { font-size: 0.95rem; font-weight: 600; color: var(--text-strong, #1f2937); text-align: right; width: 60%; }

/* WiFi & Badges */
.db-wifi-box { display: flex; flex-direction: column; align-items: flex-end; }
.db-pwd-wrap { display: flex; align-items: center; background: var(--hover-bg, #f4f6f8); padding: 6px 12px; border-radius: 6px; margin-top: 4px; border: 1px solid var(--border, #e5e7eb); }
.db-pwd-input { background: transparent; border: none; font-size: 0.85rem; font-weight: 700; color: var(--text-strong); width: 85px; outline: none; text-align: right; margin-right: 8px; }
.db-eye-icon { color: var(--text-medium); cursor: pointer; transition: 0.2s; }
.db-badge { padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.db-badge-blue { background: #eff6ff; color: #2563eb; }
.db-badge-green { background: #ecfdf5; color: #059669; }
.db-badge-warning { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

/* FIX TABEL OVERFLOW */
.db-table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border, #e5e7eb); border-radius: 8px; display: block; }
.db-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 550px; }
.db-table th { background: var(--hover-bg, #f4f6f8); color: var(--text-medium); text-align: left; padding: 12px; font-weight: 600; white-space: nowrap; }
.db-table td { padding: 12px; border-bottom: 1px solid var(--border, #e5e7eb); color: var(--text-strong); vertical-align: middle; }

/* Contact & Action Box */
.db-contact-box, .db-occupant-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border, #e5e7eb); border-radius: 12px; margin-bottom: 10px; }
.db-contact-avatar, .db-occ-avatar { width: 40px; height: 40px; border-radius: 50%; background: #e2e8f0; display: flex; justify-content: center; align-items: center; font-weight: 800; color: #475569; flex-shrink: 0;}
.db-contact-detail, .db-occ-info { flex-grow: 1; display: flex; flex-direction: column; }
.db-contact-detail strong, .db-occ-info strong { font-size: 0.95rem; color: var(--text-strong); }
.db-contact-detail span, .db-occ-info span { font-size: 0.8rem; color: var(--text-medium); }

.db-sticky-action { background: #fff; border: 1px solid var(--primary-action, #F5C24C); border-radius: 16px; padding: 20px; margin-bottom: 24px; position: sticky; top: 90px; box-shadow: 0 4px 20px rgba(245, 194, 76, 0.1); }
.db-action-header { display: flex; flex-direction: column; margin-bottom: 16px; }

/* Buttons */
.db-btn { padding: 12px 16px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.db-btn-block { width: 100%; box-sizing: border-box; }
.db-btn-primary { background: var(--text-strong, #1f2937); color: #fff; }
.db-btn-danger { background: #dc2626; color: #fff; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2); }
.db-btn-outline { background: #fff; border: 1px solid var(--border, #ccc); color: var(--text-strong); }
.db-btn-small { padding: 6px 12px; font-size: 0.8rem; border-radius: 6px; white-space: nowrap; }

/* Modal Khusus & Form */
.db-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(3px); }
.db-modal-content { background: #fff; width: 90%; max-width: 450px; border-radius: 16px; overflow: hidden; animation: dbModalPop 0.3s ease; display: flex; flex-direction: column; max-height: 90vh; }
@keyframes dbModalPop { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.db-modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.db-modal-header h3 { margin: 0; font-size: 1.1rem; }
.db-close-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-medium); }
.db-modal-body { padding: 20px; overflow-y: auto; }
.db-input { width: 100%; padding: 12px; border: 1px solid var(--border, #ccc); border-radius: 8px; font-size: 1rem; box-sizing: border-box; outline: none; }
.db-upload-box { border: 2px dashed var(--border, #ccc); border-radius: 12px; padding: 2px; text-align: center; background: #fafafa; position: relative; }
.db-upload-label { display: flex; flex-direction: column; align-items: center; padding: 30px 20px; cursor: pointer; color: var(--text-medium); }
.db-upload-label i { font-size: 2rem; margin-bottom: 8px; color: var(--primary, #f5c24c); }
.db-img-preview { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

/* Invoice & Switch */
.db-invoice-modern { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 12px; padding: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.db-inv-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.db-inv-highlight { background: var(--hover-bg, #f9fafb); padding: 10px 12px; border-radius: 8px; margin-left: -12px; margin-right: -12px; }
.db-inv-left { display: flex; flex-direction: column; gap: 4px; }
.db-inv-title { font-size: 0.95rem; color: var(--text-strong); font-weight: 600; }
.db-inv-subtitle { font-size: 0.8rem; color: var(--text-medium); }
.db-inv-price { font-size: 0.95rem; font-weight: 700; color: var(--text-strong); }
.db-inv-divider { border-top: 2px dashed var(--border, #e5e7eb); margin: 16px 0; }
.db-inv-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 800; }
.db-inv-total-row span { color: var(--text-strong); }
.db-inv-total-row strong { color: var(--primary-action, #F5C24C); font-size: 1.3rem; }

.db-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.db-toggle-switch input { opacity: 0; width: 0; height: 0; }
.db-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 24px; }
.db-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.db-toggle-switch input:checked + .db-slider { background-color: #10b981; }
.db-toggle-switch input:checked + .db-slider:before { transform: translateX(20px); }

/* NEW: Voucher & Payment Accordion */
.db-voucher-input-box { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.db-voucher-input-box input { flex-grow: 1; border: none; padding: 12px; outline: none; font-size: 0.95rem; }
.db-voucher-input-box button { background: var(--text-strong); color: #fff; border: none; padding: 0 16px; font-weight: bold; cursor: pointer; }

.db-payment-acc { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.db-pay-acc-header { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; cursor: pointer; background: var(--hover-bg); }
.db-pay-acc-header i { transition: 0.3s; }
.db-payment-acc.open .db-pay-acc-header i { transform: rotate(180deg); }
.db-pay-acc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.db-payment-acc.open .db-pay-acc-body { max-height: 300px; }
.db-pay-list { display: flex; flex-direction: column; padding: 10px 16px; gap: 12px; }
.db-pay-item { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.db-pay-item img { height: 18px; object-fit: contain; }

.db-toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 10000; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 0.9rem; transition: 0.3s; opacity: 0; }

/* Mobile Reorder */
@media (max-width: 991px) {
    .db-grid { flex-direction: column; }
    .db-col-left { order: 2; width: 100%; }
    .db-col-right { order: 1; width: 100%; }
    .db-sticky-action { position: static; margin-bottom: 0; margin-top: 10px; }
    .db-info-item { flex-direction: column; align-items: flex-start; gap: 4px; }
    .db-val { text-align: left; width: 100%; }
}

/* =========================================================
   TAMBAHAN CSS VOUCHER MODAL & PAYMENT ACCORDION
   Taruh di paling bawah style.css lu
   ========================================================= */

/* Tombol Trigger Promo */
.db-promo-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px dashed var(--primary-action, #F5C24C);
    background-color: rgba(245, 194, 76, 0.05);
    border-radius: 8px;
    margin-top: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.db-promo-trigger:hover {
    background-color: rgba(245, 194, 76, 0.1);
}

.db-promo-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-action, #F5C24C);
    font-weight: bold;
    font-size: 0.95rem;
}

/* Modal Voucher Info */
.db-voucher-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.db-voucher-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 70%;
}

.db-voucher-info strong { font-size: 0.95rem; color: var(--text-strong); }
.db-voucher-info span { font-size: 0.8rem; color: var(--text-medium); }

/* =========================================================
   STYLE KHUSUS HALAMAN SETTINGS / AKUN (OTA STYLE)
   Prefix: st-
   ========================================================= */

.st-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Penyesuaian karena header FIXED 60px */
.st-main-wrapper {
    margin-top: 80px; 
    padding-bottom: 80px;
}

/* Layout Grid Desktop */
.st-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.st-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.st-content {
    flex-grow: 1;
    min-width: 0;
}

/* ================= SIDEBAR / MOBILE MENU ================= */

/* Profile Card */
.st-profile-card {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.st-avatar-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.st-profile-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.st-name {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-strong, #1f2937);
}

.st-email {
    font-size: 0.85rem;
    color: var(--text-medium, #6b7280);
    margin-bottom: 6px;
}

.st-badge {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    width: max-content;
}

/* Navigation List */
.st-nav-menu {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.st-nav-group {
    border-bottom: 8px solid var(--hover-bg, #f4f6f8);
}

.st-nav-label {
    padding: 16px 20px 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.st-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-strong, #1f2937);
    border-bottom: 1px solid var(--border, #e5e7eb);
    transition: background 0.2s;
}

.st-nav-item:last-child {
    border-bottom: none;
}

.st-nav-item:hover {
    background: var(--hover-bg, #f9fafb);
}

.st-nav-item.active {
    background: rgba(245, 194, 76, 0.05); /* Highlight warna primary lu */
    border-right: 4px solid var(--primary-action, #F5C24C);
}

.st-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.st-nav-left i {
    width: 20px;
    text-align: center;
    color: var(--text-medium, #6b7280);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.st-nav-item:hover .st-nav-left i,
.st-nav-item.active .st-nav-left i {
    color: var(--primary-action, #F5C24C);
}

.st-text-danger .st-nav-left i, 
.st-text-danger .st-nav-left span {
    color: #dc2626 !important;
}

/* ================= CONTENT AREA (DESKTOP) ================= */

.st-content-header h2 {
    margin: 0 0 4px 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-strong);
}

.st-content-header p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.st-card {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.st-form-group {
    margin-bottom: 20px;
}

.st-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 8px;
}

.st-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border, #ccc);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

.st-input:focus {
    border-color: var(--primary-action, #F5C24C);
}

/* Buttons */
.st-btn-primary {
    background: var(--primary-action, #F5C24C);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
}

.st-btn-outline {
    background: #fff;
    color: var(--text-strong);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.st-btn-text {
    background: none;
    border: none;
    color: var(--primary-action, #F5C24C);
    font-weight: 700;
    cursor: pointer;
    padding: 8px;
}

.st-toast {
    visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 10000; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 0.9rem; transition: 0.3s; opacity: 0;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 991px) {
    .st-main-wrapper {
        margin-top: 60px; /* Header mobile mungkin lebih kecil */
        padding: 0; /* Full bleed di mobile */
    }

    .st-layout {
        display: block; /* Matikan grid */
    }

    .st-sidebar {
        width: 100%;
    }

    .st-profile-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        margin-bottom: 0;
        padding: 24px 20px;
        background: #fff;
    }

    .st-mobile-arrow {
        color: var(--text-medium);
        font-size: 1.2rem;
    }

    .st-nav-menu {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        box-shadow: none;
    }

    .st-nav-group {
        border-bottom: 8px solid var(--hover-bg, #f4f6f8);
    }

    .st-nav-arrow {
        color: var(--text-medium);
        font-size: 1rem;
    }

    /* Di mobile, sembunyikan .desktop-only via style.css lu yg lama. 
       Kalau belum ada, ini kodenya: */
    .desktop-only { display: none !important; }
    
    /* Dan pastikan class mobile-only kelihatan */
    .mobile-only { display: block; }
    i.mobile-only, span.mobile-only { display: inline-block; }
}

@media (min-width: 992px) {
    .mobile-only { display: none !important; }
}
/* =========================================================
   STYLE KHUSUS HALAMAN SETTINGS / AKUN (TOKOPEDIA STYLE)
   Prefix: st-
   ========================================================= */

.st-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

.st-main-wrapper {
    margin-top: 80px; 
    padding-bottom: 80px;
}

/* Layout Grid Desktop */
.st-layout { display: flex; gap: 32px; align-items: flex-start; }
.st-sidebar { width: 300px; flex-shrink: 0; }
.st-content { flex-grow: 1; min-width: 0; }

/* ================= SIDEBAR / MOBILE MENU ================= */

/* Profile Card */
.st-profile-card {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.st-avatar-box img {
    width: 55px; height: 55px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.st-profile-info { flex-grow: 1; display: flex; flex-direction: column; }
.st-name { margin: 0 0 4px 0; font-size: 1.1rem; font-weight: 800; color: var(--text-strong, #1f2937); }
.st-email { font-size: 0.85rem; color: var(--text-medium, #6b7280); margin-bottom: 6px; }

.st-badge {
    background: linear-gradient(135deg, #fef08a, #fde047);
    color: #854d0e;
    padding: 2px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: 800; width: max-content;
}

/* ALERT KTP VERIFIKASI */
.st-alert-ktp {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.st-alert-ktp .st-alert-icon { font-size: 1.8rem; color: #d97706; }
.st-alert-ktp .st-alert-text { flex-grow: 1; display: flex; flex-direction: column; }
.st-alert-ktp .st-alert-text strong { font-size: 0.9rem; color: #b45309; margin-bottom: 2px; }
.st-alert-ktp .st-alert-text span { font-size: 0.75rem; color: #d97706; }
.st-btn-verify { background: #d97706; color: #fff; border: none; padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; cursor: pointer; white-space: nowrap; }

/* Navigation List */
.st-nav-menu {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.st-nav-group { border-bottom: 8px solid var(--hover-bg, #f4f6f8); }
.st-nav-label { padding: 16px 20px 8px 20px; font-size: 0.8rem; font-weight: 800; color: var(--text-medium); text-transform: uppercase; letter-spacing: 0.5px; }

.st-nav-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; text-decoration: none; color: var(--text-strong, #1f2937);
    border-bottom: 1px solid var(--border, #e5e7eb); transition: background 0.2s;
}
.st-nav-item:last-child { border-bottom: none; }
.st-nav-item:hover { background: var(--hover-bg, #f9fafb); }
.st-nav-item.active { background: rgba(245, 194, 76, 0.05); border-right: 4px solid var(--primary-action, #F5C24C); }

.st-nav-left { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 600; }
.st-nav-left i { width: 20px; text-align: center; color: var(--text-medium, #6b7280); font-size: 1.1rem; transition: color 0.2s; }

.st-nav-item:hover .st-nav-left i, .st-nav-item.active .st-nav-left i { color: var(--primary-action, #F5C24C); }
.st-text-danger .st-nav-left i, .st-text-danger .st-nav-left span { color: #dc2626 !important; }

/* ================= CONTENT AREA (DESKTOP) ================= */
.st-content-header h2 { margin: 0 0 4px 0; font-size: 1.4rem; font-weight: 800; color: var(--text-strong); }
.st-content-header p { margin: 0 0 20px 0; font-size: 0.9rem; color: var(--text-medium); }

.st-card { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 16px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.st-form-group { margin-bottom: 20px; }
.st-form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-strong); margin-bottom: 8px; }
.st-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border, #ccc); border-radius: 8px; font-size: 1rem; outline: none; box-sizing: border-box; font-family: inherit; transition: border-color 0.2s; }
.st-input:focus { border-color: var(--primary-action, #F5C24C); }

.st-btn-primary { background: var(--primary-action, #F5C24C); color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.2s; }
.st-btn-outline { background: #fff; color: var(--text-strong); border: 1px solid var(--border); padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.st-btn-text { background: none; border: none; color: var(--primary-action, #F5C24C); font-weight: 700; cursor: pointer; padding: 8px; }

.st-toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 10000; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 0.9rem; transition: 0.3s; opacity: 0; }

/* ================= MOBILE RESPONSIVE (TOKOPEDIA STYLE) ================= */
@media (max-width: 991px) {
    /* Background abu-abu khas Tokopedia di mobile */
    body { background: #f0f3f7 !important; }
    
    .st-main-wrapper { margin-top: 60px; padding: 16px; }
    .st-layout { display: block; }
    .st-sidebar { width: 100%; }

    /* Cards melayang di mobile */
    .st-profile-card { border-radius: 12px; margin-bottom: 12px; padding: 16px; border: none; box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
    .st-alert-ktp { border-radius: 12px; margin-bottom: 16px; border: none; box-shadow: 0 1px 6px rgba(217, 119, 6, 0.1); }
    
    /* Nav Menu dipecah jadi kotak-kotak terpisah ala Card */
    .st-nav-menu { background: transparent; border: none; box-shadow: none; }
    .st-nav-group { background: #fff; border-radius: 12px; margin-bottom: 16px; border: none; box-shadow: 0 1px 6px rgba(0,0,0,0.05); overflow: hidden; }
    
    .st-nav-item { padding: 16px; }
    .st-nav-item:last-child { border-bottom: none; }
    .st-nav-item.active { border-right: none; background: transparent; }

    .st-mobile-arrow, .st-nav-arrow { color: #cbd5e1; font-size: 1rem; }

    .desktop-only { display: none !important; }
    .mobile-only { display: block; }
    i.mobile-only, span.mobile-only { display: inline-block; }
}

@media (min-width: 992px) {
    .mobile-only { display: none !important; }
}

/* =========================================================
   STYLE KHUSUS VERIFIKASI IDENTITAS & KAMERA
   Prefix: vi-
   ========================================================= */

.vi-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.vi-main-wrapper { margin-top: 80px; padding-bottom: 80px; }

.vi-header-text { margin-bottom: 24px; }
.vi-header-text h2 { margin: 0 0 8px 0; font-size: 1.6rem; font-weight: 800; color: var(--text-strong); }
.vi-header-text p { margin: 0; font-size: 0.95rem; color: var(--text-medium); }

/* Layout Grid */
.vi-grid { display: flex; gap: 24px; align-items: flex-start; }
.vi-col-left { flex: 1; min-width: 0; }
.vi-col-right { flex: 1; min-width: 0; }

.vi-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); margin-bottom: 24px; }
.vi-card-title { margin: 0 0 16px 0; font-size: 1.1rem; font-weight: 800; color: var(--text-strong); }

/* Radio Cards (KTP / Paspor) */
.vi-radio-group { display: flex; gap: 16px; margin-bottom: 20px; }
.vi-radio-card { flex: 1; cursor: pointer; position: relative; }
.vi-radio-card input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.vi-rc-content { border: 2px solid var(--border); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: 0.2s; background: var(--bg-surface); }
.vi-rc-icon { font-size: 2rem; color: var(--text-medium); transition: 0.2s; }
.vi-rc-content span { font-weight: 700; color: var(--text-medium); font-size: 0.95rem; transition: 0.2s; }

/* Active State */
.vi-radio-card input:checked ~ .vi-rc-content { border-color: var(--primary-action, #F5C24C); background: rgba(245, 194, 76, 0.05); }
.vi-radio-card input:checked ~ .vi-rc-content .vi-rc-icon, 
.vi-radio-card input:checked ~ .vi-rc-content span { color: var(--primary-action, #F5C24C); }

.vi-text-helper { font-size: 0.85rem; color: var(--text-medium); margin-bottom: 16px; }

/* Upload / Trigger Box */
.vi-upload-box { border: 2px dashed var(--border); border-radius: 12px; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; cursor: pointer; background: var(--hover-bg); transition: 0.2s; }
.vi-upload-box:hover { border-color: var(--primary-action); background: rgba(245, 194, 76, 0.05); }
.vi-upload-icon { font-size: 2.5rem; color: var(--primary, #f5c24c); }
.vi-upload-box strong { color: var(--text-strong); font-size: 1rem; }

/* Preview Box */
.vi-preview-area { border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; background: #fff; position: relative; }
.vi-preview-area img { width: 100%; max-height: 250px; object-fit: contain; border-radius: 8px; }
.vi-btn-retake { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.7); color: #fff; border: none; padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 6px; }

/* Form Elements */
.vi-alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; padding: 12px; border-radius: 8px; font-size: 0.85rem; display: flex; gap: 8px; margin-bottom: 20px; }
.vi-form-group { margin-bottom: 16px; }
.vi-form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.vi-required { color: #dc2626; }
.vi-input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; outline: none; font-family: inherit; box-sizing: border-box; }
.vi-input:focus { border-color: var(--primary-action); }
.vi-btn-primary { background: var(--primary-action); color: #fff; border: none; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.2s; }

/* ================= FULLSCREEN CAMERA MODAL ================= */
.vi-camera-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 10000; flex-direction: column; }

.vi-cam-header { height: 60px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; color: #fff; background: rgba(0,0,0,0.5); position: absolute; top: 0; width: 100%; z-index: 10; box-sizing: border-box; }
.vi-cam-header span { font-weight: 700; font-size: 1.1rem; }
.vi-cam-btn { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 10px; }

.vi-cam-view { flex-grow: 1; position: relative; background: #000; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.vi-cam-view video, .vi-cam-view img { width: 100%; height: 100%; object-fit: cover; }

/* Trik Cerdas Cutout Transparan */
.vi-cam-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; z-index: 5; }
.vi-guide-box { position: relative; border-radius: 12px; box-shadow: 0 0 0 4000px rgba(0,0,0,0.6); /* Gelapin area luar kotak */ transition: all 0.3s ease; }

/* Ratio Kotak KTP vs Paspor */
.vi-guide-box.ktp { width: 85%; aspect-ratio: 1.6 / 1; border: 2px solid #10b981; }
.vi-guide-box.paspor { width: 90%; height: 35%; border: 2px dashed #f5c24c; margin-top: auto; margin-bottom: 20%; /* Kotak MRZ Paspor di bawah */ }

.vi-guide-text { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.85rem; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }

/* Corners hiasan hijau KTP */
.corner { position: absolute; width: 20px; height: 20px; border-color: #10b981; border-style: solid; border-width: 0; }
.top-left { top: -2px; left: -2px; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 12px; }
.top-right { top: -2px; right: -2px; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 12px; }
.bottom-left { bottom: -2px; left: -2px; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 12px; }
.bottom-right { bottom: -2px; right: -2px; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 12px; }

.vi-cam-footer { height: 120px; background: #000; display: flex; justify-content: center; align-items: center; padding: 0 20px; position: absolute; bottom: 0; width: 100%; z-index: 10; box-sizing: border-box; }
.vi-cam-controls-capture { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.vi-cam-btn-side { background: rgba(255,255,255,0.2); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.vi-shutter-wrap { width: 70px; height: 70px; border-radius: 50%; border: 3px solid #fff; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.vi-shutter-btn { width: 56px; height: 56px; background: #fff; border-radius: 50%; transition: 0.1s; }
.vi-shutter-wrap:active .vi-shutter-btn { transform: scale(0.9); }

.vi-cam-controls-preview { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.vi-cam-btn-text { background: none; border: none; color: #fff; font-size: 1.1rem; font-weight: 600; padding: 10px 20px; cursor: pointer; }
.vi-cam-btn-text.active { color: var(--primary, #f5c24c); }

.vi-toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 100000; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 0.9rem; transition: 0.3s; opacity: 0; }

@media (max-width: 991px) {
    .vi-grid { flex-direction: column; }
    .desktop-only { display: none !important; }
}
@media (min-width: 992px) {
    .mobile-only { display: none !important; }
}

/* =========================================================
   STYLE KHUSUS DAFTAR PENGHUNI & FORM IDENTITAS
   Prefix: dp-
   ========================================================= */

.dp-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dp-btn-add { background: var(--primary-action, #F5C24C); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 10px rgba(245, 194, 76, 0.2); transition: 0.2s; display: flex; align-items: center; }
.dp-btn-add:hover { transform: translateY(-2px); }

/* List Penghuni */
.dp-list-container { display: flex; flex-direction: column; gap: 16px; }
.dp-occ-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); transition: 0.3s ease; }
.dp-occ-card.removing { opacity: 0; transform: scale(0.9); }

.dp-occ-avatar { width: 50px; height: 50px; border-radius: 50%; background: #e0e7ff; color: #2563eb; display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.dp-occ-info { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.dp-occ-info strong { font-size: 1.05rem; color: var(--text-strong); }
.dp-occ-info span { font-size: 0.85rem; color: var(--text-medium); display: flex; align-items: center; gap: 6px; }
.dp-occ-info span i { width: 14px; text-align: center; }

.dp-badge { padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }
.dp-badge-primary { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.dp-badge-secondary { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; }

.dp-btn-delete { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; width: 40px; height: 40px; border-radius: 8px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.2s; font-size: 1.1rem; }
.dp-btn-delete:hover { background: #dc2626; color: #fff; }

/* Modal Form */
.dp-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(3px); }
.dp-modal-content { background: #fff; width: 100%; max-width: 500px; max-height: 95vh; border-radius: 16px; display: flex; flex-direction: column; animation: dpModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes dpModalPop { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.dp-modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.dp-modal-header h3 { margin: 0; font-size: 1.1rem; color: var(--text-strong); }
.dp-close-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-medium); }

.dp-modal-body { padding: 20px; overflow-y: auto; flex-grow: 1; }
.dp-alert { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; padding: 10px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 20px; line-height: 1.5; }

.dp-form-group { margin-bottom: 16px; }
.dp-form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.dp-req { color: #dc2626; }
.dp-input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; outline: none; box-sizing: border-box; font-family: inherit; }
.dp-input:focus { border-color: var(--primary-action); }

/* Radio KTP/Paspor */
.dp-radio-wrap { display: flex; gap: 12px; }
.dp-radio-card { flex: 1; position: relative; cursor: pointer; }
.dp-radio-card input { position: absolute; opacity: 0; }
.dp-rc-box { border: 2px solid var(--border); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--bg-surface); transition: 0.2s; color: var(--text-medium); }
.dp-rc-box i { font-size: 1.5rem; }
.dp-radio-card input:checked ~ .dp-rc-box { border-color: var(--primary-action); background: rgba(245, 194, 76, 0.05); color: var(--primary-action); }

/* Upload Box */
.dp-upload-trigger { border: 2px dashed var(--border); border-radius: 8px; padding: 30px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; background: var(--hover-bg); color: var(--text-medium); transition: 0.2s; }
.dp-upload-trigger:hover { border-color: var(--primary-action); }
.dp-upload-trigger i { font-size: 2rem; color: var(--primary, #f5c24c); }
.dp-upload-trigger strong { color: var(--text-strong); font-size: 0.9rem; }
.dp-preview-box { position: relative; text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.dp-preview-box img { width: 100%; max-height: 200px; object-fit: contain; border-radius: 6px; }
.dp-btn-retake { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.7); color: #fff; border: none; padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; }

/* Phone Wrapper (Negara + Nomor) */
.dp-phone-wrap { display: flex; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.dp-phone-wrap:focus-within { border-color: var(--primary-action); }
.dp-phone-input { border: none; border-radius: 0 8px 8px 0; flex-grow: 1; }
.dp-phone-input:focus { border-color: transparent; }
.select2-container--default .select2-selection--single { border: none !important; background: transparent !important; height: 42px !important; padding: 8px 0 !important; }

.dp-modal-footer { padding: 16px 20px; border-top: 1px solid var(--border); background: #fff; }
.dp-btn-save { width: 100%; background: var(--primary-action); color: #fff; border: none; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; }

/* FULLSCREEN CAMERA MODAL */
.dp-cam-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 10000; flex-direction: column; }
.dp-cam-header { height: 60px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; color: #fff; background: rgba(0,0,0,0.5); position: absolute; top: 0; width: 100%; z-index: 10; }
.dp-cam-btn { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 10px; }
.dp-cam-view { flex-grow: 1; position: relative; background: #000; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.dp-cam-view video, .dp-cam-view img { width: 100%; height: 100%; object-fit: cover; }
.dp-cam-overlay { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; z-index: 5; }

.dp-guide-box { position: relative; box-shadow: 0 0 0 4000px rgba(0,0,0,0.6); transition: 0.3s ease; border-radius: 8px; }
.dp-guide-box.ktp { width: 85%; aspect-ratio: 1.6 / 1; border: 2px solid #10b981; }
.dp-guide-box.paspor { width: 90%; height: 35%; border: 2px dashed #f5c24c; margin-top: auto; margin-bottom: 20%; }
.dp-guide-text { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.85rem; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }

.dp-corner { position: absolute; width: 20px; height: 20px; border-color: #10b981; border-style: solid; border-width: 0; }
.top-left { top: -2px; left: -2px; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 8px; }
.top-right { top: -2px; right: -2px; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 8px; }
.bottom-left { bottom: -2px; left: -2px; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 8px; }
.bottom-right { bottom: -2px; right: -2px; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 8px; }

.dp-cam-footer { height: 120px; background: #000; display: flex; justify-content: center; align-items: center; padding: 0 20px; position: absolute; bottom: 0; width: 100%; z-index: 10; }
.dp-cam-capture, .dp-cam-preview { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.dp-cam-btn-side { background: rgba(255,255,255,0.2); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.dp-shutter-wrap { width: 70px; height: 70px; border-radius: 50%; border: 3px solid #fff; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.dp-shutter-btn { width: 56px; height: 56px; background: #fff; border-radius: 50%; transition: 0.1s; }
.dp-shutter-wrap:active .dp-shutter-btn { transform: scale(0.9); }
.dp-cam-btn-text { background: none; border: none; color: #fff; font-size: 1.1rem; font-weight: 600; padding: 10px; cursor: pointer; }
.dp-cam-btn-text.active { color: var(--primary, #f5c24c); }

.dp-toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 100000; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 0.9rem; transition: 0.3s; opacity: 0; }

@media (max-width: 991px) {
    .st-main-wrapper { padding: 16px; margin-top: 60px;}
    .dp-modal-content { height: 100vh; max-height: 100vh; border-radius: 0; } /* Modal full screen di mobile */
    .dp-btn-add { border-radius: 50%; width: 44px; height: 44px; justify-content: center; padding: 0; }
}

/* =========================================================
   STYLE KHUSUS AUTHENTICATION (NATIVE APP FEEL) - FINAL
   ========================================================= */

.auth-body { 
    background: var(--hover-bg, #f4f6f8); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    margin: 0; 
    font-family: 'DM Sans', Tahoma, Geneva, Verdana, sans-serif; 
}

.auth-container { 
    background: #fff; 
    width: 100%; 
    max-width: 450px; 
    min-height: 100vh; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
}

@media (min-width: 576px) {
    .auth-container { 
        min-height: auto; 
        height: 680px; 
        border-radius: 24px; 
        box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
    }
}

.auth-step { 
    display: none; 
    flex-direction: column; 
    padding: 32px 24px; 
    height: 100%; 
    box-sizing: border-box; 
    animation: authSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}
.auth-step.active { display: flex; }

@keyframes authSlideUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.auth-header { text-align: center; margin-bottom: 32px; margin-top: 40px; }
.auth-logo { width: 60px; height: 60px; border-radius: 12px; margin-bottom: 24px; }
.auth-title { font-size: 1.6rem; font-weight: 800; color: var(--text-strong, #1f2937); margin: 0 0 8px 0; }
.auth-subtitle { font-size: 0.95rem; color: var(--text-medium, #6b7280); margin: 0; line-height: 1.5; }

/* Back Button */
.auth-back-btn { 
    position: absolute; 
    top: 32px; 
    left: 24px; 
    background: var(--hover-bg, #f4f6f8); 
    border: none; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    font-size: 1.1rem; 
    color: var(--text-strong); 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 10; 
    transition: 0.2s; 
}
.auth-back-btn:hover { background: #e2e8f0; }
.auth-back-btn:active { transform: scale(0.9); }

.auth-form { display: flex; flex-direction: column; flex-grow: 1; }
.auth-label { font-size: 0.9rem; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; display: block; }
.auth-input-group { margin-bottom: 20px; }

/* =========================================================
   FIX: Input Phone Group & Select2 (SEJAJAR & ESTETIK)
   ========================================================= */
.auth-phone-group { 
    display: flex; 
    align-items: center; 
    border: 2px solid var(--border, #e5e7eb); 
    border-radius: 12px; 
    background: #fff; 
    transition: 0.2s; 
    height: 52px; 
    position: relative; 
}
.auth-phone-group:focus-within { 
    border-color: var(--primary-action, #F5C24C); 
}

/* Garis pemisah tipis antara +62 dan Nomor HP */
.auth-phone-group::before {
    content: '';
    position: absolute;
    left: 75px; /* Sesuai lebar Select2 */
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--hover-bg, #f4f6f8);
    z-index: 1;
}

.auth-input-phone { 
    flex-grow: 1; 
    border: none; 
    background: transparent; 
    height: 100%; 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--text-strong); 
    outline: none; 
    padding: 0 16px 0 16px; 
}
.auth-input-phone::placeholder { 
    color: #cbd5e1; 
    font-weight: 400; 
}

/* Custom class untuk dropdown Select2 biar pas search lebar */
.auth-select2-dropdown { 
    min-width: 150px !important; 
    border-radius: 8px !important; 
    border: 1px solid var(--border) !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; 
}
.auth-select2-dropdown .select2-search__field { 
    border-radius: 6px !important; 
    border: 1px solid var(--border) !important; 
    padding: 8px !important; 
    outline: none; 
}
.auth-select2-dropdown .select2-search__field:focus { 
    border-color: var(--primary-action) !important; 
}

/* PAKSA SELECT2 BIAR SEJAJAR & NURUT SAMA KITA */
.auth-phone-group .select2-container {
    height: 100% !important;
}

.auth-phone-group .select2-selection--single { 
    height: 100% !important; 
    border: none !important; 
    background: transparent !important; 
    display: flex !important; 
    align-items: center !important; 
    padding-left: 12px !important; 
}
.auth-phone-group .select2-selection__rendered {
    padding: 0 !important;
    line-height: normal !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: var(--text-strong) !important;
}
.auth-phone-group .select2-selection__arrow { 
    height: 100% !important; 
    top: 0 !important; 
    right: 4px !important;
    display: flex !important;
    align-items: center !important;
}

/* Normal Input */
.auth-input { width: 100%; height: 52px; padding: 0 16px; border: 2px solid var(--border); border-radius: 12px; font-size: 1rem; font-weight: 600; color: var(--text-strong); outline: none; box-sizing: border-box; transition: 0.2s; }
.auth-input:focus { border-color: var(--primary-action); }

/* Buttons */
.auth-btn { width: 100%; height: 52px; border-radius: 12px; font-size: 1.05rem; font-weight: 800; cursor: pointer; border: none; transition: 0.2s; margin-top: auto; margin-bottom: 16px; }
@media (min-width: 576px) { .auth-btn { margin-top: 32px; } }
.auth-btn-primary { background: var(--primary-action, #F5C24C); color: #fff; box-shadow: 0 4px 15px rgba(245, 194, 76, 0.2); }
.auth-btn-primary:active { transform: scale(0.98); }
.auth-btn-primary:disabled { background: #cbd5e1; box-shadow: none; cursor: not-allowed; transform: none; }

.auth-terms { text-align: center; font-size: 0.8rem; color: var(--text-medium); margin-top: 16px; line-height: 1.5; }
.auth-terms a { color: var(--primary-action); text-decoration: none; font-weight: 600; }

/* OTP BOXES */
.auth-otp-group { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; }
.auth-otp-box { width: 48px; height: 56px; border: 2px solid var(--border); border-radius: 12px; text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--text-strong); background: #fff; outline: none; transition: 0.2s; -moz-appearance: textfield; }
.auth-otp-box::-webkit-outer-spin-button, .auth-otp-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.auth-otp-box:focus { border-color: var(--primary-action); box-shadow: 0 0 0 4px rgba(245, 194, 76, 0.1); }
.auth-resend { text-align: center; font-size: 0.9rem; color: var(--text-medium); margin-top: 24px; }

/* GENDER RADIO CARDS */
.auth-gender-group { display: flex; gap: 12px; }
.auth-gender-card { flex: 1; position: relative; cursor: pointer; }
.auth-gender-card input { position: absolute; opacity: 0; }
.auth-gc-content { border: 2px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; font-weight: 700; color: var(--text-medium); transition: 0.2s; }
.auth-gender-card input:checked ~ .auth-gc-content { border-color: var(--primary-action); background: rgba(245, 194, 76, 0.05); color: var(--primary-action); }

/* SUCCESS ANIMATION */
.auth-success-anim { display: flex; justify-content: center; align-items: center; margin-top: 40px; }
.auth-circle { width: 90px; height: 90px; background: #10b981; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 3rem; box-shadow: 0 0 0 15px rgba(16, 185, 129, 0.2); animation: popInSuccess 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes popInSuccess { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 25px rgba(16, 185, 129, 0.1); } 100% { transform: scale(1); box-shadow: 0 0 0 15px rgba(16, 185, 129, 0.2); } }

.auth-toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 100000; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 0.9rem; transition: 0.3s; opacity: 0; }