/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

/* Universal Box-Sizing & Root Overflow Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #000;
}

/* NAVBAR STYLING
*/
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    gap: 30px;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* KODE BARU: Memaksa pembungkus logo rata tengah */
.nav-brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-brand a {
    display: flex;
    align-items: center;
}

.nav-brand img {
    height: 50px; /* Sedikit dikecilkan agar proporsional dengan search bar */
    /* Hapus baris transform: translateY(14px); yang lama */
    object-fit: contain; 
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 20px;
}
.nav-menu a.active {
    color: #3b82f6; /* Warna biru aktif */
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 5px;
}

/* =========================================
   LANGUAGE SWITCHER BADGE
   ========================================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 700;
}
.lang-btn {
    text-decoration: none;
    color: #64748b;
    padding: 2px 6px;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}
.lang-btn:hover {
    color: #1e293b;
}
.lang-btn.active {
    background: #2563eb;
    color: #ffffff !important;
}
.lang-divider {
    color: #cbd5e1;
    font-size: 11px;
}

/* Pastikan nav-search yang lama ditambahkan position: relative */
.nav-search {
    display: flex;
    align-items: center;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 6px 15px;
    width: 100%;
    max-width: 600px;
    position: relative; /* <-- Ini sangat penting! */
}

/* =========================================
DROPDOWN PENCARIAN (STYLE GOOGLE)
   ========================================= */
.search-dropdown {
    position: absolute;
    top: 45px; /* Jarak dari kotak pencarian */
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 15px; /* Sudut melengkung rapi */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Efek bayangan melayang */
    display: none; /* Disembunyikan secara default */
    z-index: 1000;
    overflow: hidden;
}

/* Akan aktif saat ditambah class 'show' oleh JavaScript */
.search-dropdown.show {
    display: block;
}

.search-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.search-dropdown li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}

/* Efek saat opsi disorot mouse */
.search-dropdown li a:hover {
    background-color: #f0f4ff; 
    color: #3b82f6; /* Berubah biru */
}

.search-dropdown li i {
    color: #888;
    font-size: 14px;
}
.search-dropdown li a:hover i {
    color: #3b82f6;
}
.nav-search input {
    border: none;
    outline: none;
    width: 100%;
    margin-left: 10px;
    font-family: 'Poppins', sans-serif;
}

.nav-icons {
    display: flex;
    gap: 40px;
    font-size: 25px;
    color: #333;
}

/* HOME ZIG-ZAG LAYOUT */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
}
/* Membalik urutan untuk gambar di kiri */
.row.reverse {
    flex-direction: row-reverse;
}

.text-content { flex: 1; }
.img-content {
    flex: 1;
    display: flex;
    justify-content: center;
}
.img-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Opsional, agar sudut gambar sedikit melengkung */
}

.text-content h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}
.text-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}
.btn-dark {
    display: inline-block;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: 0.3s;
}
.btn-dark:hover {
    background-color: #333;
}

/* =========================================
HALAMAN KATALOG
   ========================================= */
.katalog-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Banner Atas */
.banner-container {
    display: flex;
    align-items: center;
    position: relative; /* Wajib ditambahkan agar posisi panah patuh pada kotak ini */
    margin-bottom: 50px;
    /* justify-content: space-between dihapus agar banner bisa melebar full */
}

.banner-arrow {
    position: absolute; /* Membuat panah melayang */
    top: 50%;
    transform: translateY(-50%); /* Menjaga panah tetap presisi di tengah vertikal */
    font-size: 40px;
    cursor: pointer;
    color: #000;
    z-index: 20; /* Memastikan panah selalu berada di atas elemen lain */
    transition: 0.2s;
}

/* Animasi saat panah disentuh mouse */
.banner-arrow:hover { 
    transform: translateY(-50%) scale(1.1); 
}

/* Mengatur posisi panah agar keluar sejauh 40px dari kotak banner */
#prevBanner {
    left: -40px; 
}
#nextBanner {
    right: -40px; 
}

.banner-content {
    flex: 1;
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    color: white;
    height: 200px;
    
    /* DUA BARIS INI KUNCI AGAR GAMBAR TERPOTONG RAPI */
    position: relative; 
    overflow: hidden; 
}

.banner-text {
    position: relative;
    z-index: 15; /* Memastikan teks berada di depan gambar icon (z-index: 10) */
}

.banner-text h1 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mengatur Posisi Gambar Karakter / Icon Banner */
.banner-img {
    position: absolute;
    right: 0; /* Membuat gambar mentok/rata ke kanan */
    bottom: 0; /* Membuat potongan bawah gambar sejajar dengan lantai banner */
    height: 200px; /* Atur ukuran gambar di sini jika terlalu besar/kecil */
    z-index: 10;
}

.btn-banner {
    background-color: white;
    color: black;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #000;
}

/* Grid & Kartu Produk */
.katalog-section-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.product-grid {
    display: grid;
    /* Akan membuat 4 kolom ke samping */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}
.product-card {
    display: flex;
    flex-direction: column;
}
.product-img-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1; /* Membuat gambar presisi kotak persegi */
    background-color: #f8f9fa;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-order {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: black;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.2s;
}
.btn-order:hover {
    background-color: #000;
    color: #fff;
}
.product-info h3 {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    margin: 0 0 5px 0;
}
.product-info .price {
    font-size: 17px;
    font-weight: 800;
    color: #000;
    margin: 0 0 8px 0;
}
.product-info .rating {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}
.product-info .rating i {
    color: #fbbf24; /* Warna kuning bintang */
}

/* =========================================
   HALAMAN PEMESANAN / DETAIL PRODUK
   ========================================= */
body.bg-light {
    background-color: #f8fafc; /* Latar belakang abu-abu sangat muda */
}

.pemesanan-wrapper {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Header Khusus Pemesanan */
.pemesanan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.pemesanan-title {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    font-weight: 800;
}
.pemesanan-title a {
    color: #000;
    font-size: 24px;
    text-decoration: none;
}

/* Kotak Utama Putih */
.pemesanan-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.pemesanan-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* Galeri Gambar */
.main-product-img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #f1f5f9;
    margin-bottom: 15px;
}
.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.thumbnail-row img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}
.thumbnail-row img:hover {
    border-color: #2563eb; /* Warna biru saat disorot */
}

/* Detail Teks Sebelah Kanan */
.product-detail-info h1 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 10px 0;
}
.product-detail-info h1 strong {
    font-weight: 800;
}
.detail-rating {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}
.detail-rating i { color: #fbbf24; }
.detail-price {
    font-size: 32px;
    font-weight: 800;
    color: #2563eb; /* Biru khas e-commerce */
    margin-bottom: 25px;
}

/* Kuantitas */
.qty-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
    display: block;
}
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    width: fit-content;
    border-radius: 6px;
    margin-bottom: 30px;
}
.qty-btn {
    background: #fff;
    border: none;
    color: #2563eb;
    font-size: 18px;
    padding: 5px 15px;
    cursor: pointer;
}
.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    font-weight: 800;
    color: #2563eb;
    height: 100%;
    padding: 8px 0;
    outline: none;
}

