/* ========================================
   RESET & GLOBAL
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    color: #1e2a3a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ========================================
   HEADER & NAVBAR
   ======================================== */
header {
    background: linear-gradient(135deg, #0b1a2b 0%, #1a3a5c 100%);
    padding: 12px 40px;
    border-bottom: 3px solid #f1c40f;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 20, 40, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f1c40f;
    background: #fff;
    padding: 2px;
}

.logo h2 {
    font-size: 1.2rem;
    color: #f1c40f;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo span {
    font-size: 0.75rem;
    color: #aac4e0;
    font-weight: 300;
    letter-spacing: 3px;
    display: block;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar ul li a {
    color: #e6f0fa;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.navbar ul li a:hover {
    color: #f1c40f;
    border-bottom-color: #f1c40f;
}

/* ========================================
   USER DROPDOWN
   ======================================== */
.user-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.user-dropdown .user-icon {
    font-size: 1.8rem;
    color: #f1c40f;
    transition: 0.3s;
}
.user-dropdown .user-icon:hover {
    color: #fff;
}
.user-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 12px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #eee;
}
.user-dropdown .dropdown-menu.active {
    display: block;
}
.user-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #1a3a5c;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border-bottom: 1px solid #f5f5f5;
}
.user-dropdown .dropdown-menu a:last-child {
    border-bottom: none;
}
.user-dropdown .dropdown-menu a:hover {
    background: #f0f6ff;
    color: #2e86c1;
}
.user-dropdown .dropdown-menu a i {
    width: 20px;
    color: #2e86c1;
}
.user-dropdown .dropdown-menu .logout {
    color: #e74c3c;
}
.user-dropdown .dropdown-menu .logout i {
    color: #e74c3c;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    background: linear-gradient(135deg, #0a1a2b 0%, #1b3a5e 40%, #0a1a2b 100%);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 5px solid #f1c40f;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(241, 196, 15, 0.06) 0%, transparent 70%);
    animation: rotateGlow 30s linear infinite;
}
@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-text h1 span {
    color: #f1c40f;
    display: block;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
}
.hero-text p {
    color: #c5d9ed;
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 300;
}

.btn, .btn2 {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.4s;
    margin: 0 10px 10px 0;
    border: none;
    cursor: pointer;
}
.btn {
    background: #2e86c1;
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 134, 193, 0.5);
}
.btn:hover {
    background: #1a5276;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 134, 193, 0.6);
}
.btn2 {
    background: transparent;
    color: #f1c40f;
    border: 2px solid #f1c40f;
}
.btn2:hover {
    background: #f1c40f;
    color: #0a1a2b;
    transform: translateY(-3px);
}

/* ========================================
   SEARCH
   ======================================== */
.search {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.search h2 {
    font-size: 1.8rem;
    color: #1a3a5c;
    margin-bottom: 25px;
}
.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}
.search-box input,
.search-box select {
    padding: 14px 20px;
    border: 1px solid #d0dce8;
    border-radius: 30px;
    font-size: 1rem;
    flex: 1;
    min-width: 180px;
    background: #f8faff;
    transition: 0.3s;
}
.search-box input:focus,
.search-box select:focus {
    outline: none;
    border-color: #2e86c1;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}
.search-box button {
    padding: 14px 30px;
    background: #2e86c1;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    min-width: 120px;
}
.search-box button:hover {
    background: #1a5276;
    transform: scale(1.02);
}

/* ========================================
   PRODUK (GRID 6 KOLOM)
   ======================================== */
#produk {
    padding: 60px 30px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.judul {
    text-align: center;
    font-size: 2.5rem;
    color: #1a3a5c;
    margin-bottom: 15px;
    position: relative;
}
.judul::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f1c40f;
    margin: 10px auto 0;
    border-radius: 2px;
}

.produk-header {
    text-align: center;
    width: 100%;
}

.btn-tambah {
    background: #2e86c1;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    margin: 15px auto 30px auto;
    display: inline-block;
    transition: 0.3s;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(46, 134, 193, 0.3);
}
.btn-tambah:hover {
    background: #1a5276;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(46, 134, 193, 0.4);
}
.btn-tambah i {
    margin-right: 8px;
}

