/* --- Atur ulang CSS dasar --- */
body {
    background: #f0f2f5; /* Latar belakang halaman umum */
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    display: flex; /* Untuk menata seluruh halaman secara vertikal */
    flex-direction: column;
    min-height: 100vh; /* Pastikan body mengambil tinggi penuh viewport */
}

/* === HEADER UTAMA BARU (gabungan untuk logo & background) === */
.main-header {
    /* Latar belakang yang tadinya gradient, akan kita timpa dengan gambar */
    background: #84a8aa; /* Warna dasar fallback */
    background-image: url('img/logo-kanan.png'); /* PATH KE LOGO ANDA */
    background-size: contain; /* Agar logo muat seluruhnya */
    background-repeat: no-repeat;
    background-position: right; /* Pusatkan logo */
    min-height: 150px; /* Tinggikan header agar logo terlihat jelas. Sesuaikan ini! */
    padding: 20px 0; /* Padding tetap, disesuaikan dengan min-height */
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    display: flex; /* Untuk memusatkan konten di dalamnya jika ada */
    align-items: center; /* Pusatkan vertikal */
    justify-content: center; /* Pusatkan horizontal */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* Penting agar centering berfungsi */
}

/* Menyembunyikan teks "APOTEK ALIF FARMA" jika ingin diganti logo */
/* Asumsikan "APOTEK ALIF FARMA" ada di dalam elemen dengan class "logo" */
.main-header .logo { /* Pastikan ini menargetkan teks judul di dalam main-header */
    font-size: 0; /* Membuat ukuran font menjadi 0 */
    line-height: 0; /* Menghilangkan tinggi baris */
    margin: 0; /* Menghilangkan margin */
    padding: 0; /* Menghilangkan padding */
    height: 0; /* Menghilangkan tinggi elemen */
    overflow: hidden; /* Menyembunyikan overflow */
    visibility: hidden; /* Pastikan benar-benar tersembunyi */
}

/* --- Hapus atau gabungkan class yang tumpang tindih ini --- */
/* Anda punya .header-apotek-title dan .header-utama yang menargetkan header.
   Sebaiknya gunakan satu saja, yaitu .main-header, dan atur semua properti di sana.
   Kode di bawah ini saya komentar/hapus karena sudah digabungkan ke .main-header
*/
/*
.header-apotek-title {
    background: #22bb6d;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.header-utama {
    background-image: url('img/logo-kanan.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 120px;
    background-color: transparent;
}

.header-apotek-title .title-text {
    font-family: 'Inter', sans-serif;
    font-size: 2.5em;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
*/

/* --- Kontainer untuk Navigasi dan Pesan Admin --- */
.nav-and-admin-container {
    width: 70%; /* Lebar kontainer ini sama dengan content-wrapper */
    margin: -35px auto 0 auto; /* Tarik ke atas untuk menumpuk di bawah header, sesuaikan margin-top */
    position: relative; /* Penting untuk positioning pesan admin */
    z-index: 2; /* Pastikan di atas konten lainnya */
    display: flex; /* Aktifkan flexbox untuk menampung nav dan pesan admin */
    flex-direction: column; /* Tata letak vertikal untuk nav dan pesan admin */
    align-items: center; /* Pusatkan item secara horizontal */
}