/* Form Input Telepon */
.input-telepon {
    width: 100%;
    padding: 15px;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 25px;
    outline: none;
}
.input-telepon::placeholder {
    color: #93c5fd;
}

/* Tombol Aksi */
.action-buttons {
    display: flex;
    gap: 15px;
}
.btn-outline-blue {
    flex: 1;
    background: #fff;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 15px 0;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}
.btn-outline-blue:hover { background: #eff6ff; }

.btn-solid-blue {
    flex: 1;
    background: #2563eb;
    border: none;
    color: #fff;
    padding: 15px 0;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-solid-blue:hover { background: #1d4ed8; }

/* Box Info Toko */
.store-info-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 40px;
}
.store-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}
.store-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
}
.store-profile h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 800;
}
.btn-kunjungi {
    font-size: 10px;
    font-weight: 700;
    color: #2563eb;
    border: 1px solid #2563eb;
    background: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    text-decoration: none;
}
.store-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    border-left: 2px solid #e2e8f0;
    padding-left: 40px;
}
.store-stats span {
    color: #2563eb;
    font-weight: 800;
}

/* =========================================
   HALAMAN KERANJANG
   ========================================= */
.text-blue {
    color: #2563eb !important;
}

.cart-container {
    max-width: 700px; /* Lebar kotak item disesuaikan dengan desain */
    margin-bottom: 40px;
}

.cart-item-wrapper {
    margin-bottom: 20px;
}

/* Kotak Utama Item Keranjang */
.cart-item-box {
    border: 2px solid #2563eb;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 20px;
    position: relative;
    background-color: #fff;
    margin-bottom: 8px;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f1f5f9;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-details h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.cart-item-details h5 {
    margin: 2px 0 10px 0;
    font-size: 14px;
    font-weight: 800;
    color: #000;
}

.cart-item-price {
    color: #2563eb;
    font-weight: 800;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.cart-input-phone {
    border: 1px solid #93c5fd;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
    color: #93c5fd;
    width: 250px;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
.cart-input-phone::placeholder {
    color: #93c5fd;
}

/* Tulisan Total di Pojok Kanan Bawah Item */
.cart-item-qty {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 14px;
    color: #000;
}
.cart-item-qty strong {
    font-weight: 800;
    margin-left: 5px;
}

/* Kotak Pesan untuk Penjual */
.cart-item-message {
    border: 2px solid #2563eb;
    border-radius: 4px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msg-label {
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
}

.msg-link {
    color: #93c5fd;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.msg-link i {
    color: #000;
    font-size: 18px;
    font-weight: 800;
}

/* Bagian Checkout (Bawah) */
.cart-checkout-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    padding-top: 20px;
}

.cart-total-info {
    text-align: right;
}

.total-label {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #000;
}

.total-price {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #2563eb;
}

.btn-checkout {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-checkout:hover {
    background: #1d4ed8;
}

/* =========================================
   HALAMAN STATUS & DETAIL PELACAKAN
   ========================================= */

/* KARTU DAFTAR STATUS */
.status-card-box {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    margin-bottom: 20px;
}
.status-card-box.border-blue {
    border-color: #2563eb;
}

.status-info-left {
    display: flex;
    gap: 20px;
    align-items: center;
}
.status-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}
.status-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}
.status-text h5 {
    margin: 5px 0 15px 0;
    font-size: 14px;
    font-weight: 800;
}
.btn-lihat-detail {
    border: 1px solid #93c5fd;
    color: #93c5fd;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}
.btn-lihat-detail:hover {
    background-color: #eff6ff;
    color: #2563eb;
    border-color: #2563eb;
}

.status-icon-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 150px;
}
.status-icon-right i {
    font-size: 40px;
    margin-bottom: 10px;
}
.icon-blue { color: #2563eb; }
.icon-black { color: #000; }
.status-icon-right span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* KARTU DETAIL STATUS & TIMELINE */
.detail-status-card {
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 30px;
    background-color: #fff;
}
.detail-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.detail-store-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
}
.detail-store-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.text-take-it {
    color: #2563eb;
    font-weight: 800;
    font-size: 18px;
}

.detail-alert h2 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 800;
}
.detail-alert p {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #666;
}

.detail-product-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.detail-product-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}
.detail-product-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 400;
}
.detail-product-info .price {
    font-size: 24px;
    font-weight: 800;
    color: #2563eb;
    margin: 0 0 10px 0;
}
.detail-product-info .est {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}
.detail-product-info .est strong { color: #000; font-weight: 800; }

.btn-masukan {
    border: 1px solid #2563eb;
    color: #2563eb;
    background: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    margin-right: 10px;
}
.btn-belum-ambil {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}

/* TIMELINE TRACKING */
.tracking-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px dashed #cbd5e1;
}
.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}
.tracking-icon {
    font-size: 24px;
    color: #2563eb;
    background: #fff;
    padding: 0 10px;
    margin-bottom: 15px;
    z-index: 2;
}
.tracking-step:last-child .tracking-icon { color: #000; }
.tracking-line {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 100%;
    height: 1px;
    background-color: #000;
    z-index: 1;
}
.tracking-step:last-child .tracking-line { display: none; }
.tracking-text {
    font-size: 11px;
    color: #666;
    max-width: 120px;
}

/* ===== TRACKING TIMELINE - STATUS AKTIF (No. 7) ===== */

.tracking-icon {
    color: #cbd5e1;
}

.tracking-step.tracking-active .tracking-icon {
    color: #2563eb;
}

.tracking-step.tracking-active .tracking-line {
    background-color: #2563eb;
}

.tracking-step.tracking-active .tracking-text {
    color: #2563eb;
    font-weight: 800;
}

.tracking-step.tracking-active:last-child .tracking-icon {
    color: #000;
}


/* =========================================
   HALAMAN DASHBOARD ADMIN JURUSAN
   ========================================= */
.admin-body {
    background-color: #f5f1eb; /* Warna latar krem/abu hangat */
    margin: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR KIRI */
.admin-sidebar {
    width: 250px;
    background-color: #fff;
    border-right: 2px solid #e5e5e5;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.admin-logo {
    width: 200px;
    margin-bottom: 50px;
}
.admin-nav {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}
.admin-nav li {
    width: 100%;
}
.admin-nav a {
    display: block;
    padding: 15px 30px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}
.admin-nav a.active {
    font-weight: 800;
    color: #000;
    border-top: 2px solid #eaeaea;
    border-bottom: 2px solid #eaeaea;
}

/* AREA KONTEN KANAN */
.admin-main {
    flex: 1;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
}

/* Top Profile Pill */
.admin-top-profile {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.profile-pill {
    background: #fff;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 5px 20px 5px 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
}
.profile-pill img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #a5d6d9; /* Warna bg avatar */
}

/* Header Judul & Action */
.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 30px;
    border-radius: 15px;
    margin-bottom: 20px;
}
.admin-header-row h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #333;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    color: #555;
}
.year-badge {
    background: #333;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 5px 15px;
    border-radius: 10px;
}

