/* --- Pengaturan Dasar & Reset --- */
:root {
    --primary-color: #D4A373;
    --primary-dark: #A17A69;
    --bg-light: #f0f2f5;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #888;
    --red: #e53935;
    --green: #4CAF50;
    --points-color: #ffb300; /* Warna Emas untuk Poin */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    color: var(--text-dark);
    -webkit-tap-highlight-color: transparent;
}

* { box-sizing: border-box; }
a { text-decoration: none !important; color: inherit; }

/* --- Kontainer Utama --- */
.mobile-container {
    max-width: 450px; margin: 0 auto; background-color: var(--white);
    min-height: 100vh; box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative; overflow-x: hidden;
}

/* Penyesuaian padding global */
.content-area { padding: 0 20px 20px; }
.header, .banner-container { padding-left: 20px; padding-right: 20px; }


/* ===== HEADER & SEARCH (Perbaikan) ===== */
.header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding-top: 15px; padding-bottom: 15px;
}
.location-info p { margin: 0; font-size: 0.8rem; color: var(--text-light); }
.location-info h3 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--primary-dark); }
.profile-section .login-btn {
    background-color: var(--primary-dark); color: var(--white);
    padding: 8px 18px; border-radius: 20px; font-size: 0.9rem; font-weight: 500;
}
.profile-icon-img {
    width: 40px; height: 40px; border-radius: 50%;
    object-fit: cover; border: none;
}

/* ===== Kartu Saldo ===== */
.saldo-card-container {
    padding: 10px 20px 20px;
    background-color: var(--white);
}
.saldo-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark), #c89a72);
    color: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(161, 122, 105, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.saldo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(161, 122, 105, 0.4);
}
.saldo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    position: relative;
}
/* Separator lines */
.saldo-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: rgba(255, 255, 255, 0.3);
}
.saldo-icon {
    flex-shrink: 0;
}
.saldo-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}
.saldo-info small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 2px;
}
.saldo-info strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== LOCATION DROPDOWN (Digunakan di index.php & order.php) ===== */
.location-search-container {
    padding: 10px 20px 15px 20px;
    background-color: var(--white);
    border-bottom: 1px solid var(--bg-light);
}

.location-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background-color: #f7f7f7;
}

.location-text small {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

.location-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: var(--primary-dark);
}

.location-display.open .dropdown-arrow {
    transform: rotate(180deg);
}

.address-list-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--white);
    border-radius: 0 0 15px 15px;
    position: relative;
    z-index: 10;
}

.address-list-container.active {
    max-height: 300px; 
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-top: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.address-card {
    padding: 15px;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}
.address-card:last-child {
    border-bottom: none;
}
.address-card:hover {
    background-color: #f9f9f9;
}
.address-card h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    font-weight: 600;
}
.address-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}
.address-card .map-icon {
    color: var(--primary-dark);
    flex-shrink: 0;
}
.address-card .map-icon svg {
    width: 24px;
    height: 24px;
}


/* Hybrid Search/Dropdown di index.php */
.location-search-hybrid {
    display: flex;
    align-items: center;
    position: relative;
}

.location-search-hybrid .location-display {
    width: 100%;
}

.location-search-hybrid .scan-qr-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #f0f0f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

/* ===== QR SCANNER MODAL ===== */
#qr-modal .modal-overlay {
    align-items: center;
    justify-content: center;
}
.qr-modal-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    position: relative;
}
.close-modal-btn.top-right {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10;
}
.qr-view-container {
    margin-bottom: 20px;
}
#my-qr-view { text-align: center; }
#my-qr-view p { font-size: 0.9rem; color: var(--text-light); }
#my-qr-code { display: flex; justify-content: center; margin: 15px 0; }
#my-qr-code img { border-radius: 8px; }
.qr-user-id { font-weight: 600; font-size: 0.9rem; }
#qr-reader {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 2px solid #f0f0f0;
}
#qr-reader video { width: 100% !important; height: auto !important; }
#qr-reader::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%;
    height: 3px; background: var(--red);
    box-shadow: 0 0 10px var(--red);
    animation: scan-animation 2.5s infinite ease-in-out;
}
@keyframes scan-animation { 0% { top: -5%; } 50% { top: 100%; } 100% { top: -5%; } }
.qr-tab-buttons {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 5px;
}
.qr-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: transparent;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.qr-tab-btn.active {
    background-color: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* --- Ikon Header --- */
.header-icon-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-icon-btn {
    position: relative;
    color: var(--primary-dark);
    display: flex;
}
.header-icon-btn svg {
    width: 24px;
    height: 24px;
}
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid var(--white);
}


