/* =========================================================
   GLOBAL
========================================================= */
body {
    font-family: "Poppins", sans-serif;
    background: #fdf7a3;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}
/* =========================================================
   STYLE NAVBAR KREATIF MERAH KUNING
========================================================= */

.custom-navbar {
    background: #b30000 !important; /* Merah Utama */
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Brand Logo */
.brand-logo {
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: 0.3s;
}
.brand-logo:hover {
    transform: scale(1.05);
}

/* Link Navigasi Standard */
.nav-link-custom {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    margin: 0 5px;
    position: relative;
    transition: 0.3s;
}

.nav-link-custom:hover {
    color: #ffcc00 !important; /* Kuning saat hover */
}

/* Efek garis bawah saat hover */
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ffcc00;
    bottom: 0;
    left: 0;
    transition: 0.3s;
}
.nav-link-custom:hover::after {
    width: 100%;
}

/* Link Keranjang */
.cart-link {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
    padding: 8px 15px !important;
    border-radius: 20px;
    transition: 0.3s;
}
.cart-link:hover {
    background: #ffcc00 !important;
    color: #b30000 !important;
}

/* Tombol Login Admin (Outline Kuning) */
.btn-login-admin {
    border: 2px solid #ffcc00 !important;
    color: #ffcc00 !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 6px 15px;
    transition: 0.3s;
}
.btn-login-admin:hover {
    background: #ffcc00;
    color: #b30000 !important;
}

/* Tombol Login Customer (Kuning Solid) */
.btn-login-customer {
    background: #ffcc00 !important;
    color: #b30000 !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 18px;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-login-customer:hover {
    background: #fff !important;
    color: #b30000 !important;
    transform: translateY(-2px);
}

/* Toggler untuk Mobile */
.custom-toggler {
    border: none !important;
    outline: none !important;
}

/* HERO SLIDER REFINEMENT */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh; /* Lebih proporsional di layar besar */
    min-height: 500px;
    background-color: #333;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slides, .hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 3s ease;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05); /* Efek zoom pelan */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.btn-menu {
    display: inline-block;
    background: #ffcc00;
    color: #b30000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-menu:hover {
    background: #fff;
    color: #b30000;
    transform: translateY(-3px);
}

/* SECTION UTAMA */
.unggulan-baru {
    background-color: #fdf7a3; /* Kuning Cream Lembut */
    padding: 80px 0;
}

.title-modern {
    color: #b30000;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 5px;
}

.subtitle-modern {
    color: #888;
    font-size: 14px;
}

.accent-line {
    width: 50px;
    height: 4px;
    background: #ffcc00;
    margin: 15px auto 40px;
    border-radius: 10px;
}

/* GRID LAYOUT */
.grid-menu-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
    gap: 30px;
    justify-content: center;
}

/* CARD DESIGN */
.card-item-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
}

.card-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(179,0,0,0.1);
}

/* FOTO CARD */
.card-thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-item-modern:hover .card-thumb img {
    transform: scale(1.1);
}

/* KONTEN CARD */
.card-info {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-price {
    color: #b30000;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 5px;
}

.card-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 36px;
}

/* TOMBOL MODERN */
.btn-tambah-modern {
    background: #ffcc00;
    color: #b30000;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
    margin-top: auto;
}

.btn-tambah-modern:hover {
    background: #b30000;
    color: #fff;
}

/* =========================================================
   STYLE FINAL HALAMAN MENU - TERAS JAJANAN
========================================================= */

/* Pastikan body memanjang setinggi layar */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Memastikan area menu mengambil ruang sisa agar footer terdorong ke bawah */
.halaman-menu-bg {
    flex: 1 0 auto; /* Ini akan mendorong footer ke bawah jika konten sedikit */
    background-color: #fdf7a3 !important;
    padding: 40px 0 60px 0;
}

/* KOTAK KATEGORI (PUTIH MELAYANG 3D) */
.kategori-card-wrapper {
    background-color: #ffffff !important;
    margin: 0 auto 60px auto !important;
    padding: 50px 20px;
    border-radius: 25px;
    max-width: 1100px;
    /* Bayangan 3D Mewah */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

/* JUDUL KATEGORI TENGAH */
.judul-kategori-box {
    text-align: center;
    margin-bottom: 40px;
}

.nama-kategori {
    color: #b30000;
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.garis-hias {
    width: 60px;
    height: 4px;
    background: #ffcc00;
    margin: 0 auto;
    border-radius: 10px;
}

/* GRID LAYOUT (KECIL & RAPI) */
.menu-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 240px)) !important;
    gap: 25px;
    justify-content: center;
}

/* CARD MENU */
.menu-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    display: flex !important;
    flex-direction: column !important; /* Berurutan ke bawah */
    height: 100%; /* Menyamakan tinggi card dalam satu baris */
    transition: 0.3s;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* AREA FOTO */
.foto-wrapper {
    height: 150px;
    width: 100%;
    overflow: hidden;
}

.foto-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* KONTEN CARD */
.menu-card-content {
    padding: 15px;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1; /* Mengambil ruang kosong agar tombol ke bawah */
}

/* HARGA DI DALAM (BAWAH FOTO) */
.menu-price {
    color: #b30000;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 5px;
}

.menu-name {
    font-weight: 700;
    font-size: 17px;
    color: #333;
    margin-bottom: 5px;
}

.menu-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* TOMBOL TAMBAH (SEJAJAR RATA BAWAH) */
.btn-add {
    margin-top: auto !important; /* INI KUNCINYA agar tombol sejajar */
    background: #ffcc00;
    color: #b30000;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    border: none;
}