/* GRID KONTEN DASHBOARD */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 20px;
}
.dash-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.card-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #333;
}

/* GRAFIK VERTIKAL (SATISFACTION) */
.chart-container-vertical {
    display: flex;
    height: 250px;
    gap: 10px;
    align-items: flex-end;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding-left: 10px;
    position: relative;
    margin-bottom: 15px;
}
.v-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding-bottom: 5px;
}
.labels-under {
    display: flex;
    gap: 10px;
}
.label-box {
    flex: 1;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    padding: 3px 0;
    border-radius: 4px;
}
.chart-desc {
    font-size: 10px;
    color: #666;
    margin-top: 15px;
    line-height: 1.4;
}

/* WARNA GRAFIK */
.bg-dark-red { background-color: #8f1f1e; }
.bg-bright-red { background-color: #ff0000; }
.bg-beige { background-color: #d1b49e; color: #333 !important;}
.bg-brown { background-color: #683b22; }

/* GRAFIK HORIZONTAL (SALES) */
.sales-top-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.chart-container-horizontal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.h-bar {
    height: 35px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}
.scale-x {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 800;
    color: #666;
    margin-top: 5px;
}

/* Highest Value Box */
.highest-value-box {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
}
.highest-value-box p { margin: 0; font-size: 12px; color: #666; }
.highest-value-box h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #683b22;
    border: 2px solid #8b5cf6; /* Garis ungu sesuai desain */
    padding: 5px;
    display: inline-block;
}
.highest-value-box .desc { font-size: 9px; line-height: 1.3;}

/* STATS BAWAH */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.stat-card h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}
.stat-card .number {
    font-size: 45px;
    font-weight: 800;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
}
.stat-card .percent {
    font-size: 14px;
    font-weight: 800;
    color: #799e69; /* Hijau redup */
}
.stat-card .since {
    font-size: 9px;
    font-weight: 800;
    color: #999;
}
.stat-card .icon-bg {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #000;
}

/* =========================================
   HALAMAN ADMIN JURUSAN - PRODUCTS
   ========================================= */
.admin-white-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.btn-update {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: black;
    font-weight: 800;
    font-size: 11px;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #000; /* Ada garis tepi hitam sesuai desain */
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s;
}
.btn-update:hover {
    background-color: #000;
    color: #fff;
}

/* Kartu Add New (Tambah Produk) */
.add-new-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}
.add-new-icon-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px solid #000;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    background-color: transparent;
    transition: 0.2s;
}
.add-new-icon-wrapper:hover {
    background-color: #f1f5f9;
}
.add-new-icon-wrapper i {
    font-size: 80px; /* Ukuran icon plus yang besar */
    color: #000;
    font-weight: 400;
}
.add-new-text {
    font-size: 14px;
    font-weight: 800;
    color: #000;
}

/* =========================================
   HALAMAN ADMIN PUSAT (CUSTOMER SERVICE)
   ========================================= */
/* Garis hitam bawah khusus untuk penanda menu aktif */
.admin-nav a.active-black-line {
    font-weight: 800;
    color: #000;
    border-bottom: 2px solid #000;
}

.admin-nav li {
    position: relative; /* Menjaga agar titik merah tidak lari dari wadahnya */
}

.red-dot {
    position: absolute;
    left: 15px; /* Posisi titik di pinggir kiri */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #ff0000; /* Warna merah */
    border-radius: 50%;
}

/* Teks aktif tanpa garis atas bawah (sesuai desain) */
.admin-nav a.active-cs {
    font-weight: 800;
    color: #000;
}

/* =========================================
   HALAMAN CHAT CUSTOMER SERVICE
   ========================================= */
.chat-wrapper {
    display: flex;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #000;
    height: 60vh; /* Mengatur tinggi kotak chat */
    min-height: 500px;
    overflow: hidden; /* Mencegah elemen keluar dari kotak */
}

/* KIRI: Daftar Kontak */
.chat-sidebar {
    width: 320px;
    border-right: 2px solid #000;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow-y: auto;
}
.contact-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid #000;
    gap: 15px;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}
.contact-item:hover {
    background: #f1f5f9;
}
.contact-item.active {
    background: #e2e8f0;
}
.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #a5d6d9;
}
.contact-name {
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    color: #000;
}
.chat-red-dot {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}
.chat-unread-badge {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    text-align: center;
    padding: 0 6px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
}

/* KANAN: Area Percakapan */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.chat-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid #000;
    gap: 15px;
}
.chat-body {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Balon Pesan */
.chat-bubble {
    display: flex;
    gap: 15px;
    max-width: 80%;
}
.bubble-left {
    align-self: flex-start;
}
.bubble-right {
    align-self: flex-end;
    flex-direction: row-reverse; /* Membalik urutan avatar dan teks untuk pesan sendiri */
}
.chat-text {
    border: 2px solid #000;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    background: #fff;
}

/* Area Input Ketik Pesan */
.chat-input-area {
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
}
.chat-input {
    width: 100%;
    border: 2px solid #000;
    border-radius: 25px;
    padding: 15px 60px 15px 25px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    outline: none;
}
.chat-input::placeholder {
    color: #b3b3b3;
    text-transform: uppercase;
    font-weight: 800;
}
.btn-send {
    position: absolute;
    right: 35px;
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    transition: 0.2s;
}
.btn-send:hover {
    color: #3b82f6;
}

/* =========================================
   LOGIN
========================================= */

.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}


/* BACKGROUND */

.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    
    /* Ubah background menjadi transparan agar video di belakangnya terlihat */
    background: transparent;
    
    /* Pastikan posisi form tetap di atas video */
    position: relative;
    z-index: 1; 
}


/* CARD */

.login-card {
    width: 330px;
    min-height: 490px;

    background: #ffffff;

    border: 2px solid #111111;

    border-radius: 18px;

    padding: 28px 25px;

    box-sizing: border-box;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

    text-align: center;
}


/* AVATAR */

.login-avatar {
    width: 58px;
    height: 58px;

    margin: 0 auto 12px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: #dfe7f1;

    color: #26364a;

    font-size: 23px;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.12);
}


/* TITLE */

.login-card h1 {
    margin: 0 0 20px;

    font-size: 24px;

    font-weight: 800;

    color: #111111;
}


/* INPUT */

.login-input-box {
    width: 100%;
    height: 43px;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    border: 2px solid #111111;

    border-radius: 9px;

    padding: 0 10px;

    margin-bottom: 13px;

    background: #ffffff;
}

.login-input-box > i:first-child {
    width: 20px;

    font-size: 14px;

    color: #111111;
}

.login-input-box input {
    flex: 1;

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    font-family: 'Poppins', sans-serif;

    font-size: 11px;

    font-weight: 600;

    padding: 0 7px;
}

.login-input-box input::placeholder {
    color: #999999;
}

#toggleLoginPassword {
    font-size: 14px;

    color: #555555;

    cursor: pointer;
}


/* REMEMBER + FORGOT */