/* --- Gaya untuk Navigasi Utama (Beranda, Barang, dll.) --- */
/* Tidak ada perubahan pada navigasi, ini baik */
.main-nav {
    background: linear-gradient(to right, #27c2a5, #3daee9); /* nuansa hijau-biru */
    border: 1px solid #22bb6d;
    border-radius: 10px; /* Sudut membulat */
    box-shadow: 0 10px 10px rgba(0,0,0,0.1); /* Bayangan yang lebih menonjol */
    overflow: hidden;
    box-sizing: border-box;
    display: flex; /* Mengaktifkan Flexbox */
    justify-content: center; /* Pusatkan item navigasi di dalam nav bar */
    align-items: center; /* Pusatkan item secara vertikal */
    padding: 0 10px; /* Padding samping untuk ruang ekstra */
    min-height: 6px; /* Tinggi minimal nav bar */
    width: 90%; /* Mengisi lebar penuh nav-and-admin-container */
    margin-bottom:10px; /* Jarak antara nav dan kotak konten pertama */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Aktifkan Flexbox untuk item li */
    align-items: center; /* Pusatkan item li secara vertikal */
    width: 100%; /* Agar ul mengisi lebar main-nav */
    flex-wrap: nowrap; /* Mencegah item melipat ke baris baru */
    justify-content: center; /* Pusatkan item di tengah jika tidak penuh */
}

.main-nav ul li {
    display: block; /* Pastikan item daftar adalah blok */
    margin: 0 15px; /* Beri jarak antar item menu */
}

.main-nav ul li a {
    display: block;
    padding: 1px 1px; /* Sesuaikan padding untuk item menu */
    color: #FFF;
    text-decoration: none;
    transition: background 0.3s ease, border-radius 0.3s ease;
    font-size: 1em;
    white-space: nowrap;
}

.main-nav ul li:hover {
    background: #15a95e;
    border-radius: 5px; /* Radius saat hover */
}

/* Gaya khusus untuk tombol "Keluar" */
.main-nav ul li.logout {
    background: #e41f49; /* Warna merah */
    border-radius: 5px; /* Radius untuk tombol keluar */
    margin-left: auto; /* Mendorong tombol 'Keluar' ke paling kanan */
    padding: 0; /* Hapus padding pada li, biarkan a yang mengontrol */
}

.main-nav ul li.logout a {
    padding: 1px 5px; /* Padding untuk teks di dalam tombol keluar */
    display: block; /* Agar padding berfungsi di seluruh area link */
    height: 100%; /* Agar link mengisi tinggi li */
    box-sizing: border-box; /* Pastikan padding tidak menambah ukuran */
}

.main-nav ul li.logout:hover {
    background: #d0163d;
}

/* --- Gaya untuk Pesan Admin (Hey, admin indra) --- */
.admin-message-box {
    background: #a1a8ac; /* Warna biru */
    color: white;
    padding: 12px 25px; /* Padding */
    border-radius: 25px; /* Sudut membulat penuh */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    position: absolute; /* Posisikan secara absolut */
    top: 50%; /* Tarik ke tengah vertikal dari .nav-and-admin-container */
    right: 20px; /* Jarak dari kanan container */
    transform: translateY(-50%); /* Sesuaikan posisi agar benar-benar di tengah vertikal */
    white-space: nowrap; /* Agar teks tidak pecah baris */
}

/* --- Gaya untuk Kontainer Konten Lain (setelah nav dan pesan admin) --- */
.content-wrapper {
    width: 70%; /* Lebar keseluruhan konten */
    margin: 20px auto; /* Tengah secara horizontal, jarak dari atas dan bawah */
}


/* --- Gaya untuk Kotak Konten Utama (Beranda, Produk Jualan) --- */
/* Menggunakan .box-title yang paling baru dan lebih menarik */
.box-title {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(to right, #27c2a5, #3daee9); /* nuansa hijau-biru */
    color: white;
    padding: 28px 32px; /* tambah padding biar kotak tinggi */
    margin-bottom: 30px;
    border-radius: 12px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 24px; /* font lebih besar */
    font-weight: bold; /* lebih tebal */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center; /* Tambahkan ini agar teks/isi di tengah secara horizontal */
}

/* Hapus atau sesuaikan jika .box-title p ada di HTML Anda */
.box-title p {
    color: #f3f5f4; /* Warna teks p di dalam box-title */
    margin: 0; /* Hapus margin default */
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    text-align: center;
}

#box {
    border-bottom: 3px solid #22bb6d;
    border-left: 3px solid #22bb6d;
    border-right: 3px solid #22bb6d;
    width: 100%;
    margin: 0 auto 20px auto; /* Jarak dari bawah */
    min-height: 200px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* --- Gaya untuk Tabel Produk (product-list) --- */
/* ... (kode sisanya tidak berubah, jadi saya singkat) ... */
table.product-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 15px;
    table-layout: fixed;
}
table.product-list td {
    width: 25%;
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    vertical-align: top;
    box-sizing: border-box;
}

/* ... (sisa kode CSS Anda yang lain) ... */

/* === FOOTER === */
.footer {
    background: #22bb6d;
    border-radius: 0px 0px 10px 10px;
    border: 3px solid #22bb6d;
    width: 70%;
    margin: 10px auto 20px auto;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.footer p {
    font-family: 'Inter', sans-serif;
    color: #f3f5f4;
    margin: auto;
    padding: 10px;
    text-align: center;
}

/* --- Responsif Dasar --- */
@media (max-width: 1024px) {
    .content-wrapper {
        width: 90%; /* Lebar kontainer utama di tablet */
    }

    /* Penyesuaian untuk header utama di tablet */
    .main-header { /* Gunakan .main-header */
        min-height: 120px; /* Kurangi tinggi di tablet jika perlu */
        padding: 15px 0;
    }

    /* .header-apotek-title .title-text */ /* Ini tidak lagi relevan jika teks disembunyikan */

    .nav-and-admin-container {
        width: 90%; /* Lebar di tablet */
        margin-top: -30px; /* Sesuaikan tarik ke atas */
    }

    .main-nav {
        padding: 0 10px;
        min-height: 50px;
    }

    .main-nav ul li a {
        padding: 12px 10px;
        font-size: 0.95em;
    }

    .admin-message-box {
        padding: 10px 20px;
        font-size: 1em;
        top: 50%;
        right: 15px;
    }

    table.product-list td {
        width: 48%; /* 2 kolom di tablet */
    }
}

@media (max-width: 768px) {
    .main-header { /* Gunakan .main-header */
        min-height: 100px; /* Kurangi tinggi di mobile jika perlu */
        padding: 10px 0;
    }

    /* .header-apotek-title .title-text */ /* Ini tidak lagi relevan jika teks disembunyikan */
    
    .content-wrapper {
        width: 95%; /* Lebar kontainer utama di mobile */
    }
    
    .nav-and-admin-container {
        width: 95%; /* Lebar di mobile */
        margin-top: -25px; /* Sesuaikan tarik ke atas */
        flex-direction: column; /* Tata letak vertikal untuk nav dan pesan admin */
        align-items: center; /* Pusatkan item */
    }

    .main-nav {
        padding: 0 5px;
        min-height: 45px;
        width: 100%; /* Pastikan nav mengisi lebar kontainer */
    }

    .main-nav ul {
        flex-direction: column; /* Item navigasi menumpuk di mobile */
        align-items: stretch;
    }

    .main-nav ul li {
        margin: 0; /* Hapus margin horizontal di mobile */
        width: 100%; /* Mengisi lebar penuh */
        text-align: center; /* Pusatkan teks */
    }

    .main-nav ul li a {
        padding: 10px;
    }

    /* Override untuk tombol logout di mobile */
    .main-nav ul li.logout {
        margin-left: 0; /* Hapus margin-left auto agar tidak di kanan sendiri */
        border-radius: 0; /* Hapus radius khusus */
        width: 100%; /* Pastikan mengisi lebar penuh */
        border-top: 4px solid #d0163d; /* Tambahkan border atas seperti contoh sebelumnya */
    }

    .main-nav ul li.logout a {
        padding: 10px; /* Sesuaikan padding untuk mobile */
    }

    .admin-message-box {
        position: static; /* Ubah ke static agar mengikuti alur dokumen */
        margin-top: 15px; /* Beri jarak dari nav */
        transform: none; /* Hapus transform */
        text-align: center;
        width: fit-content; /* Sesuaikan lebar dengan konten */
        margin-left: auto;
        margin-right: auto;
        left: auto; /* Hapus positioning kiri/kanan */
        right: auto; /* Hapus positioning kiri/kanan */
    }

    table.product-list td {
        width: 100%; /* 1 kolom di layar kecil */
    }

    .box-title p, .keranjang-title-container p {
        font-size: 1em;
    }
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    padding: 30px;
    background: #f0f8ff;
}

.product-card {
    background: linear-gradient(135deg, #e0f3ff, #ffffff);
    border-radius: 18px;
    box-shadow: 0 6px 12px rgba(0, 132, 255, 0.15);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 132, 255, 0.25);
}

.product-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 10px;
}

.product-card h3 {
    font-size: 16px;
    color: #007bff;
    margin: 8px 0;
}

.product-card p {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 8px;
}

.badge-resep {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    margin-bottom: 6px;
}

.product-card .actions {
    margin-top: 10px;
}

.product-card .actions button,
.product-card .actions a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: none;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    margin: 4px 4px 0;
    transition: background 0.2s, transform 0.2s;
}