/* ===== BANNER ===== */
.banner-slider { width: 100%; overflow: hidden; position: relative; border-radius: 15px; }
.banner-wrapper { display: flex; transition: transform 0.5s ease-in-out; }
.banner-slide { min-width: 100%; }
.banner-slide img { width: 100%; display: block; }
.banner-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); cursor: pointer; }
.dot.active { background-color: var(--white); }

/* ===== ICON MENU ===== */
.icon-menu-container { display: flex; justify-content: space-around; align-items: flex-start; padding: 20px 10px; background-color: var(--white); border-bottom: 8px solid var(--bg-light); }
.icon-item { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 0.75rem; font-weight: 500; width: 25%; gap: 8px; }
.icon-wrapper { position: relative; background-color: #fdf8f2; border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.icon-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.discount-badge-icon { position: absolute; top: -5px; right: -5px; background-color: var(--red); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 2px 6px; border-radius: 10px; border: 2px solid var(--white); }


/* ===== MENU & KARTU PRODUK ===== */
.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}
.menu-grid { 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.menu-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}
.menu-card-clickable-area {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.menu-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Aspect ratio 1:1 */
}
.menu-card-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.discount-badge, .new-badge {
    position: absolute;
    top: 10px;
    background-color: var(--red);
    color: var(--white);
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 5px;
    z-index: 3;
}
.discount-badge { left: 10px; }
.new-badge { right: 10px; background-color: var(--green); }
.menu-card-body p.description {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 5px 0 10px;
    line-height: 1.4;
    height: 4.2em; /* Batasi deskripsi hingga 3 baris */
    overflow: hidden;
}