.login-options {
    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 3px 0 17px;

    font-size: 9px;

    font-weight: 700;
}

.remember-me {
    display: flex;

    align-items: center;

    gap: 4px;

    cursor: pointer;
}

.remember-me input {
    width: 12px;
    height: 12px;

    accent-color: #16c76a;
}

.login-options a {
    color: #111111;

    text-decoration: none;
}

.login-options a:hover {
    text-decoration: underline;
}


/* LOGIN BUTTON */

.login-button {
    width: 100%;

    height: 43px;

    border: none;

    border-radius: 7px;

    background: #000000;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}

.login-button:hover {
    transform: translateY(-1px);

    opacity: 0.85;
}


/* OR */

.or-login {
    margin: 15px 0 12px;

    color: #999999;

    font-size: 10px;

    font-weight: 600;
}


/* SOCIAL BUTTON */

.social-login {
    display: flex;

    gap: 8px;

    width: 100%;
}

.social-login button {
    flex: 1;

    height: 37px;

    border: 1px solid #d8d8d8;

    border-radius: 8px;

    background: #ffffff;

    cursor: pointer;

    font-size: 17px;
}

.social-login button:hover {
    background: #f5f5f5;
}


/* SOCIAL ICON */

.google-icon {
    color: #4285f4;
}

.facebook-icon {
    color: #1877f2;
}

.apple-icon {
    color: #000000;
}


/* REGISTER */

.register-link {
    margin-top: 15px;

    font-size: 9px;

    font-weight: 600;
}

.register-link span {
    color: #777777;
}

.register-link a {
    margin-left: 4px;

    color: #e53935;

    font-weight: 800;

    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}


/* RESPONSIVE */

@media (max-width: 480px) {

.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    background: transparent; 
    position: relative;
    z-index: 10; /* Angka diperbesar agar kotak login pasti berada di atas video */
}

    .login-card {
        width: 100%;

        max-width: 330px;
    }

}

/* =========================================
   MODAL TAMBAH PRODUK (ADMIN JURUSAN)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: none; justify-content: center; align-items: center;
    z-index: 1000;
}

.modal-card {
    background: #fff;
    border: 2px solid #000;
    border-radius: 15px;
    width: 700px;
    padding: 30px 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-back {
    background: none; border: none;
    font-size: 16px; font-weight: 800; color: #000;
    cursor: pointer; display: flex; align-items: center; gap: 10px;
    margin-bottom: 25px;
}

.modal-body {
    display: flex;
    gap: 40px;
}

/* Bagian Kiri: Upload Gambar */
.modal-left {
    width: 35%;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.image-upload-box {
    width: 100%;
    aspect-ratio: 1; 
    border: 5px solid #000;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #00f0ff; /* Warna default ilustrasimu */
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
}
.image-upload-box img {
    width: 100%; height: 100%; object-fit: cover;
}
.upload-label {
    font-weight: 800; font-size: 12px;
}

/* Bagian Kanan: Form Inputs */
.modal-right {
    width: 65%;
    display: flex; flex-direction: column; gap: 15px;
}
.form-group label {
    display: block; font-weight: 800; font-size: 12px; margin-bottom: 5px;
}
.form-input {
    width: 100%; padding: 10px 15px;
    border: 2px solid #3b82f6; /* Garis tepi biru */
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
}

/* Baris Stok & Kode Penjualan (Yang kamu tandai ungu) */
.row-stok-kode {
    display: flex; gap: 20px;
}
.col-stok { width: 30%; }
.col-kode { width: 70%; }
.kode-input-wrapper {
    display: flex; align-items: center; gap: 10px;
}
.btn-refresh {
    background: none; border: none;
    color: #3b82f6; font-size: 24px; cursor: pointer;
}

/* Harga & Tombol Simpan */
.col-harga { width: 60%; }
.btn-simpan {
    background: #1d4ed8; color: #fff;
    border: none; border-radius: 8px;
    padding: 12px 30px;
    font-weight: 800; font-size: 14px; letter-spacing: 2px;
    cursor: pointer; width: fit-content;
    margin-top: 10px;
}
.btn-simpan:hover {
    background: #1e3a8a;
}

/* =========================================
   KARTU PESANAN (ADMIN PUSAT - VERIFIKASI)
   ========================================= */
.admin-order-card {
    display: flex;
    gap: 25px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
}

.admin-order-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    background-color: #f1f5f9;
}

.admin-order-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-order-info h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 800;
    color: #000;
}

.admin-order-info p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #333;
}

.admin-order-info p strong {
    font-weight: 800;
}

.admin-order-info .status-text {
    color: #2563eb; /* Warna biru */
    font-weight: 800;
}

/* Tombol Accept & Decline */
.admin-order-actions {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 10px;
}

.btn-accept {
    background: #fff;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-accept:hover {
    background: #eff6ff;
}

.btn-decline {
    background: #2563eb;
    color: #fff;
    border: 2px solid #2563eb;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-decline:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* Perbaikan Bug Overlap di Kartu Pesanan */
.admin-order-card {
    padding-bottom: 70px; /* Memberikan ruang napas ekstra di bawah agar teks tidak ditabrak tombol */
}

/* Tombol Khusus "UBAH STATUS" (Outline Biru) */
.btn-outline-blue-capsule {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: #fff;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 8px 30px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-outline-blue-capsule:hover {
    background: #eff6ff;
}

/* =========================================
   MODAL UBAH STATUS (TOGGLE YES/NO)
   ========================================= */
.modal-status-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: none; justify-content: center; align-items: center;
    z-index: 1000;
}

.modal-status-card {
    background: #fff;
    border: 2px solid #000;
    border-radius: 15px;
    width: 650px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.modal-status-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}
.modal-status-img {
    width: 140px; height: 140px;
    object-fit: cover;
    border-radius: 10px;
}
.modal-status-title h2 {
    font-size: 18px; font-weight: 800; margin: 0 0 10px 0; color: #000;
}
.modal-status-profile {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 14px; text-transform: uppercase;
}
.modal-status-profile img {
    width: 30px; height: 30px; border-radius: 50%;
}

/* Desain Toggle NO/YES */
.toggle-wrapper {
    display: flex; justify-content: space-between; gap: 15px;
}
.toggle-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.toggle-switch {
    display: flex; width: 100%; border: 2px solid #000; border-radius: 8px;
    overflow: hidden; cursor: pointer; margin-bottom: 10px;
}
.toggle-option {
    flex: 1; padding: 10px 0; font-weight: 800; font-size: 14px; transition: 0.3s;
}