/* === GRID: 6 KOLOM === */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 10px;
}

/* === CARD PRODUK === */
.card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    text-align: center;
    padding-bottom: 16px;
    border: 1px solid rgba(46, 134, 193, 0.06);
    position: relative;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(26, 58, 92, 0.08);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e6edf5;
}

.card h3 {
    font-size: 0.95rem;
    margin: 12px 10px 4px;
    color: #1a3a5c;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.card p {
    font-size: 1rem;
    font-weight: 700;
    color: #f1c40f;
    margin: 2px 0 10px;
}

/* Tombol Beli langsung di card */
.card .btn-beli-card {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}
.card .btn-beli-card:hover {
    background: #1e7e34;
    transform: scale(1.04);
}

/* Tombol hapus (admin) */
.btn-hapus {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    opacity: 0.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 5;
}
.btn-hapus:hover {
    opacity: 1;
    transform: scale(1.1);
    background: #c0392b;
}

/* ========================================
   CEK RESI
   ======================================== */
.cekresi {
    padding: 60px 20px 80px;
    background: #f8faff;
}
.resi-container {
    max-width: 600px;
    margin: 0 auto;
}
.resi-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.resi-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #d0dce8;
    border-radius: 30px;
    font-size: 1rem;
    transition: 0.3s;
    min-width: 200px;
    background: #fff;
}
.resi-form input:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,134,193,0.1);
}
.resi-form button {
    padding: 14px 35px;
    background: #2e86c1;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.resi-form button:hover {
    background: #1a5276;
    transform: scale(1.02);
}
.hasil-resi {
    margin-top: 30px;
}
.resi-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 30px;
    border-left: 5px solid #f1c40f;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.resi-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.resi-status span:first-child {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e86c1;
}
.resi-status span:last-child {
    color: #888;
    font-size: 0.9rem;
}
.resi-card p {
    margin: 8px 0;
    font-size: 1rem;
}
.resi-card strong {
    display: inline-block;
    width: 100px;
    color: #1a3a5c;
}

/* ========================================
   PESANAN SAYA
   ======================================== */
#pesananSaya {
    display: none;
    padding: 40px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
#pesananSaya.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
#pesananSaya .header-pesanan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
#pesananSaya .header-pesanan h2 {
    color: #1a3a5c;
    font-size: 1.8rem;
}
#pesananSaya .header-pesanan .close-pesanan {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
}
#pesananSaya .header-pesanan .close-pesanan:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}
.filter-pesanan {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
.filter-pesanan button {
    background: none;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
}
.filter-pesanan button.active {
    background: #2e86c1;
    color: #fff;
}
.filter-pesanan button:hover {
    background: #eaf0f6;
}
.list-pesanan {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.item-pesanan {
    background: #f8faff;
    border-radius: 14px;
    padding: 18px 22px;
    border-left: 4px solid #2e86c1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.item-pesanan:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.item-pesanan .info-produk {
    flex: 1;
    min-width: 200px;
}
.item-pesanan .info-produk h4 {
    margin: 0 0 4px;
    color: #1a3a5c;
    font-size: 1.05rem;
}
.item-pesanan .info-produk .detail {
    font-size: 0.9rem;
    color: #666;
}
.item-pesanan .info-produk .detail span {
    margin-right: 15px;
}
.item-pesanan .status-pesanan {
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-align: center;
    min-width: 120px;
}
.status-menunggu {
    background: #fff3cd;
    color: #856404;
}
.status-verifikasi {
    background: #cce5ff;
    color: #004085;
}
.status-selesai {
    background: #d4edda;
    color: #155724;
}
.status-batal {
    background: #f8d7da;
    color: #721c24;
}
.item-pesanan .resi-info {
    font-size: 0.85rem;
    color: #2e86c1;
    font-weight: 600;
}
.item-pesanan .resi-info i {
    margin-right: 4px;
}
.empty-pesanan {
    text-align: center;
    padding: 40px;
    color: #888;
}
.empty-pesanan i {
    font-size: 3rem;
    color: #ddd;
    display: block;
    margin-bottom: 15px;
}

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: #ffffff;
    padding: 35px 40px 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes slideDown {
    from { transform: translateY(-60px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #1a3a5c;
    cursor: pointer;
    transition: 0.3s;
}
.modal-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}
.modal-box h2 {
    color: #2e86c1;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.modal-box h2 i {
    margin-right: 10px;
}

.modal-detail {
    max-width: 500px;
    text-align: center;
}
.modal-detail img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    background: #f0f4f8;
}
.modal-detail h2 {
    color: #1a3a5c;
    margin-bottom: 5px;
}
#detailPrice {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 15px;
}
.detail-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-form {
    max-width: 550px;
}
.modal-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 600;
    color: #1a3a5c;
    font-size: 0.95rem;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0dce8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafcff;
    transition: 0.3s;
    box-sizing: border-box;
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
    border-color: #2e86c1;
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,134,193,0.1);
    background: #fff;
}
.modal-form textarea {
    resize: vertical;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: flex-end;
}
.modal-actions button {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
}
.btn-simpan {
    background: #2e86c1;
    color: white;
    box-shadow: 0 4px 12px rgba(46, 134, 193, 0.3);
}
.btn-simpan:hover {
    background: #1a5276;
    transform: scale(1.03);
}
.btn-batal {
    background: #e74c3c;
    color: white;
}
.btn-batal:hover {
    background: #c0392b;
    transform: scale(1.03);
}
.btn-beli {
    background: #2e86c1;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(46, 134, 193, 0.4);
}
.btn-beli:hover {
    background: #1a5276;
    transform: scale(1.05);
}