.product-card .actions button:hover,
.product-card .actions a:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
.product-list {
    width: 100%;
    border-collapse: collapse;
}

.product-list td.list {
    width: 25%;
    padding: 15px;
    vertical-align: top;
    background-color: #f5fbff;
    border-radius: 12px;
    border: 1px solid #ddd;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-list td.list img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-list td.list b {
    font-size: 16px;
    color: #0056b3;
}

.product-list td.list .badge-resep {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 12px;
    margin-top: 5px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    font-size: 14px;
    align-items: center;
    justify-content: flex-end;
    min-height: 80px;
}

.product-actions button {
    padding: 5px 12px;
    border: none;
    border-radius: 20px;
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
    cursor: default;
}

.product-actions .link {
    background-color: #28a745;
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.product-actions .link:hover {
    background-color: #218838;
    transform: scale(1.05);
}
.detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #e9f5ff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.detail-gambar {
    flex: 1 1 250px;
    text-align: center;
}
.detail-gambar img {
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.detail-info {
    flex: 2 1 400px;
}

.detail-info h2 {
    font-size: 26px;
    color: #0b63bd;
    margin-bottom: 15px;
}

.detail-info p {
    margin: 6px 0;
    font-size: 16px;
    font-weight: 500;
}

.detail-info label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 14px;
}