/* State Default (NO Aktif, YES Pasif) */
.toggle-option.no { background-color: #2563eb; color: #fff; }
.toggle-option.yes { background-color: #fff; color: #000; }

/* State Toggled (NO Pasif, YES Aktif) */
.toggle-switch.active .toggle-option.no { background-color: #fff; color: #000; }
.toggle-switch.active .toggle-option.yes { background-color: #2563eb; color: #fff; }

.toggle-label {
    font-size: 10px; font-weight: 600; color: #555; text-transform: uppercase;
}

/* Teks DONE besar di halaman Pesanan Selesai */
.status-done-text {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================================
   HALAMAN CUSTOMER SERVICE (SISI USER)
   ========================================= */
.user-cs-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8fafc;
    padding: 20px;
}

.user-cs-card {
    width: 100%;
    max-width: 850px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 85vh; /* Tinggi kotak chat */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Header */
.user-cs-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-bottom: 2px solid #000;
    background: #fff;
}
.back-btn, .history-btn {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    transition: 0.2s;
}
.back-btn:hover, .history-btn:hover { color: #3b82f6; }

.cs-title {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cs-title img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff4757;
    object-fit: cover;
}
.cs-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Body (Area Chat) */
.user-cs-body {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Chat dari CS (Kiri) */
.cs-bot-msg {
    background: #fff;
    border: 1px solid #000;
    padding: 15px;
    max-width: 70%;
    align-self: flex-start;
}
.cs-bot-msg p {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.cs-bot-msg .text-red {
    color: #ff0000;
}

/* Tombol Pertanyaan Otomatis */
.cs-preset-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #000;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: 0.2s;
}
.cs-preset-btn:last-child {
    margin-bottom: 0;
}
.cs-preset-btn:hover {
    background: #f1f5f9;
}

/* Chat dari User (Kanan - Ungu) */
.cs-user-msg {
    background: #a4afee; /* Warna ungu sesuai desain */
    border: 1px solid #000;
    padding: 12px 20px;
    border-radius: 8px;
    max-width: 70%;
    align-self: flex-end;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

/* Footer (Input Chat) */
.user-cs-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-top: 2px solid #000;
    background: #fff;
}
.add-btn {
    background: none; border: none;
    font-size: 32px; font-weight: 400; color: #000;
    cursor: pointer; padding: 0;
}
.user-cs-footer input {
    flex: 1;
    border: 1px solid #000;
    border-radius: 25px;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    text-align: center;
}
.user-cs-footer input::placeholder {
    color: #888;
}
.send-btn {
    background: none; border: none;
    font-size: 24px; color: #000;
    cursor: pointer; padding: 0; transition: 0.2s;
}
.send-btn:hover { color: #3b82f6; }

/* ===================================================
   HALAMAN PORTOFOLIO TEFA
   =================================================== */

.portfolio-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    font-family: 'Poppins', sans-serif;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 35px;
}

.portfolio-header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #111827;
    margin-bottom: 8px;
}

.portfolio-header p {
    color: #6b7280;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Tabs Modern dengan Logo */
.filter-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px 7px 12px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #4b5563;
    background-color: #f3f4f6;
    border: 1px solid transparent;
}

.filter-tab.tab-all {
    padding-left: 18px;
}

.filter-tab:hover {
    background-color: #e5e7eb;
    color: #111827;
    transform: translateY(-2px);
}

.filter-tab.active {
    background-color: #111827;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

/* Logo & Icon Tab */
.filter-tab-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-tab-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background-color: #e5e7eb;
    color: #4b5563;
}

.filter-tab.active .filter-tab-icon {
    background-color: #374151;
    color: #ffffff;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.card-thumb {
    position: relative;
    width: 100%;
    height: 210px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .card-thumb img {
    transform: scale(1.05);
}

/* Badge Jurusan */
.badge-jurusan {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.badge-rpl { background-color: #2563eb; }
.badge-dkv { background-color: #e11d48; }
.badge-tkj { background-color: #0d9488; }
.badge-animasi { background-color: #f59e0b; }
.badge-pspt { background-color: #7c3aed; }
.badge-gim { background-color: #059669; }

/* Card Content */
.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-desc {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f3f4f6;
    padding-top: 14px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-info i {
    color: #9ca3af;
    font-size: 14px;
}

.author-info span {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

.btn-detail {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.btn-detail:hover {
    gap: 10px;
    color: #1d4ed8;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

/* ====================================================
   DROPDOWN NAVIGASI KATALOG
==================================================== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.nav-dropdown-toggle i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 230px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
    border: 1px solid #f1f5f9;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-dropdown-menu li a:hover {
    background-color: #f3f4f6;
    color: #2563eb;
    padding-left: 22px;
}

/* ====================================================
   HALAMAN KERANJANG BELANJA
==================================================== */
.cart-container {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

.cart-title {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
}

.cart-alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.cart-table th {
    background-color: #f9fafb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    color: #374151;
    font-size: 14px;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-product-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.cart-product-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.cart-product-sub {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.cart-product-price {
    font-weight: 600;
    color: #4b5563;
}

.cart-qty-badge {
    display: inline-block;
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
}

.cart-product-subtotal {
    font-weight: 700;
    color: #2563eb;
}

.btn-cart-delete {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cart-delete:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Card Ringkasan */
.cart-summary-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    margin-bottom: 18px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #4b5563;
}

.summary-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 18px 0;
}

.summary-total {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.total-amount {
    font-size: 20px;
    color: #2563eb;
    font-weight: 800;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: #2563eb;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.btn-checkout:hover {
    background-color: #1d4ed8;
}

.btn-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.btn-continue-shopping:hover {
    color: #111827;
}

/* Empty State */
.cart-empty-box {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.cart-empty-icon {
    font-size: 55px;
    color: #d1d5db;
    margin-bottom: 16px;
}

/* ====================================================
   HALAMAN CHECKOUT PESANAN
==================================================== */
.checkout-wrapper {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

.checkout-header-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.btn-back {
    color: #1f2937;
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}

.btn-back:hover {
    background-color: #e5e7eb;
}

.checkout-page-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.checkout-alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 28px;
}

.checkout-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1f2937;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.select-wrapper {
    position: relative;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-color: #ffffff;
    padding-right: 40px;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    font-size: 12px;
}

/* Card Ringkasan Pesanan */
.checkout-summary-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 24px;
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.checkout-item-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.checkout-item-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.checkout-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.checkout-item-name {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.checkout-item-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
}

.checkout-item-subtotal {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
}

.checkout-divider {
    height: 1px;
    background-color: #f3f4f6;
    margin: 16px 0;
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}

.checkout-total-row {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-top: 14px;
    margin-bottom: 22px;
}

.checkout-total-amount {
    font-size: 20px;
    font-weight: 800;
    color: #dc2626;
}

.btn-submit-order {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-submit-order:hover {
    background-color: #1d4ed8;
}

.btn-submit-order:active {
    transform: scale(0.99);
}

/* =========================================
   PAGINATION KATALOG
   ========================================= */

.katalog-wrapper .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.katalog-wrapper .pagination svg {
    width: 20px !important;
    height: 20px !important;
    display: inline-block;
}

.katalog-wrapper .pagination a,
.katalog-wrapper .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px !important;
    line-height: 1;
    text-decoration: none;
    border-radius: 8px;
}

.katalog-wrapper .pagination a {
    color: #000;
    background-color: #fff;
    border: 1px solid #e5e7eb;
}

.katalog-wrapper .pagination a:hover {
    background-color: #f3f4f6;
}

.katalog-wrapper .pagination span[aria-current="page"] {
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
}

.katalog-wrapper .pagination span[aria-disabled="true"] {
    color: #9ca3af;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.katalog-wrapper .pagination svg * {
    max-width: 20px !important;
    max-height: 20px !important;
}

/* =========================================
   FIX PAGINATION KATALOG LARAVEL
   ========================================= */

.katalog-wrapper nav[role="navigation"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.katalog-wrapper nav[role="navigation"] svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.katalog-wrapper nav[role="navigation"] a,
.katalog-wrapper nav[role="navigation"] span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.katalog-wrapper nav[role="navigation"] a {
    text-decoration: none;
}

.katalog-wrapper nav[role="navigation"] svg path {
    max-width: 20px !important;
    max-height: 20px !important;
}

/* =========================================
   PAGINATION KATALOG - FINAL
   ========================================= */

/* Pagination utama */
.katalog-wrapper nav[role="navigation"] {
    width: 100% !important;
    margin-top: 25px !important;
    margin-bottom: 40px !important;
    display: flex !important;
    justify-content: center !important;
}

/* Hilangkan versi mobile yang dobel */
.katalog-wrapper nav[role="navigation"] > div:first-child {
    display: none !important;
}

/* Bagian pagination desktop */
.katalog-wrapper nav[role="navigation"] > div:nth-child(2) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

/* Tulisan Showing... */
.katalog-wrapper nav[role="navigation"] > div:nth-child(2) > div:first-child {
    text-align: center !important;
}

.katalog-wrapper nav[role="navigation"] p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #333 !important;
}

/* Baris tombol pagination */
.katalog-wrapper nav[role="navigation"] > div:nth-child(2) > div:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Container tombol */
.katalog-wrapper nav[role="navigation"] > div:nth-child(2) > div:last-child > span > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

/* Semua tombol */
.katalog-wrapper nav[role="navigation"] a,
.katalog-wrapper nav[role="navigation"] span[aria-current="page"],
.katalog-wrapper nav[role="navigation"] span[aria-disabled="true"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 7px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

/* Tombol yang bisa diklik */
.katalog-wrapper nav[role="navigation"] a {
    color: #4c1d95 !important;
    background: #fff !important;
}

/* Hover */
.katalog-wrapper nav[role="navigation"] a:hover {
    background: #f3f0ff !important;
}

/* Halaman aktif */
.katalog-wrapper nav[role="navigation"] span[aria-current="page"] {
    background: #4c1d95 !important;
    color: #fff !important;
}

/* Tombol disabled */
.katalog-wrapper nav[role="navigation"] span[aria-disabled="true"] {
    color: #aaa !important;
    background: #f5f5f5 !important;
}

/* Panah SVG */
.katalog-wrapper nav[role="navigation"] svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

/* ===================================================
   DESAIN ELEGAN CETAK KATALOG TEFA SMKN 4
=================================================== */

@page {
    /* Menghilangkan header & footer otomatis browser (URL/tanggal) */
    margin: 12mm 15mm;
    size: A4 portrait;
}

.cetak-body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    margin: 0;
    padding: 30px;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

/* Container Lembar Kertas */
.cetak-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

/* Toolbar Aksi Layar (Tidak Tercetak) */
.no-print-bar {
    max-width: 1000px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-action {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-print {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-print:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-back {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-back:hover {
    background-color: #e2e8f0;
}

/* Header & Kop Formal */
.header-cetak {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 28px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-left img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.brand-text h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0f172a;
}

.brand-text p {
    margin: 3px 0 0;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.header-right {
    text-align: right;
}

.header-right .tag-katalog {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.header-right .date-text {
    margin: 0;
    font-size: 11px;
    color: #94a3b8;
}

/* Grid & Kartu Produk */
.katalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.katalog-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    page-break-inside: avoid;
    break-inside: avoid;
    transition: transform 0.2s ease;
}

.katalog-item .img-box {
    width: 100%;
    height: 165px;
    background-color: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.katalog-item img,
.katalog-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.katalog-item .content-box {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.katalog-category {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.katalog-title {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #0f172a;
    line-height: 1.35;
}

.katalog-price {
    font-size: 14px;
    font-weight: 800;
    color: #dc2626;
    margin-top: auto;
}

/* Footer Dokumen */
.katalog-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e1;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
}

/* Mode Print Spesifik */
@media print {
    body.cetak-body {
        background: #ffffff !important;
        padding: 0 !important;
    }

    .no-print-bar {
        display: none !important;
    }

    .cetak-container {
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        max-width: 100% !important;
    }

    .katalog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }

    .katalog-item {
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
    }
}

/* Wrapper Tabel Cetak agar Thead Berulang */
.table-print-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-collapse: collapse;
    border: none;
}

.table-print-wrapper thead {
    display: table-header-group; /* Kunci agar browser mengulang header di setiap lembar */
}

.table-print-wrapper tbody {
    display: table-row-group;
}

.table-print-wrapper td {
    padding: 0;
    border: none;
}

/* Pastikan kartu produk tidak terpotong di tengah halaman */
.katalog-item {
    page-break-inside: avoid;
    break-inside: avoid;
}

@media print {
    .table-print-wrapper {
        max-width: 100% !important;
    }
}

/* =========================================
   FORM DINAMIS PORTOFOLIO (ADMIN JURUSAN)
========================================= */
.dynamic-section {
    background-color: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px dashed #cbd5e1;
}

.team-member-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.team-member-row input {
    flex: 1;
}

.btn-add-row {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.btn-add-row:hover { 
    background-color: #2563eb; 
}

.btn-remove-row {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-remove-row:hover {
    background-color: #dc2626;
}

/* =========================================
   HALAMAN DETAIL PORTOFOLIO (PENGUNJUNG)
========================================= */
.detail-body {
    background-color: #f3f4f6;
}

.detail-navbar {
    background: white; 
    padding: 15px 40px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.detail-navbar img {
    height: 40px;
}

.detail-nav-links {
    display: flex; 
    gap: 20px;
}

.detail-nav-links a {
    text-decoration: none; 
    font-weight: 600;
}

.link-home { color: #4b5563; }
.link-porto { color: #1e3a8a; font-weight: 700; }

.detail-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover { color: #1e40af; }

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.detail-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 100px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

/* Swiper Slider Styles */
.swiper {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Team Styles */
.team-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    flex: 0 0 calc(33.333% - 32px);
    max-width: 230px;
    min-width: 180px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-role {
    display: inline-block;
    background: #f97316;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 12px auto;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: block;
}

.team-name {
    font-weight: 800;
    font-size: 17px;
    color: #111827;
    margin-bottom: 4px;
}

.team-desc {
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
}

/* ========================================= 
   MEDIA QUERY KHUSUS HP / MOBILE (Max-width: 768px) 
   ========================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 16px;
        gap: 12px;
    }

    #desktopNavMenu {
        display: none !important;
    }

    .hamburger-btn {
        display: flex !important;
    }

    .nav-search {
        max-width: 100%;
        order: 3;
        margin-top: 5px;
    }

    .nav-icons {
        gap: 15px;
        font-size: 20px;
    }

    .container {
        padding: 20px 15px;
    }

    .row, .row.reverse {
        flex-direction: column !important;
        gap: 20px;
        margin-bottom: 40px;
        text-align: center;
    }

    .text-content h2 {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .banner-content {
        padding: 20px;
        height: auto;
    }

    .banner-arrow {
        display: none;
    }

    .pemesanan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pemesanan-card {
        padding: 20px;
    }

    .store-info-box {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .store-stats {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #e2e8f0;
        padding-top: 15px;
        width: 100%;
    }

    .admin-body {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        padding: 15px 0;
    }

    .admin-main {
        padding: 15px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .sales-top-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .chat-wrapper {
        flex-direction: column;
        height: auto;
    }

    .chat-sidebar {
        width: 100%;
        max-height: 200px;
        border-right: none;
        border-bottom: 2px solid #000;
    }
}
/* =========================================
   FORM DINAMIS PORTOFOLIO (ADMIN JURUSAN)
========================================= */
.dynamic-section {
    background-color: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px dashed #cbd5e1;
}

.team-member-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.team-member-row input {
    flex: 1;
}

.btn-add-row {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.btn-add-row:hover { 
    background-color: #2563eb; 
}

.btn-remove-row {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-remove-row:hover {
    background-color: #dc2626;
}



/* =========================================
   USER DASHBOARD STYLES
========================================= */
.user-dashboard-container {
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

/* 1. Welcome Profile Banner */
.user-profile-banner {
    background: linear-gradient(135deg, #03045E 0%, #0077B6 55%, #00B4D8 100%);
    border-radius: 16px;
    padding: 30px 35px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(3, 4, 94, 0.25);
    margin-bottom: 30px;
    border: 1px solid rgba(202, 240, 248, 0.25);
}

.user-profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(202, 240, 248, 0.15);
    border: 2px solid rgba(202, 240, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #caf0f8;
    flex-shrink: 0;
}

.user-profile-details h2 {
    margin: 4px 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.user-profile-details p {
    margin: 0;
    font-size: 14px;
    color: #caf0f8;
}

.user-badges-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.user-role-badge {
    background: #caf0f8;
    color: #03045e;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.8px;
}

.user-joined-text {
    font-size: 12px;
    color: #caf0f8;
}

.user-profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-dash-primary {
    background: #0077b6;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid #00b4d8;
}

.btn-dash-primary:hover {
    background: #023e8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.35);
}

.btn-dash-outline {
    background: rgba(202, 240, 248, 0.15);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(202, 240, 248, 0.4);
    transition: all 0.2s ease;
}

.btn-dash-outline:hover {
    background: rgba(202, 240, 248, 0.3);
    transform: translateY(-2px);
}

/* 2. Stats Grid */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.user-stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    border-left-width: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.user-stat-card.border-blue-accent { border-left-color: #2563eb; }
.user-stat-card.border-amber-accent { border-left-color: #d97706; }
.user-stat-card.border-green-accent { border-left-color: #16a34a; }
.user-stat-card.border-rose-accent { border-left-color: #e11d48; }

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.bg-blue-subtle { background: #eff6ff; }
.text-blue-accent { color: #2563eb; }

.bg-amber-subtle { background: #fffbeb; }
.text-amber-accent { color: #d97706; }

.bg-green-subtle { background: #f0fdf4; }
.text-green-accent { color: #16a34a; }

.bg-rose-subtle { background: #fff1f2; }
.text-rose-accent { color: #e11d48; }

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 2px 0;
    line-height: 1.1;
}

.stat-hint {
    font-size: 11px;
    color: #94a3b8;
}

/* 3. Section Titles */
.dash-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-section-title i {
    color: #2563eb;
}

/* 4. Quick Actions */
.user-quick-section {
    margin-bottom: 35px;
}

.user-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.quick-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.quick-nav-card:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2563eb;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.quick-nav-card:hover .quick-icon {
    background: #2563eb;
    color: #ffffff;
}

.quick-info {
    flex: 1;
}

.quick-info h4 {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.quick-info p {
    margin: 0;
    font-size: 11px;
    color: #64748b;
}

.quick-arrow {
    color: #cbd5e1;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.quick-nav-card:hover .quick-arrow {
    color: #2563eb;
    transform: translateX(4px);
}

/* 5. Recent Orders Section */
.user-recent-section {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.recent-header .dash-section-title {
    margin-bottom: 0;
}

.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.recent-orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-order-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: all 0.2s ease;
}

.user-order-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.order-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 280px;
    flex: 2;
}

.order-item-img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.order-item-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.extra-item-tag {
    font-size: 11px;
    font-weight: 600;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
}

.order-jurusan-text {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.order-date-text {
    font-size: 11px;
    color: #94a3b8;
}

.order-item-middle {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    flex: 1;
}

.order-price-label {
    font-size: 11px;
    color: #64748b;
}

.order-price-val {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.order-qty-info {
    font-size: 11px;
    color: #94a3b8;
}

.order-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 140px;
    flex: 1;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill.badge-pending {
    background: #fef3c7;
    color: #b45309;
}

.status-pill.badge-process {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-pill.badge-packaging {
    background: #ffedd5;
    color: #c2410c;
}

.status-pill.badge-ready {
    background: #ccfbf1;
    color: #0f766e;
}

.status-pill.badge-completed {
    background: #dcfce7;
    color: #15803d;
}

.status-pill.badge-rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.status-pill.badge-default {
    background: #f1f5f9;
    color: #475569;
}

.btn-order-detail {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.btn-order-detail:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Empty State */
.user-empty-orders {
    text-align: center;
    padding: 45px 20px;
}

.empty-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #94a3b8;
    margin: 0 auto 15px;
}

.user-empty-orders h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.user-empty-orders p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.btn-empty-shop {
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-empty-shop:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .user-profile-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .user-profile-actions {
        width: 100%;
    }

    .btn-dash-primary, .btn-dash-outline {
        flex: 1;
        justify-content: center;
    }

    .user-order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .order-item-left, .order-item-middle, .order-item-right {
        width: 100%;
        min-width: 0;
    }

    .order-item-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px dashed #e2e8f0;
        padding-top: 10px;
    }
}

/* =========================================
   FOOTER STYLES (INAPROC-INSPIRED SIMPLE DESIGN)
========================================= */
.site-footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 25px;
    font-family: 'Poppins', sans-serif;
    color: #334155;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Header Top (Logo & Socials) */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-brand-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.footer-brand-text p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #64748b;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social .social-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.footer-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0 0 35px 0;
}

/* 2. Grid Links */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 35px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.footer-about {
    font-size: 13.5px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
    max-width: 400px;
}

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

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

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #2563eb;
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: #64748b;
}

.footer-contact-list i {
    font-size: 17px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-list .fa-whatsapp {
    color: #16a34a;
}

.footer-contact-list .fa-envelope {
    color: #2563eb;
}

.footer-contact-list .fa-headset {
    color: #0284c7;
}

.footer-contact-list a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.footer-divider-subtle {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 0 0 20px 0;
}

/* 3. Bottom Copyright */
.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12.5px;
    color: #94a3b8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 40px;
        padding-top: 30px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}



/* ==========================================================================
   SISTEM NAVIGASI MOBILE DROPDOWN (PERSIS SEPERTI FOTO PERTAMA)
   ========================================================================== */

/* 1. Header & Navbar Wrapper */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 35px;
    gap: 15px;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Nav Left: Tombol Hamburger + Logo */
.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Tombol Hamburger (Persis Foto 1: Kotak hitam elegan dengan 3 garis putih) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 38px;
    height: 38px;
    padding: 8px 7px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
    background: #1e293b;
    outline: none;
}

.mobile-menu-btn .hamburger-bar {
    display: block;
    width: 20px;
    height: 2.2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(6.7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-6.7px) rotate(-45deg);
}

/* Nav Icons (Actions Kanan) */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-only-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-touch-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 8px !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    text-decoration: none !important;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    box-sizing: border-box !important;
}

.icon-touch-btn:hover {
    background-color: #f1f5f9 !important;
    color: #2563eb !important;
}

/* 2. DROPDOWN MENU MOBILE (PERSIS SEPERTI FOTO PERTAMA BERBINGKAI MERAH) */
.mobile-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0b0f19; /* Latar belakang hitam elegan persis foto 1 */
    border-bottom: 3px solid #2563eb;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s;
    z-index: 999;
}

.mobile-dropdown-menu.open {
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-menu-link,
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Garis pemisah antar menu persis foto 1 */
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-link span,
.mobile-dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-link i,
.mobile-dropdown-toggle i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: #94a3b8;
}

.mobile-menu-link:hover,
.mobile-menu-link.active,
.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle.open {
    background-color: #1e293b;
    color: #38bdf8;
}

.mobile-menu-link:hover i,
.mobile-dropdown-toggle:hover i,
.mobile-dropdown-toggle.open i {
    color: #38bdf8;
}

/* Accordion Sub-Menu Jurusan */
.mobile-dropdown-arrow {
    font-size: 12px !important;
    transition: transform 0.25s ease;
    color: #94a3b8 !important;
}

.mobile-dropdown-toggle.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
    color: #38bdf8 !important;
}

.mobile-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #050811;
    display: none;
}

.mobile-sub-menu.open {
    display: block;
}

.mobile-sub-menu li a {
    display: block;
    padding: 11px 20px 11px 48px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-sub-menu li a:hover,
.mobile-sub-menu li a.active {
    background-color: #0f172a;
    color: #38bdf8;
    padding-left: 52px;
}

.mobile-menu-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    margin: 4px 0;
}

.mobile-login-link {
    color: #38bdf8 !important;
}

.mobile-logout-link {
    color: #ef4444 !important;
}

/* Backdrop Gelap saat Menu Mobile Terbuka */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* 3. Table Responsiveness */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.25rem;
}

/* 4. Responsive Modals */
.modal-card {
    max-width: 94vw !important;
    box-sizing: border-box !important;
}

.modal-status-card {
    max-width: 94vw !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   MEDIA QUERY KHUSUS LAYAR HP / MOBILE (Max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Navbar compact & 0 horizontal overflow */
    .navbar {
        padding: 8px 12px !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-left {
        gap: 6px !important;
    }

    /* Munculkan Tombol Hamburger di HP (Persis Foto 1) */
    .mobile-menu-btn {
        display: flex !important;
    }

    .site-logo {
        height: 34px !important;
        max-width: 110px !important;
        margin-left: -16px !important;
    }

    /* Sembunyikan Menu Teks Desktop di HP */
    #desktopNavMenu {
        display: none !important;
    }

    /* Sembunyikan Ikon Desktop dari Top Bar di HP (Sudah ada di dalam Menu Dropdown) */
    .desktop-only-icons {
        display: none !important;
    }

    .nav-icons {
        gap: 5px !important;
    }

    .lang-switcher {
        padding: 2px 7px !important;
        font-size: 11.5px !important;
    }

    .icon-touch-btn {
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 6px !important;
        font-size: 17px !important;
    }

    /* Home Layout Anti-Overflow */
    .container {
        padding: 25px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .row, .row.reverse {
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 40px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .text-content, .img-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .img-content img {
        max-width: 85% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .text-content h2 {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }

    .text-content p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    /* Modal Mobile Stacking */
    .modal-card,
    .modal-status-card {
        width: 94% !important;
        padding: 20px 16px !important;
        margin: 15px auto;
        border-radius: 12px !important;
    }

    .modal-body {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .modal-status-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Banner Mobile Adjustments & Touch Swipe */
    .banner-container {
        position: relative;
        overflow: hidden !important;
        margin: 15px 0 25px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .banner-arrow {
        display: none !important;
    }

    .banner-content {
        padding: 20px 16px !important;
        height: 170px !important;
        min-height: 170px !important;
        border-radius: 16px !important;
        position: relative !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        touch-action: pan-y;
        user-select: none;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #bannerTextContainer {
        margin: 0 !important;
        text-align: left !important;
        width: 58% !important;
        max-width: 58% !important;
        position: relative !important;
        z-index: 15 !important;
    }

    #bannerTitle {
        font-size: 17px !important;
        line-height: 1.25 !important;
        text-align: left !important;
        margin: 0 !important;
        word-break: break-word !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
    }

    .banner-img {
        display: block !important;
        position: absolute !important;
        right: -5px !important;
        bottom: 0 !important;
        height: 165px !important;
        max-height: 168px !important;
        max-width: 50% !important;
        object-fit: contain !important;
        object-position: bottom right !important;
        z-index: 10 !important;
    }

    @media (max-width: 380px) {
        #bannerTextContainer {
            width: 55% !important;
            max-width: 55% !important;
        }

        #bannerTitle {
            font-size: 14.5px !important;
        }

        .banner-img {
            height: 145px !important;
            max-height: 145px !important;
            max-width: 48% !important;
        }
    }

    /* Portofolio Detail Mobile */
    .detail-navbar {
        padding: 10px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .detail-container {
        margin: 15px auto !important;
        padding: 16px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .detail-header {
        flex-direction: column-reverse !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .detail-header img {
        margin: 0 auto !important;
        max-height: 70px !important;
    }

    .detail-desc {
        margin-bottom: 30px !important;
        font-size: 14px !important;
    }

    /* Swiper Slider Mobile */
    .swiper {
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        max-height: 280px !important;
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Team Grid Mobile: 2 per baris */
    .team-grid {
        gap: 16px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .team-card {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        min-width: 120px !important;
    }

    .team-name {
        font-size: 14px !important;
    }

    .team-desc {
        font-size: 11.5px !important;
    }

    /* Cart Table Mobile */
    .cart-container {
        padding: 15px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .cart-product-img {
        width: 45px !important;
        height: 45px !important;
    }

    /* Footer Mobile */
    .site-footer {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .footer-container {
        width: 100% !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
    }
}