.modal-bayar {
    max-width: 450px;
    text-align: center;
}
.rekening-info {
    background: #f5f9ff;
    padding: 20px;
    border-radius: 16px;
    margin: 15px 0;
    text-align: left;
    border-left: 4px solid #f1c40f;
}
.rekening-info p {
    margin: 8px 0;
    font-size: 1.05rem;
}
.rekening-info strong {
    display: inline-block;
    width: 120px;
    color: #1a3a5c;
}
#rekeningNumber {
    font-weight: 700;
    color: #2e86c1;
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.btn-salin {
    background: #f1c40f;
    color: #1a3a5c;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}
.btn-salin:hover {
    background: #d4ac0e;
    transform: scale(1.03);
}
.btn-bayar {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}
.btn-bayar:hover {
    background: #1e7e34;
    transform: scale(1.03);
}
#previewBukti {
    max-width: 100%;
    max-height: 200px;
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid #ddd;
    display: none;
}

/* ========================================
   FITUR
   ======================================== */
.fitur {
    background: #eaf0f6;
    padding: 60px 40px;
    text-align: center;
}
.fitur h2 {
    font-size: 2.2rem;
    color: #1a3a5c;
    margin-bottom: 40px;
}
.fitur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.fitur-box {
    background: #ffffff;
    padding: 30px 15px;
    border-radius: 16px;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-bottom: 4px solid transparent;
}
.fitur-box:hover {
    transform: translateY(-5px);
    border-bottom-color: #f1c40f;
    box-shadow: 0 8px 24px rgba(26, 58, 92, 0.08);
}
.fitur-box i {
    font-size: 2.5rem;
    color: #2e86c1;
    margin-bottom: 15px;
}
.fitur-box h3 {
    font-size: 1rem;
    color: #1a3a5c;
    font-weight: 600;
}

/* ========================================
   KEPENGURUSAN
   ======================================== */
.kepengurusan {
    display: none;
    padding: 60px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}
.kepengurusan.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.sub-judul {
    text-align: center;
    color: #5a6f87;
    margin-bottom: 40px;
    font-size: 1rem;
}
.struktur-organisasi {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px 40px;
    position: relative;
    background: #fafcff;
    border-radius: 20px;
    box-shadow: inset 0 2px 12px rgba(0,0,0,0.02);
}
.level {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    position: relative;
    padding: 25px 0 10px;
    flex-wrap: wrap;
    width: 100%;
}
.level-1 { gap: 80px; padding-bottom: 5px; }
.level-2 { padding: 10px 0; }
.level-3 { gap: 30px; padding-top: 15px; }