.menu-card-body {
    padding: 12px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.menu-card-body h3 {
    margin: 0 0 5px;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.price-container { 
    margin-top: auto; /* Mendorong harga ke bawah */
}
.price-container p { margin: 0; font-size: 0.9rem; font-weight: 500; }
.original-price { text-decoration: line-through !important; color: #999; font-size: 0.8rem; }
.discounted-price { color: var(--primary-color); font-weight: 700 !important; }
.empty-state { text-align: center; color: var(--text-light); width: 100%; padding: 20px; grid-column: 1 / -1; }

.points-badge {
    background-color: var(--points-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}
.menu-card-actions { padding: 0 10px 10px; }
.btn-add-to-cart { width: 100%; background-color: var(--primary-dark); color: var(--white); border: none; padding: 8px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease, color 0.2s; }
.btn-add-to-cart:hover { background-color: #8a6857; }
.btn-add-to-cart.added { background-color: var(--green); }


/* --- Animasi Gambar Terbang --- */
.flying-image {
    position: fixed;
    z-index: 9999;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.5, -0.5, 1, 1), opacity 0.6s ease-out;
}


/* ===== MODAL (Di Tengah Layar) ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background-color: rgba(0, 0, 0, 0.6);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.login-modal-content {
    background-color: var(--white); padding: 25px; border-radius: 15px;
    width: 90%; max-width: 380px; box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    transform: scale(0.95); transition: transform 0.3s ease;
}
.modal-overlay.active .login-modal-content { transform: scale(1); }
.login-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.login-modal-header h3 { margin: 0; font-size: 1.3rem; color: var(--primary-dark); }
.close-modal-btn { background: none; border: none; font-size: 2rem; cursor: pointer; color: #aaa; line-height: 1; }
.phone-login-form .form-group { margin-bottom: 15px; }
.phone-login-form label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; }
.phone-login-form input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; }
.phone-login-form .btn { width: 100%; padding: 12px; background-color: var(--primary-dark); color: var(--white); border: none; cursor: pointer; }
#otp-group { display: none; }
.modal-message { font-size: 0.85rem; text-align: center; padding: 10px; border-radius: 5px; margin-top: 15px; display: none; }
.modal-message.success { background-color: #e8f5e9; color: #388e3c; }
.modal-message.error { background-color: #ffebee; color: #c62828; }

/* --- Pop-up Selamat Datang --- */
.welcome-popup-content {
    background-color: transparent;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .welcome-popup-content {
    transform: scale(1);
}
.welcome-popup-content img {
    width: 100%;
    border-radius: 15px;
    display: block;
}
#close-welcome-popup {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: #333;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- Gaya Tombol Tipe Deposit --- */
.deposit-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.deposit-type-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    background-color: #f9f9f9;
    color: var(--text-light);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.deposit-type-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-light);
    transition: all 0.2s ease;
}
.deposit-type-btn.active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(161, 122, 105, 0.3);
}
.deposit-type-btn.active svg {
    stroke: var(--white);
}


/* --- POP-UP PROFIL --- */
#user-profile-modal {
    justify-content: flex-end; align-items: flex-start;
    background-color: transparent;
}
.profile-modal-content {
    background-color: var(--white); padding: 15px; border-radius: 12px;
    margin-top: 70px; margin-right: 20px;
    width: auto; min-width: 220px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    transform: translateY(-10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.modal-overlay.active .profile-modal-content { transform: translateY(0); opacity: 1; }
.profile-modal-header { display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid var(--bg-light); padding-bottom: 15px; margin-bottom: 10px; }
.profile-modal-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.profile-modal-header h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.profile-modal-menu { display: flex; flex-direction: column; gap: 5px; }
.profile-modal-link { padding: 10px 15px; border-radius: 8px; text-align: center; font-weight: 500; transition: background-color 0.2s ease; display: block; }
.profile-modal-link:hover { background-color: var(--bg-light); }
.profile-modal-link.logout { color: var(--red); }

/* --- Tombol Keranjang (Floating Action Button) --- */
.cart-fab { display: flex; position: fixed; bottom: 80px; right: 20px; background-color: var(--primary-dark); color: var(--white); width: 56px; height: 56px; border-radius: 50%; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); cursor: pointer; z-index: 1000; }
.cart-item-count { position: absolute; top: 0; right: 0; background-color: var(--red); color: var(--white); width: 22px; height: 22px; border-radius: 50%; display: none; justify-content: center; align-items: center; font-size: 0.8rem; font-weight: 600; border: 2px solid var(--white); }

/* --- Modal Keranjang Belanja --- */
.cart-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 3000; display: flex; justify-content: center; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.cart-modal-overlay.active { opacity: 1; visibility: visible; }
.cart-modal-content { background-color: var(--white); width: 100%; max-width: 450px; max-height: 85%; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.3s ease; }
.cart-modal-overlay.active .cart-modal-content { transform: translateY(0); }
.cart-modal-header { padding: 20px; border-bottom: 1px solid var(--bg-light); display: flex; justify-content: space-between; align-items: center; }
.cart-modal-header h3 { margin: 0; font-size: 1.2rem; }
.cart-items-list { flex-grow: 1; overflow-y: auto; padding: 10px 20px; }
.empty-cart-message { text-align: center; padding: 50px 20px; color: var(--text-light); }
.cart-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--bg-light); }
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; margin-right: 15px; }
.cart-item-details { flex-grow: 1; }
.cart-item-name { margin: 0 0 5px; font-weight: 500; }
.cart-item-options { font-size: 0.8rem; color: var(--text-light); text-transform: capitalize;}
.cart-item-price { margin: 0; color: var(--text-light); font-size: 0.9rem; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; }
.quantity-controls { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.quantity-btn { background-color: var(--bg-light); border: none; width: 28px; height: 28px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.remove-item-btn { background: none; border: none; color: var(--red); font-size: 1.2rem; cursor: pointer; }
.cart-modal-footer { padding: 20px; border-top: 1px solid var(--bg-light); background-color: var(--white); }
.cart-summary { margin-bottom: 15px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; }
#cart-total-points { color: var(--points-color); font-weight: 600; }
.btn-checkout { width: 100%; padding: 15px; background-color: var(--primary-dark); color: var(--white); border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.btn-checkout:disabled { background-color: #ccc; cursor: not-allowed; }

/* Gaya untuk item voucher di keranjang */
.cart-item-details .original-price-cart {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-right: 8px;
}

.cart-item-details .final-price-cart {
    font-weight: 600;
    color: var(--text-dark);
}

.voucher-tag-in-cart {
    display: inline-block;
    background-color: var(--green);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}

/* --- Modal Pembayaran & Level Atas --- */
.modal-overlay.level-2 { z-index: 4000; }
.payment-modal-content { background-color: var(--white); padding: 25px; border-radius: 15px; width: 90%; max-width: 380px; box-shadow: 0 5px 25px rgba(0,0,0,0.15); transform: scale(0.95); transition: transform 0.3s ease; }
.modal-overlay.active .payment-modal-content { transform: scale(1); }
.payment-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.payment-modal-header h3 { margin: 0; font-size: 1.3rem; color: var(--primary-dark); }
.payment-options { display: flex; flex-direction: column; gap: 15px; }
.payment-option-btn { display: flex; align-items: center; gap: 15px; padding: 15px; border-radius: 8px; border: 1px solid #ddd; font-weight: 500; font-size: 1rem; cursor: pointer; background-color: transparent; width: 100%; text-align: left; }
.payment-option-btn:hover { background-color: var(--bg-light); }
.qris-content { text-align: center; }
#qris-image-display { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; border: 1px solid #eee; }
.qris-content p { font-size: 1.1rem; margin: 0 0 15px; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.payment-success { text-align: center; padding: 20px 0; }
.payment-success svg { color: var(--green); margin-bottom: 15px; }
.payment-success h3 { margin: 0 0 10px; }
.payment-success p { color: var(--text-light); }
.btn-full { width: 100%; padding: 12px; background-color: var(--primary-dark); color: var(--white); border: none; border-radius: 8px; font-weight: 600; font-size: 1rem; }

/* ===== GAYA HALAMAN DETAIL ===== */
.app-layout { display: flex; flex-direction: column; height: 100vh; }
.detail-header { display: flex; align-items: center; padding: 15px; background-color: var(--white); box-shadow: 0 2px 4px rgba(0,0,0,0.05); flex-shrink: 0; }
.detail-header .back-button { color: var(--text-dark); }
.detail-header h2 { font-size: 1.1rem; margin: 0; text-align: center; flex-grow: 1; }
.detail-content-scrollable { flex-grow: 1; overflow-y: auto; padding-bottom: 100px; }
.detail-image-container { width: 100%; padding-top: 60%; position: relative; }
.detail-product-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 20px; }
.detail-body h2 { font-size: 1.5rem; margin: 0 0 5px; }
.detail-price { font-size: 1.2rem; font-weight: 600; color: var(--primary-color); margin: 0 0 15px; }
.product-description { color: var(--text-light); line-height: 1.6; margin-bottom: 25px; }
.option-group { margin-bottom: 20px; }
.option-group h4 { font-size: 1rem; margin: 0 0 10px; font-weight: 600; }
.option-items { display: flex; flex-wrap: wrap; gap: 10px; }
.option-items label { display: block; }
.option-items input[type="radio"] { display: none; }
.option-items input[type="radio"] + span, .option-items .option-card { padding: 8px 16px; border: 1px solid #ddd; border-radius: 20px; cursor: pointer; transition: all 0.2s ease; font-size: 0.9rem; }
.option-items input[type="radio"]:checked + span, .option-items input[type="radio"]:checked + .option-card { background-color: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.temp-option .option-card { display: flex; align-items: center; gap: 8px; }
.quantity-control-group { margin-bottom: 20px; }
.quantity-control-group h4 { font-size: 1rem; margin: 0 0 10px; font-weight: 600; }
.quantity-selector { display: flex; align-items: center; gap: 15px; }
.quantity-selector button { background-color: #eee; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.quantity-selector span { font-size: 1.2rem; font-weight: 600; }
.notes-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: 'Poppins'; min-height: 80px; }
.fab-cart-button { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: calc(450px - 40px); background-color: var(--primary-dark); color: var(--white); border: none; padding: 15px; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; gap: 10px; }
.options-disabled { opacity: 0.4; pointer-events: none; user-select: none; }

/* ===== GAYA HALAMAN ORDER & PROFIL ===== */
#menu-content-area {
    flex-grow: 1;
    overflow-y: auto;
}

.point-display-card { background: var(--white); padding: 25px; margin: 20px; border-radius: 12px; text-align: center; box-shadow: 0 8px 15px rgba(0,0,0,0.08); }
.point-display-card h2 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 600; color: var(--primary-dark); }
.point-balance-large { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.point-expiration { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.transaction-card { background-color: var(--white); margin: 0 20px 20px; border-radius: 12px; padding: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.transaction-card .section-title { padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid var(--bg-light); }
.transaction-card .transaction-list { box-shadow: none; }
.transaction-card .transaction-item { padding-left: 0; padding-right: 0; box-shadow: none; border-bottom: 1px solid var(--bg-light); }
.transaction-card .transaction-item:last-child { border-bottom: none; }
.transaction-list { display: flex; flex-direction: column; gap: 10px; }
.transaction-item { display: flex; flex-direction: column; gap: 10px; padding: 15px; background-color: var(--white); border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.transaction-item.detailed { gap: 15px; }
.transaction-main { display: flex; align-items: center; width: 100%; gap: 15px; }
.transaction-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.transaction-icon.income { background-color: #e8f5e9; color: #4CAF50; }
.transaction-icon.expense { background-color: #ffebee; color: var(--red); }
.transaction-icon svg { width: 22px; height: 22px; }
.transaction-details { flex-grow: 1; }
.transaction-details p { margin: 0; font-weight: 500; }
.transaction-details small { color: var(--text-light); }
.transaction-details .transaction-outlet {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    display: block;
    margin-top: 4px;
}
.point-change { font-weight: 600; font-size: 0.9rem; }
.point-change.income { color: #4CAF50; }
.point-change.expense { color: var(--red); }
.transaction-product-details {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px dashed var(--bg-light);
    font-size: 0.85rem;
}
.transaction-product-details strong { display: block; margin-bottom: 5px; }
.transaction-product-details p { margin: 0; color: var(--text-light); line-height: 1.6; }
.transaction-card-wrapper { padding: 0 20px; }
.transaction-card-new {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    border-left: 5px solid;
    transition: box-shadow 0.2s ease;
}
.transaction-card-new:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.transaction-card-new.income { border-left-color: var(--green); }
.transaction-card-new.expense { border-left-color: var(--red); }
.transaction-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
.transaction-card-header .description { font-weight: 600; font-size: 1rem; }
.transaction-card-header .point-change { font-size: 1.1rem; font-weight: 700; }
.transaction-card-body { padding: 0 15px 15px; }
.meta-info { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; color: var(--text-light); font-size: 0.8rem; margin-bottom: 10px; }
.meta-info span { display: flex; align-items: center; gap: 5px; }
.meta-info svg { width: 14px; height: 14px; }
.transaction-card-products {
    background-color: var(--bg-light);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
}
.transaction-card-products strong { display: block; margin-bottom: 5px; color: var(--text-dark); }
.transaction-card-products p { margin: 0; line-height: 1.6; }

.profile-form { padding: 20px; }
.profile-picture-uploader { position: relative; margin: 0 auto 20px; width: 100px; height: 100px; }
.profile-picture-uploader img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.edit-pic-button { position: absolute; bottom: 5px; right: 5px; background-color: var(--primary-dark); color: var(--white); border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid var(--white); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }
.form-group input:disabled { background-color: #f5f5f5; cursor: not-allowed; }

/* ===== FOOTER ===== */
.footer-spacer { height: 80px; }
.footer-nav { display: flex; justify-content: space-around; padding: 10px 0; background-color: var(--white); border-top: 1px solid #f0f0f0; position: fixed; bottom: 0; left: 0; right: 0; max-width: 450px; margin: 0 auto; z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-light); }
.nav-item.active { color: var(--primary-dark); }
.nav-item svg { width: 24px; height: 24px; stroke-width: 2; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.nav-item span { font-size: 0.7rem; font-weight: 500; }

/* ===== CATEGORY TABS (order.php) ===== */
.category-tabs-container {
    background-color: var(--white);
    padding: 10px 0;
    z-index: 9;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.category-tabs-container::-webkit-scrollbar {
    display: none;
}
.category-tabs {
    display: flex;
    gap: 10px;
    padding: 0 20px;
}
.tab-item {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: all 0.2s ease;
}
.tab-item.active {
    background-color: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* ===== Halaman Lokasi Delivery ===== */
.delivery-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: var(--white);
    border-bottom: 1px solid var(--bg-light);
}
.delivery-search-bar input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
}
.delivery-search-bar button {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.delivery-search-bar button svg {
    width: 20px;
    height: 20px;
}
.delivery-outlet-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
}
.address-card-delivery {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.address-card-info {
    flex-grow: 1;
}
.address-card-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
}
.address-card-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}
.address-card-action {
    flex-shrink: 0;
}
.address-card-action .map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--primary-dark);
    transition: background-color 0.2s;
}
.address-card-action .map-btn:hover {
    background-color: #e0e0e0;
}

/* ===== HALAMAN PESAN PENGGUNA (MESSAGES.PHP) ===== */
.chat-layout {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 76px); /* Tinggi viewport dikurangi tinggi footer */
}
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column-reverse; /* Pesan baru di bawah */
}
.message-bubble-container {
    display: flex;
    margin-bottom: 10px;
}
.message-bubble-container.user { justify-content: flex-end; }
.message-bubble-container.admin { justify-content: flex-start; }
.message-bubble {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.5;
}
.message-bubble.user {
    background-color: var(--primary-dark);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.message-bubble.admin {
    background-color: #E9E9EB;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}
.message-time {
    font-size: 0.7rem;
    color: var(--text-light);
    margin: 5px 0 0 0;
}
.message-bubble-container.user .message-time { text-align: right; }
.message-bubble-container.admin .message-time { text-align: left; }

.chat-input-area {
    display: flex;
    gap: 10px;
    padding: 10px;
    background-color: var(--white);
    border-top: 1px solid var(--bg-light);
}
.chat-input-area textarea {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    resize: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    height: 42px;
}
.chat-input-area button {
    background-color: var(--primary-dark);
    border: none;
    color: white;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    cursor: pointer;
}
/* ===== HALAMAN PROMOSI & NOTIFIKASI ===== */
.promotion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.promotion-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    overflow: hidden;
    border-left: 5px solid var(--primary-dark);
}
.promotion-card.read {
    border-left-color: #ccc;
    opacity: 0.8;
}
.promotion-card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.promotion-card-body {
    padding: 15px;
}
.promotion-card-body h3 {
    margin: 0 0 10px 0;
}
.promotion-card-body p {
    margin: 0 0 10px 0;
    color: var(--text-light);
    line-height: 1.6;
}
.promotion-card-body small {
    font-size: 0.8rem;
    color: #999;
}
/* ===== HALAMAN VOUCHER SAYA ===== */
.voucher-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.voucher-card {
    display: flex;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    padding: 15px;
    gap: 15px;
    align-items: center;
}
.voucher-card.disabled {
    opacity: 0.6;
}
.voucher-card-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}
.voucher-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.voucher-card-details {
    flex-grow: 1;
}
.voucher-card-details h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}
.voucher-card-details p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}
.voucher-card-action .btn-claim-voucher {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.voucher-card-action .voucher-status {
    font-weight: 600;
    font-size: 0.9rem;
}
.voucher-card-action .voucher-status.used {
    color: var(--green);
}
.voucher-card-action .voucher-status.expired {
    color: var(--red);
}

/* Penyesuaian padding global */
.content-area {
    padding-bottom: 20px;
}
.mobile-container {
    background-color: var(--white);
}
body {
    background-color: var(--white);
}

/* Gaya untuk Kartu Merchandise */
.merch-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr; /* Selalu satu kolom untuk tampilan mobile yang optimal */
    gap: 20px;
}

.merch-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.merch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.merch-card-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Rasio aspek 4:3 */
}
.merch-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.merch-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--red);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 3;
}
.merch-badge.new {
    left: auto;
    right: 12px;
    background-color: var(--green);
}

.merch-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.merch-card-body h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.merch-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0 0 15px;
    flex-grow: 1; /* Mendorong harga dan tombol ke bawah */
}

.merch-price-container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-top: 1px solid var(--bg-light);
    padding-top: 15px;
}

.price-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.merch-price-rp {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.merch-price-rp.original {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-light);
}
.merch-price-poin {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--points-color);
}

.merch-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-beli-merch, .btn-tukar-poin {
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.btn-beli-merch {
    background-color: var(--primary-dark);
    color: var(--white);
}
.btn-beli-merch:hover {
    background-color: #8a6857;
}

.btn-tukar-poin {
    background-color: var(--white);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}
.btn-tukar-poin:hover {
    background-color: #fdf8f2;
}

.btn-tukar-poin:disabled {
    border-color: #e0e0e0;
    color: #ccc;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Tombol Toggle Switch di Admin Dashboard */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--green);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--green);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Gaya untuk Opsi Pembayaran Saldo */
.payment-option-text {
    display: flex;
    flex-direction: column;
}
.payment-option-text small {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}
.payment-option-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}
.payment-option-btn:disabled:hover {
    background-color: #f5f5f5;
}
.payment-divider {
    text-align: center;
    margin: 15px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
}
.payment-divider::before,
.payment-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: #e0e0e0;
}
.payment-divider::before {
    left: 0;
}
.payment-divider::after {
    right: 0;
}

/* --- AWAL PERUBAHAN --- */
/* Gaya untuk Halaman Riwayat Pesanan */
.order-history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-history-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    border-left: 5px solid var(--primary-dark);
    padding: 15px;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.order-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
}
.order-card-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.order-card-body {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--bg-light);
}
.order-card-products {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}
.order-card-products strong {
    color: var(--text-dark);
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}
/* --- AKHIR PERUBAHAN --- */