.btn-add:hover {
    background: #b30000;
    color: #fff;
}

/* ==========================================
   TAMPILAN MOBILE (KHUSUS HP)
   ========================================== */

@media (max-width: 768px) {
    /* 1. Sesuaikan padding background agar tidak terlalu luas */
    .halaman-menu-bg {
        padding: 20px 10px 40px 10px;
    }

    /* 2. KOTAK KATEGORI (Rapikan margin samping) */
    .kategori-card-wrapper {
        padding: 30px 15px;
        margin-bottom: 40px !important;
        border-radius: 20px;
    }

    /* 3. JUDUL (Perkecil ukuran font agar tidak pecah) */
    .nama-kategori {
        font-size: 22px;
    }

    /* 4. GRID LAYOUT (PENTING: Buat jadi 2 kolom sejajar) */
    .menu-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 Kolom pas */
        gap: 12px; /* Jarak antar card diperkecil */
    }

    /* 5. AREA FOTO (Perpendek tinggi foto di HP) */
    .foto-wrapper {
        height: 110px;
    }

    /* 6. KONTEN CARD (Padatkan teks) */
    .menu-card-content {
        padding: 10px;
    }

    .menu-price {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .menu-name {
        font-size: 14px; /* Nama menu lebih kecil agar tidak terpotong */
        min-height: 40px; /* Jaga agar kotak teks tetap seragam */
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Maksimal 2 baris nama menu */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .menu-desc {
        display: none; /* Sembunyikan deskripsi di HP agar hemat ruang */
    }

    /* 7. TOMBOL TAMBAH (Buat lebih ramping) */
    .btn-add {
        padding: 8px 5px;
        font-size: 12px;
        border-radius: 8px;
    }
}

/* KHUSUS LAYAR SANGAT KECIL (HP Jadul) */
@media (max-width: 360px) {
    .menu-list {
        grid-template-columns: 1fr !important; /* Kembali jadi 1 kolom jika layar terlalu sempit */
    }
}

/* =========================================================
   KERANJANG
========================================================= */

:root {
    --merah: #d63031;
    --kuning-bg: #fdf7a3;
    --kuning-cerah: #feca57;
    --dark: #2d3436;
    --putih: #ffffff;
}

body { 
    background-color: var(--kuning-bg); 
    font-family: 'Poppins', sans-serif; 
    margin: 0; 
    color: var(--dark);
}

main.container { 
    padding-top: 20px; 
    padding-bottom: 180px !important; 
    max-width: 900px; 
}

/* --- HEADER RAMPING --- */
.cart-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
}
.cart-title { font-weight: 700; font-size: 1.4rem; margin: 0; }
.btn-tambah-global { 
    background: var(--merah); 
    color: #fff !important; 
    padding: 6px 18px; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-decoration: none; 
}

/* --- CARD PESANAN RAMPING --- */
.porsi-card { 
    background: var(--putih); 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    margin-bottom: 15px; 
    overflow: hidden; 
}

.porsi-header { 
    padding: 8px 18px; 
    background: #fdfdfd; 
    border-bottom: 1px solid #eee; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.porsi-label { font-weight: 700; color: var(--merah); font-size: 0.85rem; }

/* Tombol kecil di header */
.btn-action-outline { 
    border: 1px solid var(--merah); 
    color: var(--merah) !important; 
    padding: 2px 10px; 
    border-radius: 50px; 
    font-size: 0.75rem; 
    text-decoration: none; 
    font-weight: 600;
}

/* --- BARIS ITEM RAMPING --- */
.item-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 8px 18px; 
    border-bottom: 1px solid #f9f9f9; 
}
.item-name { font-weight: 500; font-size: 0.95rem; flex: 1; }

.item-actions-wrapper { display: flex; align-items: center; gap: 20px; }
.item-price { font-weight: 700; color: var(--merah); font-size: 0.95rem; min-width: 80px; text-align: right; }

/* Tombol Qty Lebih Kecil */
.qty-group-wrapper { display: flex; align-items: center; gap: 10px; }
.qty-box { 
    display: flex; 
    align-items: center; 
    background: #f1f2f6; 
    border-radius: 8px; 
    padding: 2px; 
}
.btn-qty { 
    width: 28px; 
    height: 28px; 
    border-radius: 6px; 
    background: #fff; 
    border: 1px solid #ddd; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 700; 
    font-size: 0.9rem;
}
.qty-val { margin: 0 10px; font-weight: 700; font-size: 0.85rem; }

.btn-hapus-box { 
    color: #ccc; 
    text-decoration: none; 
    font-size: 1.2rem; 
    line-height: 1; 
    transition: 0.2s;
}
.btn-hapus-box:hover { color: var(--merah); }

/* --- FOOTER KERANJANG RAMPING & PRESISI --- */
.sticky-bottom-cart { 
    position: fixed !important; 
    bottom: 0 !important; 
    left: 0 !important; 
    right: 0 !important; 
    background: #ffffff !important; 
    /* Pangkas tinggi container: padding atas 8px, bawah 12px untuk aman gesture HP */
    padding: -8px 0 12px 0 !important; 
    box-shadow: 0 -8px 20px rgba(0,0,0,0.06) !important; 
    z-index: 999999 !important; 
    border-radius: 20px 20px 0 0; 
    border-top: 1px solid #f0f0f0;
}

.footer-content { 
    width: 90%; 
    max-width: 850px; 
    margin: 0 auto; 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; /* Biar sejajar horizontal */
}

.footer-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important; /* Rapatkan teks agar tidak makan tinggi */
}