.detail-info select,
.detail-info input[type="number"],
.detail-info input[type="file"] {
    padding: 8px;
    width: 100%;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.detail-actions {
    margin-top: 20px;
}

.detail-actions .tombol-biru,
.detail-actions .tombol-merah {
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
    font-size: 15px;
}

.tombol-biru {
    background-color: #0d6efd;
    color: white;
}
.tombol-biru:hover {
    background-color: #0b5ed7;
    transform: scale(1.05);
}

.tombol-merah {
    background-color: #dc3545;
    color: white;
}
.tombol-merah:hover {
    background-color: #c82333;
    transform: scale(1.05);
}
.keranjang-title-container {
  background: #d9f0ff;
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#keranjang {
  margin-top: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

table.news {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.news th {
  background-color: #0d6efd;
  color: white;
  padding: 10px;
  border: 1px solid #ddd;
}

table.news td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

table.news tr:hover {
  background-color: #f5faff;
}

.tombol-biru {
  background-color: #0d6efd;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.tombol-biru:hover {
  background-color: #0a58ca;
}

.tombol-merah {
  background-color: #dc3545;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
}

.tombol-merah:hover {
  background-color: #b02a37;
}
.keranjang-wrapper {
    margin: 40px auto;
    padding: 30px;
    max-width: 1200px;
    background: #fdfefe;
    border: 1px solid #cfd8dc;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.keranjang-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #b3e5fc;
    padding-bottom: 15px;
}

.keranjang-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0288d1;
    margin: 0;
}

.keranjang-count {
    font-size: 18px;
    color: #333;
}

table.news {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

table.news th,
table.news td {
    border: 1px solid #ccc;
    padding: 12px 16px;
    text-align: center;
}

table.news th {
    background: #e3f2fd;
    color: #000; /* teks hitam */
    font-weight: bold;
    font-size: 16px;
}


.tombol-biru {
    background-color: #0288d1;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s ease;
}

.tombol-biru:hover {
    background-color: #0277bd;
    transform: scale(1.05);
}

.tombol-merah {
    background-color: #d32f2f;
    color: white;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s ease;
}

.tombol-merah:hover {
    background-color: #b71c1c;
    transform: scale(1.05);
}
table.news td {
    color: #000;
}
#box {
    padding: 30px;
    background: linear-gradient(to right, #f5f7fa, #e4ecf7);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    color: #333;
}

#box h1 {
    font-size: 26px;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 700;
    border-left: 6px solid #007bff;
    padding-left: 15px;
}

table.article {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

table.article td {
    padding: 16px 18px;
    vertical-align: top;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15.5px;
    line-height: 1.5;
}

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

a.tombol-biru {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

a.tombol-biru:hover {
    background: linear-gradient(135deg, #0072ff, #0056b3);
    transform: translateY(-1px);
}

a.link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    transition: 0.3s;
}

a.link:hover {
    color: #0056b3;
    text-shadow: 0 0 2px rgba(0,0,0,0.1);
}
.tombol-kuning {
    background-color: #70e6f9;
    color: black;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}
.filter-bar {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    padding: 15px 25px;
    margin: 20px auto;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: white;
    flex-wrap: wrap;
    max-width: 1000px;
}

.filter-bar select,
.filter-bar input[type="text"] {
    padding: 8px 10px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
}

.filter-bar button {
    padding: 8px 14px;
    background-color: #ffffff;
    color: #0072ff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.filter-bar button:hover {
    background-color: #e0e0e0;
}
.filter-bar {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    margin: 30px auto 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-bar form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.filter-bar label {
    font-size: 18px;
    margin-right: 10px;
}

.filter-bar select,
.filter-bar input[type="text"] {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.filter-bar button {
    padding: 8px 16px;
    background-color: #fff;
    color: #0072ff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.filter-bar button:hover {
    background-color: #e0e0e0;
}
.box-title {
    background-color: #a7f3d0 !important;  /* hijau mint */
    padding: 20px;
    margin: 30px auto;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 1000px;
}

.box-title form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.box-title select,
.box-title input[type="text"] {
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    min-width: 180px;
    outline: none;
}

.box-title button {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background-color: #fff;
    color: #0072ff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.box-title button:hover {
    background-color: #f1f1f1;
}
.produk {
    background-color: #f8faff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px; /* <-- tambahkan ini */
    transition: transform 0.2s;
}

.produk:hover {
    transform: translateY(-4px);
}

.produk img {
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}
/* Header Background (APOTEK ALIF FARMA) */
.main-header {
    background-color: #dde0df; /* Tailwind: green-200 */
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-top {
    text-align: center;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
}
.logo-circle {
    background-color: white;
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
}
.logo-circle img {
    width: 60px;
    height: auto;
}
.main-header {
    background-color: #90dade; /* Tailwind: green-200 */
    color: #000;
    position: relative;
    border-bottom: 2px solid #ccc;
}
.filter-bar {
    background-color: #a7f3d0 !important;  /* hijau mint */
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 100%; /* Biar lebar penuh */
    box-sizing: border-box;
}
.tracking-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 5px;
}

.step {
    text-align: center;
    flex: 1;
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 auto;
    line-height: 25px;
    color: white;
    font-size: 13px;
    font-weight: bold;
}

.label {
    margin-top: 3px;
}

.line {
    height: 3px;
    flex: 1;
    background-color: #ccc;
    margin: 0 5px;
}

.step.done .circle {
    background-color: #4CAF50;
}

.step.done + .line {
    background-color: #4CAF50;
}
.tracking-step {
    display: inline-block;
    text-align: center;
    margin: 5px;
}
.tracking-circle {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-weight: bold;
    display: inline-block;
}
.tracking-active {
    background-color: #28a745; /* Hijau */
}
.tracking-label {
    display: block;
    font-size: 12px;
    margin-top: 3px;
}
.tracking-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}
.tracking-step {
    text-align: center;
    flex: 1;
}
.tracking-circle {
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-weight: bold;
    display: inline-block;
}
.tracking-active {
    background-color: #28a745;
}
.tracking-label {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}