.level-1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 3px;
    height: 35px;
    background: linear-gradient(to bottom, #2e86c1, #f1c40f);
    border-radius: 2px;
}
.level-2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 75%;
    height: 3px;
    background: linear-gradient(to right, #2e86c1, #f1c40f, #2e86c1);
    transform: translateX(-50%);
    border-radius: 2px;
}
.level-2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 3px;
    height: 35px;
    background: linear-gradient(to bottom, #2e86c1, #f1c40f);
    border-radius: 2px;
}
.level-3::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 85%;
    height: 3px;
    background: linear-gradient(to right, #2e86c1, #f1c40f, #2e86c1);
    transform: translateX(-50%);
    border-radius: 2px;
}
.dpp-group {
    display: flex;
    gap: 30px;
    position: relative;
    padding: 20px 15px 5px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 200px;
}
.dpp-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, #2e86c1, #f1c40f, #2e86c1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.node {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px 20px;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    border: 2px solid #dce6f0;
    position: relative;
    transition: 0.35s ease;
}
.node:hover {
    border-color: #2e86c1;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(46, 134, 193, 0.12);
}
.node .foto-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #f1c40f;
    background: #eaf0f6;
    position: relative;
}
.node .foto-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.node .upload-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 58, 92, 0.75);
    color: #fff;
    padding: 6px 0;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    backdrop-filter: blur(3px);
    border-radius: 0 0 10px 10px;
}
.node .upload-label:hover {
    background: rgba(46, 134, 193, 0.9);
}
.node .upload-input {
    display: none;
}
.node h3 {
    font-size: 1rem;
    color: #1a3a5c;
    margin-bottom: 3px;
    font-weight: 700;
}
.node .nama {
    font-size: 0.8rem;
    color: #2e86c1;
    font-weight: 600;
}