.total-label-small {
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 2; /* Biar gak ada ruang kosong di atas/bawah teks */
}


.btn-checkout-giant { 
    background-color: #d63031 !important; 
    color: #ffffff !important; 
    /* Padding tombol dibikin pas agar gak dorong container jadi lebar */
    padding: 10px 30px !important; 
    border-radius: 10px !important; 
    font-weight: 1000 !important; 
    font-size: 15px !important;
    text-decoration: none !important; 
    border: none !important;
    transition: 0.2s;
}

.btn-checkout-giant:active {
    transform: scale(0.96);
}
/* Supaya konten pesanan gak kelindes footer */
main.container {
    padding-bottom: 250px !important;
}

.delivery-badge-final { 
    background: #fff9db; 
    border: 1px solid var(--kuning-cerah); 
    color: #856404; 
    padding: 4px 5px; 
    border-radius: 50px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    margin-bottom: 5px; 
    display: inline-block;
}

.total-price-final { font-size: 1.3rem; font-weight: 800; color: var(--merah); margin: 5; }
.total-label-small { font-size: 0.8rem; color: #888; display: block; }

/* --- EMPTY STATE DALAM KONTINER --- */
.empty-cart-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.empty-icon {
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    animation: float 3s ease-in-out infinite;
}

/* Efek melayang dikit biar kreatif */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* =========================================================
   CHECKOUT PAGE
========================================================= */

/* --- WARNA DASAR TERAS JAJANAN --- */
:root {
    --merah-tj: #d63031;
    --kuning-tj: #ffcc00;
    --bg-ringan: #fffdf2;
}

/* --- STYLING CHECKOUT CARD --- */
.checkout-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 6px solid var(--merah-tj); /* Aksen garis merah di atas */
    max-width: 700px; /* Sesuai permintaan: diperkecil agar lebih fokus */
    margin: 0 auto;
    transition: 0.3s ease-in-out;
}

.text-tj-merah {
    color: var(--merah-tj) !important;
}

.label-bold {
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: #444;
    font-size: 0.9rem;
}

/* --- INPUT & FORM CONTROL --- */
.checkout-card .form-control, 
.checkout-card .form-select {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Mempercantik input saat fokus */
.checkout-card .form-control:focus, 
.checkout-card .form-select:focus {
    border-color: #b30000;
    box-shadow: 0 0 8px rgba(179, 0, 0, 0.2);
    outline: none;
}

/* --- TOMBOL KONFIRMASI --- */
.btn-konfirmasi {
    background-color: var(--merah-tj);
    color: white;
    font-weight: 700;
    padding: 15px;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-konfirmasi:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 48, 49, 0.3);
    color: white;
}