/* --- AWAL PERUBAHAN --- */
/* Gaya untuk Halaman Pesan yang Lebih Menarik */
.chat-layout {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Memenuhi seluruh tinggi layar */
}
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 20px 150px 20px; /* Padding bawah untuk memberi ruang bagi input dan footer */
    display: flex;
    flex-direction: column-reverse; /* Pesan baru muncul dari bawah */
}
.message-bubble-container {
    display: flex;
    margin-bottom: 15px;
}
.message-bubble-container.user {
    justify-content: flex-end;
}
.message-bubble-container.admin {
    justify-content: flex-start;
}
.message-bubble {
    max-width: 75%;
    padding: 12px 18px;
    border-radius: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}
.message-bubble.user {
    background-color: var(--primary-dark);
    color: var(--white);
    border-bottom-right-radius: 5px;
}
.message-bubble.admin {
    background-color: #E9E9EB;
    color: var(--text-dark);
    border-bottom-left-radius: 5px;
}
.message-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
}
.message-bubble-container.user .message-time {
    text-align: right;
    margin-right: 5px;
}
.message-bubble-container.admin .message-time {
    text-align: left;
    margin-left: 5px;
}
.chat-input-area {
    position: fixed;
    bottom: 76px; /* Tepat di atas footer-nav */
    left: 0;
    right: 0;
    max-width: 450px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 10px;
    border-top: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101; /* Di atas konten, di bawah footer */
}
.chat-input-area textarea {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 22px;
    padding: 10px 15px;
    resize: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    height: 44px;
    max-height: 100px;
    overflow-y: auto;
}
.chat-input-area button {
    background-color: var(--primary-dark);
    border: none;
    color: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* --- AKHIR PERUBAHAN --- */

/* --- AWAL PERUBAHAN --- */
/* Gaya untuk Halaman Alamat Pengiriman */
.address-form-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.address-form-card .form-group {
    margin-bottom: 15px;
}

.address-form-card .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.address-form-card .form-group input,
.address-form-card .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}
.address-form-card .form-group textarea {
    resize: vertical;
}

.btn-full {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}
/* --- AKHIR PERUBAHAN --- */

/* --- AWAL PERUBAHAN --- */
/* Gaya untuk Pop-up Biometrik */
.biometric-content {
    padding: 10px 0;
    text-align: center;
}

.biometric-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.biometric-content .form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.biometric-content .form-group #biometric-status {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--green);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--green);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
/* --- AKHIR PERUBAHAN --- */

/* --- AWAL PERUBAHAN --- */
/* Gaya untuk Halaman Profil & Versi Aplikasi */
.profile-page-header, .page-header {
    display: flex; align-items: center; padding: 15px 20px;
    background-color: var(--white);
    border-bottom: 1px solid var(--bg-light);
    position: sticky; top: 0; z-index: 10;
}
.profile-page-header .back-button, .page-header .back-button {
    color: var(--text-dark); margin-right: auto;
}
.profile-page-header h1, .page-header h1 {
    font-size: 1.2rem;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.app-version-container {
    text-align: center;
    padding: 10px 20px 20px;
}
.app-version-container p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}
/* --- AKHIR PERUBAHAN --- */