.node.ketua {
    border-color: #f1c40f;
    background: linear-gradient(145deg, #fffdf5, #fef9e7);
    min-width: 200px;
    padding: 25px 30px 28px;
}
.node.ketua .foto-wrapper {
    width: 150px;
    height: 150px;
    border-color: #b8860b;
    border-width: 4px;
}
.node.ketua h3 {
    color: #b8860b;
    font-size: 1.3rem;
}
.node.ketua .nama {
    color: #b8860b;
    font-size: 1rem;
}

.node.sekjen, .node.bendahara {
    border-color: #2e86c1;
    min-width: 160px;
}
.node.sekjen .foto-wrapper,
.node.bendahara .foto-wrapper {
    width: 120px;
    height: 120px;
}
.node.sekjen h3,
.node.bendahara h3 {
    color: #1a3a5c;
}

.node.dpp {
    min-width: 110px;
    padding: 15px 15px 18px;
}
.node.dpp .foto-wrapper {
    width: 100px;
    height: 100px;
}
.node.dpp h3 {
    font-size: 0.95rem;
    color: #2e86c1;
}
.node.dpp .nama {
    font-size: 0.8rem;
    color: #555;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #0b1a2b;
    color: #c5d9ed;
    padding: 50px 20px 30px;
    text-align: center;
    border-top: 4px solid #f1c40f;
}
footer h2 {
    color: #f1c40f;
    font-size: 1.8rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
footer p {
    max-width: 500px;
    margin: 0 auto 20px;
    color: #aac4e0;
    font-weight: 300;
}
.sosmed {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 25px 0 30px;
}
.sosmed a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #1a3a5c;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.4rem;
    transition: 0.3s;
    border: 1px solid #2e5270;
}
.sosmed a:hover {
    background: #f1c40f;
    color: #0b1a2b;
    transform: translateY(-4px);
    border-color: #f1c40f;
    box-shadow: 0 8px 20px rgba(241, 196, 15, 0.3);
}
footer > p:last-child {
    font-size: 0.85rem;
    color: #4a6a8a;
    margin-top: 15px;
    border-top: 1px solid #1a3a5c;
    padding-top: 20px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet: 4 kolom */
@media screen and (max-width: 1024px) {
    .produk-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* Mobile: 2 kolom */
@media screen and (max-width: 768px) {
    header {
        padding: 12px 20px;
    }
    .navbar {
        flex-direction: column;
        gap: 12px;
    }
    .logo {
        width: 100%;
        justify-content: center;
    }
    .logo h2 {
        font-size: 1rem;
    }
    .navbar ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar ul li a {
        font-size: 0.85rem;
        padding: 5px 0;
    }
    .user-dropdown .dropdown-menu {
        right: -10px;
        min-width: 160px;
    }

    .hero {
        padding: 60px 20px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text h1 span {
        font-size: 1.8rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .btn, .btn2 {
        padding: 12px 28px;
        font-size: 0.9rem;
        margin: 5px 5px;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box input,
    .search-box select,
    .search-box button {
        width: 100%;
        min-width: unset;
    }

    #produk {
        padding: 40px 16px 60px;
    }
    .produk-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .judul {
        font-size: 1.8rem;
    }
    .card img {
        height: 140px;
    }
    .card h3 {
        font-size: 0.85rem;
        min-height: 34px;
    }
    .card p {
        font-size: 0.9rem;
    }
    .card .btn-beli-card {
        padding: 6px 16px;
        font-size: 0.78rem;
    }
    .btn-tambah {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 100%;
    }

    .fitur {
        padding: 40px 20px;
    }
    .fitur-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }

    .kepengurusan {
        padding: 40px 20px;
    }
    .level {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .level-1 { gap: 30px; }
    .level-1::after,
    .level-2::before,
    .level-2::after,
    .level-3::before,
    .dpp-group::before {
        display: none;
    }
    .node .foto-wrapper {
        width: 100px;
        height: 100px;
    }
    .node.ketua .foto-wrapper {
        width: 130px;
        height: 130px;
    }
    .node.dpp .foto-wrapper {
        width: 85px;
        height: 85px;
    }
    .node { min-width: 120px; }
    .node.ketua { min-width: 160px; }
    .node.dpp { min-width: 100px; }
    .dpp-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-box {
        padding: 25px 20px;
    }
    .modal-actions {
        flex-direction: column-reverse;
    }
    .modal-actions button {
        width: 100%;
        justify-content: center;
    }

    .resi-form {
        flex-direction: column;
    }
    .resi-form input {
        min-width: unset;
    }
    .item-pesanan {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .item-pesanan .status-pesanan {
        align-self: flex-start;
    }

    footer h2 {
        font-size: 1.4rem;
    }
}

/* Mobile kecil: tetap 2 kolom */
@media screen and (max-width: 480px) {
    .produk-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .card img {
        height: 120px;
    }
    .card h3 {
        font-size: 0.8rem;
        min-height: 30px;
        margin: 8px 6px 2px;
    }
    .card p {
        font-size: 0.85rem;
        margin: 2px 0 6px;
    }
    .card .btn-beli-card {
        padding: 5px 14px;
        font-size: 0.7rem;
    }
    .hero-text h1 {
        font-size: 1.4rem;
    }
    .hero-text h1 span {
        font-size: 1.2rem;
    }
}
/* Tambahan jarak di halaman Cek Resi */
.page-cekresi {
    padding-top: 80px;
    padding-bottom: 120px;
}
/* ========================================
   STRUKTUR 3 POSISI (Ketua, Sekjen, Bendahara)
   ======================================== */
.struktur-3 .level {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    padding: 20px 0;
    flex-wrap: wrap;
}

.struktur-3 .level-1 {
    padding-bottom: 0;
}

/* Garis vertikal dari Ketua ke level 2 */
.struktur-3 .level-1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 3px;
    height: 35px;
    background: linear-gradient(to bottom, #2e86c1, #f1c40f);
    border-radius: 2px;
}

/* Garis horizontal di level 2 (dari Ketua ke Sekjen & Bendahara) */
.struktur-3 .level-2 {
    position: relative;
}

.struktur-3 .level-2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 70%;
    height: 3px;
    background: linear-gradient(to right, #2e86c1, #f1c40f, #2e86c1);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Hilangkan garis tambahan yang tidak diperlukan */
.struktur-3 .level-2 .node::after {
    display: none;
}

/* ========================================
   RESPONSIF untuk STRUKTUR 3
   ======================================== */
@media screen and (max-width: 768px) {
    .struktur-3 .level {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .struktur-3 .level-1::after,
    .struktur-3 .level-2::before {
        display: none;
    }
}