/* --- ANIMASI TRANSISI (Dine In / Delivery) --- */
/* Class ini ditambahkan via JS di kode Anda */
.animate-fade {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tambahan styling untuk Alert di dalam Checkout */
.checkout-card .alert-warning {
    background-color: var(--bg-ringan);
    border: 1px solid #fdf0d5;
    border-radius: 12px;
    color: #856404;
}
/* =========================================================
   STYLE KHUSUS HALAMAN TENTANG KAMI
========================================================= */

/* PAKSA BACKGROUND KUNING SOFT */
body, .halaman-about-bg {
    background-color: #fdf7a3 !important; /* Kuning Cream Soft */
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Tambahkan ini untuk memastikan container utama tidak punya background putih sendiri */
main.container {
    background: transparent !important;
}

/* 2. Hero Section (Bagian Atas yang Merah) */
.about-hero-modern {
    background: linear-gradient(rgba(179, 0, 0, 0.9), rgba(179, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efek gerak saat scroll */
    padding: 120px 0;
    color: white;
    text-align: center;
}

.accent-line {
    width: 80px;
    height: 5px;
    background: #ffcc00; /* Garis Kuning */
    border-radius: 10px;
    margin-top: 15px;
}

/* 3. Kotak Putih Utama (Efek 3D Melayang) */
.about-card-3d {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    margin-top: -80px; /* Membuat kotak naik menabrak area merah */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Bayangan 3D */
    position: relative;
    z-index: 5;
    border: 1px solid rgba(0,0,0,0.05);
}

.section-title {
    color: #b30000;
    font-weight: 800;
    font-size: 32px;
}

.about-text {
    color: #444;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Highlight kata kunci dalam teks */
.about-text strong {
    color: #b30000;
}

/* 4. Foto Makanan di Dalam Card */
.about-card-3d img {
    border-radius: 20px;
    border: 8px solid #fffde7; /* Frame Kuning Soft */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.4s;
}

.about-card-3d img:hover {
    transform: scale(1.03); /* Sedikit membesar saat disentuh */
    border-color: #f9e180;
}

/* 5. Kotak Fitur/Keunggulan (4 Box di Bawah) */
.feature-card-modern {
    background: #ffffff;
    padding: 35px 20px;
    border-radius: 25px;
    height: 100%;
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feature-card-modern:hover {
    transform: translateY(-12px); /* Melompat sedikit ke atas */
    background: #ffcc00; /* Berubah jadi kuning */
}

.feature-icon-circle {
    font-size: 45px;
    background: #fff8e1;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: 0.3s;
}

/* Ikon berubah putih saat kotak jadi kuning */
.feature-card-modern:hover .feature-icon-circle {
    background: #ffffff;
    transform: rotate(15deg); /* Sedikit miring agar kreatif */
}

.feature-card-modern h5 {
    color: #b30000;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card-modern p {
    font-size: 14px;
    color: #666;
}

/*css halaman sukses*/

        body { background-color: #f8f9fa; font-family: 'Poppins', sans-serif; }
        .success-card {
            max-width: 500px;
            margin: 50px auto;
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-top: 10px solid #ffcc00; /* Garis Kuning Atas */
        }
        .success-header {
            background: #fdfdfd;
            padding: 30px 20px;
        }
        .icon-box {
            width: 80px;
            height: 80px;
            background: #28a745;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            margin: 0 auto 20px;
        }
        .kode-box {
            background: #fff8e1;
            border: 2px dashed #b30000;
            padding: 20px;
            border-radius: 15px;
            margin: 20px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px; /* Jarak antara teks dan tombol */
        }
        .kode-text {
            color: #b30000;
            font-size: 2rem;
            letter-spacing: 2px;
            margin: 0;
        }
        .btn-salin {
            background: #ffcc00;
            color: #b30000;
            border: none;
            padding: 5px 10px;
            border-radius: 8px;
            font-size: 1.2rem;
            transition: 0.2s;
            cursor: pointer;
        }
        .btn-salin:hover {
            background: #b30000;
            color: #fff;
        }
        .btn-home {
            background: #b30000;
            color: white;
            border-radius: 50px;
            font-weight: 600;
            padding: 12px 30px;
            transition: 0.3s;
            border: none;
        }
        .btn-home:hover {
            background: #ffcc00;
            color: #b30000;
        }
        /* Notifikasi melayang saat berhasil salin */
        #notifSalin {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #28a745;
            color: white;
            padding: 10px 20px;
            border-radius: 10px;
            display: none;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

#notifSalin {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #27ae60;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    z-index: 9999;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeInDown 0.4s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* BACKGROUND HALAMAN OUTLET */
.halaman-outlet-bg {
    background-color: #fdf7a3 !important; /* Kuning Soft */
    min-height: 100vh;
}

/* HEADER OUTLET */
.outlet-header {
    background: linear-gradient(rgba(179, 0, 0, 0.9), rgba(179, 0, 0, 0.9)), 
                url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    margin-bottom: 40px;
}

/* KARTU OUTLET 3D */
.outlet-card-3d {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.outlet-card-3d:hover {
    transform: translateY(-10px);
}

/* IMAGE CONTAINER */
.outlet-image-container {
    height: 100%;
    min-height: 300px;
}

.outlet-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO CONTENT */
.outlet-info-content {
    padding: 40px;
}

.outlet-name {
    color: #b30000;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.outlet-name::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #ffcc00;
    margin-top: 5px;
    border-radius: 10px;
}

.outlet-address {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* MAP RESPONSIVE */
.map-responsive {
    overflow: hidden;
    padding-bottom: 50%; /* Aspect Ratio Map */
    position: relative;
    height: 0;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* ================================
   LOGIN ADMIN PAGE ONLY
   ================================ */

/* Tombol kembali */
.back-home-btn {
    display: inline-block;
    margin: 20px;
    padding: 8px 16px;
    background: #b30000; /* merah */
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
    font-family: "Poppins", sans-serif;
}
.back-home-btn:hover {
    background: #ffcc00; /* kuning */
    color: #b30000;
}

/* Wrapper background */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #b30000, #ffcc00);
    font-family: "Poppins", sans-serif;
}

/* Card login */
.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
    animation: fadeInUp 0.6s ease;
}

.login-card h3 {
    text-align: center;
    color: #b30000;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

/* Label input */
.login-card label {
    font-weight: 600;
    margin-bottom: 4px;
    color: #b30000;
}

/* Input */
.login-card input[type="text"],
.login-card input[type="password"] {
    border-radius: 8px;
    border: 1.5px solid #b30000;
    padding: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.login-card input:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 6px rgba(255, 204, 0, 0.5);
    outline: none;
}

/* Tombol login */
.login-btn {
    width: 100%;
    background: #b30000;
    color: white;
    border: none;
    padding: 12px;
    margin-top: 14px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    cursor: pointer;
}
.login-btn:hover {
    background: #ffcc00;
    color: #b30000;
}

/* Animasi fade in naik */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   STYLE UNTUK ADMIN DASHBOARD
   ========================================= */
body {
    background-color: #fcfcfc;
    font-family: 'Poppins', sans-serif;
}



h3.text-danger {
    color: #d63031 !important;
    font-weight: 850;
    text-transform: uppercase;
    font-size: 1.5rem;
    border-left: 6px solid #ffcc00;
    padding-left: 15px;
    margin-bottom: 25px !important;
}

.card.shadow-sm {
    border: 2px solid #ffcc00;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(214, 48, 49, 0.1) !important;
}

.table {
    width: 100%;
    margin-bottom: 0;
}

.table thead th {
    color: #ffffff !important;
    background-color: #d63031 !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 18px 10px !important;
    border-bottom: 3px solid #ffcc00 !important;
    text-align: center;

}

.table tbody td {
    padding: 15px 12px !important;
    vertical-align: middle;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.table tbody tr:nth-child(even) {
    background-color: #fffdf2;
}

.table tbody tr:hover {
    background-color: #fff5f5;
}

/* --- FITUR BUKA TUTUP (ACCORDION) --- */

.accordion-button-tj {
    background: #fff9e6;
    border: 1px solid #ffecb3;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 5px;
    width: 100%;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #856404;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.accordion-button-tj:hover {
    background: #ffecb3;
}



.porsi-content {

    padding: 5px 15px 10px 15px;

    display: none; /* Default tertutup */

    background: white;

    border-radius: 0 0 8px 8px;

}



/* --- DROPDOWN AKSI --- */

.btn-dropdown-tj {

    background-color: #27ae60 !important;

    color: white !important;

    font-weight: bold;

    border-radius: 6px;

    padding: 6px 12px !important;

    font-size: 0.8rem;

    border: none !important;

}



.dropdown-menu-tj {

    border: 2px solid #ffcc00;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}



/* =========================================

   RESPONSIVE MOBILE

   ========================================= */

@media (max-width: 767.98px) {

    .table-responsive {

        border-radius: 10px;

        border: 1px solid #ffcc00;

        overflow-x: auto;

    }

    .table tbody td {

        white-space: nowrap;

    }

}



/* --- FIX TOTAL PENCARIAN DASHBOARD --- */



/* 1. Kotak Input (Bulat Kiri) */

.search-box {

    height: 45px !important;

    border: 2px solid #ffcc00 !important; /* Border Kuning */

    border-radius: 50px 0 0 50px !important; /* Bundar Kiri */

    padding-left: 20px !important;

    box-shadow: none !important;

}



/* 2. Tombol Cari (Bulat Kanan + Warna Kuning) */

/* Saya sasar class input-group-text-tj yang kamu pakai di HTML */

.btn.input-group-text-tj {

    background-color: #ffcc00 !important; /* Warna Kuning Terang */

    color: #856404 !important; /* Warna Teks Coklat Gelap */

    border: 2px solid #ffcc00 !important;

    border-radius: 0 50px 50px 0 !important; /* Bundar Kanan */

    font-weight: 800 !important;

    padding: 0 25px !important;

    height: 45px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    text-transform: uppercase;

    font-size: 0.85rem;

    transition: all 0.3s ease;

}



/* 3. Efek saat Tombol Disentuh (Hover) */

.btn.input-group-text-tj:hover {

    background-color: #d63031 !important; /* Berubah Merah */

    border-color: #d63031 !important;

    color: #ffffff !important;

}



/* Perbaikan untuk Mobile agar tidak gepeng */

@media (max-width: 576px) {

    .search-box, .btn.input-group-text-tj {

        height: 40px !important;

        font-size: 0.75rem;

    }

}



/* Bagian konten utama (container) dipaksa mengambil sisa ruang */

.container.mt-4 {

    flex: 1 0 auto; /* Ini yang menekan footer ke bawah jika konten sedikit */

    max-width: 98% !important;

    padding-top: 20px;

    padding-bottom: 50px;

}


/* ===== LOGIN CUSTOMER ===== */
.card input{
    border-radius: 30px;
    padding: 12px;
    font-size: 15px;
}
.card input:focus{
    box-shadow: 0 0 0 .2rem rgba(255,204,0,.4);
    border-color:#ffcc00;
}

.card button{
    border-radius: 30px;
    padding: 12px;
    font-size: 16px;
    transition: .3s;
}
.card button:hover{
    transform: scale(1.03);
}

*{
  font-family: 'Poppins', sans-serif;
}

/* =========================================
   FIXED PREMIUM RECEIPT DASHBOARD (UPDATED)
========================================= */

.bg-dashboard {
    background: radial-gradient(circle at center, #b30000 0%, #b30000 100%) !important;
    min-height: 100vh;
    margin: 0;
    /* Tambah padding bawah minimal 120px supaya logout gak nempel ujung */
    padding: 60px 0 120px 0 !important; 
    display: block !important;
    font-family: 'Poppins', sans-serif;
    overflow-y: auto;
}

.order-wrapper {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
}

/* KARTU STRUK */
.premium-receipt {
    background: #ffffff;
    padding: 45px 30px;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: visible;
}

/* Efek Lubang Kertas di Samping */
.premium-receipt::before, .premium-receipt::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: #9b0000;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.premium-receipt::before { left: -12px; }
.premium-receipt::after { right: -12px; }

/* Header Struk */
.receipt-header {
    text-align: center;
    border-bottom: 2px dashed #eee;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.receipt-header h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2d3436;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Status Pesanan */
.receipt-status {
    display: inline-block;
    background: #ffcc00;
    color: #b30000;
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    margin-top: 10px;
}

/* Detail Transaksi */
.receipt-section {
    margin-bottom: 20px;
}

.receipt-label {
    font-size: 0.65rem;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

.receipt-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

/* List Menu */
.receipt-items {
    border-top: 1px solid #f8f9fa;
    padding-top: 20px;
    margin-top: 10px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.item-name { 
    color: #444; 
    font-size: 0.95rem; 
    flex: 1; 
}

.item-price { 
    color: #2d3436; 
    font-weight: 700; 
    font-family: 'Courier New', Courier, monospace;
}

/* Total Akhir (Dikecilkan ukurannya) */
.receipt-footer-total {
    border-top: 2px dashed #eee;
    padding-top: 20px;
    margin-top: 10px;
    text-align: right;
}

.grand-total-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
}

.grand-total-value {
    font-size: 1.6rem; /* Ukuran total harga lebih manusiawi */
    font-weight: 900;
    color: #d63031;
    display: block;
    line-height: 1.2;
}

/* Footer di bawah struk */
.footer-info {
    text-align: center;
    margin-top: 40px;
}

.footer-info p { 
    color: #ffffff; 
    opacity: 0.8; 
    font-style: italic; 
    font-size: 0.9rem; 
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Link Logout dengan jarak lebih jauh */
.logout-link {
    display: inline-block; /* Pakai inline-block supaya padding bawah bekerja */
    margin-top: 20px; /* Jarak dari tombol chat diperbesar */
    margin-bottom: 20px; /* Jarak tambahan ke dasar layar */
    color: #ffcc00;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    /* Tambahkan garis bawah tipis biar makin estetik */
    border-bottom: 1px solid rgba(255, 204, 0, 0.3);
    padding-bottom: 5px;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* FOOTER */
.footer {
    margin-top: auto;
    background-color: #b30000; /* MERAH */
    color: #ffffff;
    text-align: center;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 500;
}

/* WARNA KUNING UNTUK BRAND */
.footer strong {
    color: #ffeb3b;
}

/* CONTAINER */
.footer .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* --- KONTAK STYLE BENTO (SUPER KREATIF) --- */
.contact-wrapper {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h3 {
    font-weight: 900;
    font-size: 3rem;
    color: #d63031;
    text-shadow: 2px 2px #ffcc00; /* Shadow kuning khas TJ */
    margin-bottom: 10px;
}

/* Card Container */
.contact-card.contact-minimal {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Ukuran kotak gak sama biar estetik */
    gap: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Base Style Kotak Kontak */
.contact-item {
    padding: 40px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Kotak WhatsApp (Warna Merah TJ) */
.contact-item:nth-child(1) {
    background: #d63031;
    color: white;
}

/* Kotak Email (Warna Kuning TJ) */
.contact-item:nth-child(2) {
    background: #ffcc00;
    color: #856404;
}

.contact-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Ikon Raksasa di Pojok */
.contact-icon {
    font-size: 5rem;
    position: absolute;
    right: -10px;
    bottom: -10px;
    opacity: 0.2;
    transform: rotate(-15deg);
    transition: 0.4s;
}

.contact-item:hover .contact-icon {
    transform: rotate(0deg) scale(1.2);
    opacity: 0.4;
}

/* Teks Inside */
.contact-item span {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-item a {
    font-size: 1.8rem;
    font-weight: 800;
    color: inherit;
    margin-top: 10px;
    word-break: break-all;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card.contact-minimal {
        grid-template-columns: 1fr;
    }
    .contact-header h3 {
        font-size: 2.2rem;
    }
    .contact-item {
        padding: 30px;
    }
}

/* --- PAKSA FOOTER DI BAWAH --- */

/* 1. Atur tinggi layar penuh */
html, body {
    height: 100% !important;
    margin: 0;
}

/* 2. Gunakan Flexbox pada body */
body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

/* 3. Dorong konten agar footer turun */
.contact-wrapper {
    flex: 1 0 auto; /* Ini yang menekan footer ke paling bawah */
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

/* 4. Pastikan footer tidak menyusut */
.footer {
    flex-shrink: 0 !important;
    background-color: #d63031 !important; /* Warna merah TJ */
    color: white !important;
    padding: 20px 0 !important;
    text-align: center;
    width: 100%;
}
/* =========================================================
   ADMIN HOME - KELOLA BANNER (TERAS JAJANAN)
   ========================================================= */

/* Judul Halaman Admin */
.admin-title {
    color: #d63031 !important; /* Merah yang sama dengan dashboard */
    font-weight: 850;
    text-transform: uppercase;
    font-size: 1.5rem;
    /* Aksen Garis Kuning di Kiri */
    border-left: 6px solid #ffcc00; 
    padding-left: 15px;
    margin-bottom: 25px !important;
    text-align: left !important; /* Paksa ke kiri agar sesuai gambar */
    display: block;
    margin-top: 25px;
}

/* Kartu Upload & List (Bento Style) */
.admin-container .card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Header Kartu Merah */
.admin-container .card-header.bg-danger {
    background-color: #b30000 !important;
    color: #ffcc00 !important;
    padding: 18px 25px;
    font-size: 1.1rem;
    border: none;
}

/* Body Kartu */
.admin-container .card-body {
    background: #ffffff;
    padding: 30px;
}

/* Input File Custom */
.admin-container .form-control {
    border-radius: 12px;
    border: 2px dashed #ffcc00;
    padding: 12px;
    transition: 0.3s;
}

.admin-container .form-control:focus {
    border-color: #b30000;
    box-shadow: 0 0 10px rgba(179, 0, 0, 0.1);
}

/* Tabel Banner */
.admin-container .table {
    border-radius: 15px;
    overflow: hidden;
}

.admin-container .table thead.table-danger {
    background-color: #b30000 !important;
}

.admin-container .table thead th {
    background-color: #b30000 !important;
    color: #fff !important;
    border: none;
    padding: 15px;
}

/* Gambar Preview Banner */
.admin-container .table img {
    border-radius: 12px;
    object-fit: cover;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #f8f9fa;
}

.admin-container tr:hover img {
    transform: scale(1.5) rotate(2deg); /* Zoom saat hover */
    z-index: 100;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Badge Status Aktif/Nonaktif */
.badge.bg-success {
    background-color: #27ae60 !important;
    padding: 8px 15px;
    border-radius: 50px;
}

.badge.bg-secondary {
    background-color: #95a5a6 !important;
    padding: 8px 15px;
    border-radius: 50px;
}

/* --- FIX TOMBOL UPLOAD RAKSASA --- */

/* Membatasi ukuran tombol upload di layar Desktop */
.admin-container .btn-warning[type="submit"], 
.admin-container .card-body .btn-warning {
    max-width: 150px !important; /* Ukuran proporsional */
    width: 100% !important;
    height: auto !important;
    padding: 10px 20px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    float: right; /* Menaruh tombol di sebelah kanan input */
}

/* Pastikan input file dan tombol berada dalam satu baris di Desktop */
@media (min-width: 768px) {
    .admin-container form .row {
        align-items: center !important;
    }
}

/* Responsif untuk HP (Kembali jadi besar agar mudah ditekan jari) */
@media (max-width: 576px) {
    .admin-container .btn-warning[type="submit"],
    .admin-container .card-body .btn-warning {
        max-width: 100% !important; /* Full width di HP */
        float: none !important;
        margin-top: 15px !important;
    }
}

/* Tambahan: Supaya input file tidak terlalu nempel dengan tombol */
.admin-container .form-control {
    margin-bottom: 0 !important;
}

.admin-container .btn-warning:hover {
    background: #b30000;
    color: #fff;
    transform: translateY(-3px);
}

.admin-container .btn-danger {
    background: #e74c3c;
    border-radius: 10px;
    padding: 8px 15px;
}

/* Baris Tabel Hover */
.admin-container tbody tr {
    transition: 0.3s;
}

.admin-container tbody tr:hover {
    background-color: #fffde7 !important; /* Sorotan kuning lembut */
}

/* --- FIX FOOTER UNTUK SEMUA MODE --- */

/* --- METODE GRID (ANTI GAGAL) --- */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: grid;
    /* Grid membagi 2 baris: Baris 1 (isi) ambil sisa ruang, Baris 2 (footer) sesuai isi */
    grid-template-rows: 1fr auto;
    min-height: 100vh;
}

/* Pastikan main-wrapper membungkus semua kecuali footer */
.main-wrapper {
    width: 100%;
    /* Mengatasi overflow di beberapa browser HP */
    overflow-x: hidden; 
}

.footer {
    background-color: #b30000;
    color: #ffcc00;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    /* Memastikan footer berada di grid paling bawah */
    grid-row-start: 2;
    grid-row-end: 3;
}

/* Fix Khusus Mode Desktop di HP */
@media screen and (min-width: 900px) {
    body {
        /* Memaksa ulang tinggi minimal */
        min-height: 100vh !important;
    }
}

/* =========================================================
   1. CSS GLOBAL (JUDUL SESUAI DASHBOARD)
   ========================================================= */

/* Judul Utama dengan Garis Kuning di Kiri agar Serasi */
main.container h3.text-danger {
    color: #d63031 !important;
    font-weight: 850;
    text-transform: uppercase;
    font-size: 1.5rem;
    border-left: 6px solid #ffcc00; /* Aksen Kuning Dashboard */
    padding-left: 15px;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
}

/* Jarak Container dari Navbar */
main.container.mt-4 {
    margin-top: 25px !important;
}

/* =========================================================
   2. KHUSUS HALAMAN EDIT MENU (BIAR RAMPING)
   ========================================================= */

/* Pastikan selector ini sangat spesifik agar menang dari Bootstrap */
html body main.container.halaman-edit-menu {
    max-width: 500px !important; /* Kita paksa ramping ke 500px */
    width: 90% !important;        /* Agar tetap responsif di HP */
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
}

/* Judul Serasi dengan Dashboard */
.halaman-edit-menu h3.text-danger {
    color: #d63031 !important;
    font-weight: 850;
    text-transform: uppercase;
    font-size: 1.5rem;
    border-left: 6px solid #ffcc00;
    padding-left: 15px;
    margin-bottom: 25px !important;
}

/* Form Putih Agar Cantik */
.halaman-edit-menu form.bg-white {
    border-radius: 20px !important;
    border-top: 8px solid #d63031 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    padding: 30px !important;
}

/* Button Full Width */
.halaman-edit-menu .btn-yellow {
    width: 100% !important;
    background-color: #ffcc00;
    color: #b30000;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

/* Checkbox Area */
.check-box-custom {
    display: flex;
    align-items: center;
    background: #fff9e6;
    padding: 12px;
    border-radius: 10px;
    border: 1px dashed #ffcc00;
}

.check-box-custom input {
    margin-right: 12px;
    transform: scale(1.2);
}

.btn-yellow:hover {
    background-color: #d63031;
    color: #fff;
    transform: translateY(-2px);
}

/*halaman menu tambah*/
    /* Menyamakan warna background krem sesuai gambar */
    body {
        background-color: #fff9b1 !important; 
        min-height: 100vh;
    }
    
    /* Style untuk judul Edit Menu dengan garis di samping */
    .title-section {
        border-left: 5px solid #f39c12;
        padding-left: 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .title-section h2 {
        color: #e74c3c;
        font-weight: 800;
        text-transform: uppercase;
        margin: 0;
    }

    /* Style Form Putih dengan Border Merah di Atas */
    .form-container {
        background: white;
        border-radius: 25px;
        border-top: 8px solid #e74c3c;
        padding: 40px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        max-width: 600px;
        margin: 0 auto 50px auto;
    }

    .form-label {
        font-weight: 500;
        color: #555;
        margin-bottom: 8px;
    }

    .form-control, .form-select {
        border-radius: 8px;
        padding: 10px 15px;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .btn-submit {
        background-color: #e74c3c;
        color: white;
        border: none;
        padding: 12px;
        border-radius: 10px;
        font-weight: bold;
        width: 100%;
        transition: 0.3s;
    }
    .btn-submit:hover {
        background-color: #c0392b;
    }

    /* --- VERSI CERAH: TANPA WARNA HITAM oultet admin --- */

body {
    background-color: #fff9b1 !important; /* Kuning krem lembut */
    color: #555 !important; /* Teks abu-abu tua, bukan hitam */
}

/* Judul dengan aksen oranye */
h3.text-danger {
    color: #e74c3c !important;
    font-weight: 800;
    text-transform: uppercase;
    text-align: left !important;
    border-left: 6px solid #f39c12; 
    padding: 5px 0 5px 15px !important;
    margin: 40px 0 20px 0 !important;
}

/* Tombol Tambah Outlet (Oranye) */
.text-center.mb-3 {
    text-align: left !important;
}

.btn-warning {
    background-color: #f39c12 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-weight: bold !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

/* Tabel Card Putih Bersih */
table.table {
    background-color: white !important;
    border: none !important; 
    border-radius: 20px !important;
    border-top: 8px solid #e74c3c !important; /* Aksen merah atas */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border-collapse: collapse !important;
}

/* Header Tabel Merah */
thead.table-warning {
    background-color: #e74c3c !important;
}

thead.table-warning th {
    background-color: #e74c3c !important;
    color: white !important;
    border: none !important;
    padding: 20px !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Isi Tabel (Tanpa garis hitam) */
.table td {
    border: none !important;
    border-bottom: 1px solid #fdf2f2 !important; /* Garis merah sangat tipis */
    padding: 18px 15px !important;
    vertical-align: middle;
    color: #666 !important;
}

/* Ganti Tombol Edit (Tadinya hitam jadi oranye muda/soft) */
.btn-dark {
    background-color: #f39c12 !important; /* Sama dengan tema oranye */
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 15px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Tombol Hapus (Tetap merah tapi soft) */
.btn-danger {
    background-color: #ff5e57 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 15px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Foto Outlet */
table img {
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* =========================================
   RESPONSIVE HP (UNTUK SEMUA HALAMAN ADMIN)
   ========================================= */

@media (max-width: 768px) {
    /* 1. Atur Kontainer agar tidak terlalu mepet layar */
    main.container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* 2. Judul Kiri Aksen Oranye (Ukuran HP) */
    h3.text-danger {
        font-size: 1.2rem !important;
        margin-top: 20px !important;
        margin-bottom: 15px !important;
    }

    /* 3. Tombol Tambah Outlet & Form Cari (Numpuk Vertikal) */
    .row.mb-3 {
        display: flex;
        flex-direction: column;
    }

    .col-md-6 {
        width: 100% !important;
        margin-bottom: 10px;
    }

    /* 4. PAKSA TABEL BISA DIGESER (SCROLL) */
    /* Menargetkan tabel outlet agar tidak kepotong */
    .table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important; /* Biar bisa digeser kanan-kiri */
        -webkit-overflow-scrolling: touch;
        white-space: nowrap !important; /* Mencegah teks turun ke bawah */
        border-radius: 15px !important;
    }

    /* 5. Jarak Aman Kolom Terakhir (Aksi) */
    /* Supaya tombol Hapus tidak nempel di pinggir layar saat digeser */
    .table th:last-child, 
    .table td:last-child {
        padding-right: 30px !important; 
        text-align: center;
    }

    /* 6. Perkecil Foto di HP */
    table img {
        width: 70px !important;
        height: 50px !important;
    }

    /* 7. Tombol Aksi (Edit & Hapus) di HP */
    .btn-dark, .btn-danger {
        padding: 8px 12px !important;
        font-size: 12px !important;
        display: inline-block !important;
    }
}

/* --- MARGIN KHUSUS CONTAINER FORM EDIT --- */

/* 1. Reset Body agar normal */
body {
    background-color: #fff9b1 !important;
    margin: 0;
    padding: 0;
}

/* 2. Matikan paksa d-flex agar margin-top bisa bekerja */
main.d-flex.justify-content-center.align-items-center {
    display: block !important; /* Wajib block supaya margin-top jalan */
    min-height: auto !important;
    text-align: center; /* Supaya judul & form tetap di tengah */
}

/* 3. Judul dengan Margin ke Navbar */
h4.text-danger {
    display: inline-block;
    text-align: left !important;
    width: 100%;
    max-width: 480px;
    margin-top: 10px !important; /* INI JARAK KE NAVBAR */
    margin-bottom: 20px !important;
    border-left: 6px solid #f39c12;
    padding-left: 15px;
    font-weight: 800;
}

/* 4. Container (Form Putih) dengan Margin */
form.bg-white {
    margin: 0 auto 100px auto !important; /* 100px bawah agar tidak nempel footer */
    border-top: 10px solid #e74c3c !important;
    border-radius: 20px !important;
    padding: 40px !important;
    width: 100% !important;
    max-width: 480px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    display: inline-block; /* Supaya tetap di tengah */
    text-align: left; /* Teks di dalam tetap kiri */
}

/* 5. Rapikan Footer */
footer {
    margin-top: 50px !important;
    position: relative !important;
}

/* FIX ABSOLUT UNTUK SEMUA HALAMAN ADMIN */

/* Paksa Body turun dari Navbar */
body {
    background-color: #fff9b1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hilangkan fungsi flexbox Bootstrap yang bikin konten 'terjepit' */
main.d-flex {
    display: block !important; 
    padding-top: 140px !important; /* INI KUNCINYA: Paksa turun 140px */
    padding-bottom: 50px !important;
    min-height: 100vh !important;
}

/* Container Putih (Kelola Kontak & Edit Outlet) */
main .bg-white {
    margin: 0 auto !important; /* Tengah horizontal */
    max-width: 480px !important;
    width: 90% !important;
    border-top: 10px solid #e74c3c !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Judul di Kiri */
h4.text-danger {
    text-align: left !important;
    margin-bottom: 25px !important;
    border-left: 6px solid #f39c12 !important;
    padding-left: 15px !important;
    font-weight: 800;
}

/* Responsif Mobile */
@media (max-width: 576px) {
    main.d-flex {
        padding-top: 100px !important;
    }
    main .bg-white {
        width: 95% !important;
        padding: 20px !important;
    }
}