/* =============================================
   SISTEM SERAGAM - MAIN STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1a56db;
    --primary-dark: #1341b1;
    --primary-light: #e8f0fe;
    --success: #0e9f6e;
    --success-light: #def7ec;
    --warning: #c27803;
    --warning-light: #fdf6b2;
    --danger: #e02424;
    --danger-light: #fde8e8;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --gray-border: #e5e7eb;
    --dark: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: #f0f4ff;
    color: var(--dark);
    font-size: 14px;
    min-height: 100vh;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { font-size: 24px; }
.nav-title { font-weight: 800; font-size: 16px; color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
    text-decoration: none; color: var(--gray); font-weight: 500;
    padding: 8px 14px; border-radius: var(--radius-sm);
    transition: all .2s; font-size: 13.5px;
}
.nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-link.active { background: var(--primary); color: var(--white); }

.nav-user { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-username { font-size: 13px; color: var(--gray); }
.btn-logout {
    text-decoration: none; background: var(--danger-light); color: var(--danger);
    padding: 6px 14px; border-radius: 6px; font-weight: 600; font-size: 13px;
    transition: all .2s;
}
.btn-logout:hover { background: var(--danger); color: white; }

.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.page-header { margin-bottom: 28px; }
.page-header h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.page-header p { color: var(--gray); }

.page-header-row {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 16px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.page-header-row h2 { font-size: 22px; font-weight: 800; }
.page-header-row p { color: var(--gray); font-size: 13px; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   LOGIN
   ============================================================ */
.login-page { background: #0f172a; }
.login-bg { position: fixed; inset: 0; overflow: hidden; }
.login-shapes span {
    position: absolute; border-radius: 50%;
    background: linear-gradient(135deg, #1a56db33, #7c3aed22);
    animation: float 8s ease-in-out infinite;
}
.login-shapes span:nth-child(1) { width:500px; height:500px; top:-200px; right:-100px; animation-delay:0s; }
.login-shapes span:nth-child(2) { width:300px; height:300px; bottom:-100px; left:-80px; animation-delay:-3s; }
.login-shapes span:nth-child(3) { width:200px; height:200px; top:40%; left:30%; animation-delay:-1.5s; }
.login-shapes span:nth-child(4) { width:150px; height:150px; bottom:20%; right:20%; animation-delay:-5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }

.login-wrap { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; min-height:100vh; padding:20px; }
.login-card {
    background: rgba(255,255,255,0.05); backdrop-filter:blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 48px 40px;
    width: 100%; max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.login-logo { text-align:center; margin-bottom:32px; }
.logo-icon { font-size: 48px; margin-bottom: 12px; }
.login-logo h1 { font-size:22px; font-weight:800; color:white; }
.login-logo p { color: rgba(255,255,255,0.6); font-size:13px; margin-top:4px; }

.login-card .form-group { margin-bottom: 20px; }
.login-card label { color: rgba(255,255,255,0.8); font-size:13px; font-weight:600; display:block; margin-bottom:8px; }
.input-wrap { position:relative; }
.input-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:16px; }
.login-card input {
    width: 100%; padding: 12px 14px 12px 42px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); color: white; font-family: var(--font); font-size:14px;
    transition: border-color .2s; outline: none;
}
.login-card input::placeholder { color: rgba(255,255,255,0.35); }
.login-card input:focus { border-color: #60a5fa; }
.toggle-pw { position:absolute; right:12px; top:50%; transform:translateY(-50%); cursor:pointer; font-size:16px; }

.login-hint { text-align:center; color: rgba(255,255,255,0.35); font-size:12px; margin-top:16px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background: var(--primary); color: white; border: none; cursor: pointer;
    padding: 11px 22px; border-radius: var(--radius-sm); font-family: var(--font);
    font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex;
    align-items: center; gap: 6px; transition: all .2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-block { display: block; width: 100%; justify-content: center; padding: 13px; font-size: 15px; }

.btn-secondary {
    background: var(--gray-light); color: var(--dark); border: 1px solid var(--gray-border);
    cursor: pointer; padding: 11px 22px; border-radius: var(--radius-sm); font-family: var(--font);
    font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex;
    align-items: center; gap: 6px; transition: all .2s;
}
.btn-secondary:hover { background: #e5e7eb; }

.btn-success {
    background: var(--success); color: white; border: none; cursor: pointer;
    padding: 11px 22px; border-radius: var(--radius-sm); font-family: var(--font);
    font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex;
    align-items: center; gap: 6px; transition: all .2s;
}
.btn-success:hover { background: #057a55; }

.btn-danger {
    background: var(--danger); color: white; border: none; cursor: pointer;
    padding: 11px 22px; border-radius: var(--radius-sm); font-family: var(--font);
    font-size: 14px; font-weight: 600; transition: all .2s; display: inline-flex; align-items: center;
}
.btn-hapus {
    padding: 5px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    width: auto !important;
    height: auto !important;
}
.btn-wa {
    background: #25d366; color: white; border: none; cursor: pointer;
    padding: 11px 22px; border-radius: var(--radius-sm); font-family: var(--font);
    font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex;
    align-items: center; gap: 6px; transition: all .2s;
}
.btn-wa:hover { background: #1da851; }

.btn-sm {
    padding: 5px 14px; font-size: 12px; border-radius: 6px;
    text-decoration: none; display: inline-flex; align-items: center;
    font-weight: 600; cursor: pointer; border: none; transition: all .2s;
}
.btn-view { background: var(--primary-light); color: var(--primary); }
.btn-view:hover { background: var(--primary); color: white; }
.btn-link { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 13px; }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px; margin-bottom: 28px;
}
.stat-card {
    background: var(--white); border-radius: var(--radius);
    padding: 20px; display: flex; align-items: center; gap: 16px;
    box-shadow: var(--shadow-sm); border-left: 4px solid transparent;
    transition: transform .2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-blue { border-color: var(--primary); }
.stat-yellow { border-color: #f59e0b; }
.stat-green { border-color: var(--success); }
.stat-purple { border-color: #7c3aed; }
.stat-orange { border-color: #ea580c; }
.stat-wide { grid-column: span 1; }
.stat-icon { font-size: 32px; }
.stat-info { display: flex; flex-direction: column; }
.stat-num { font-size: 24px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray); margin-top: 4px; }

.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.action-btn {
    text-decoration: none; padding: 12px 20px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px;
    transition: all .2s;
}
.action-primary { background: var(--primary); color: white; }
.action-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.action-secondary { background: var(--white); color: var(--dark); border: 1px solid var(--gray-border); }
.action-secondary:hover { background: var(--gray-light); }

/* ============================================================
   TABLE
   ============================================================ */
.table-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.table-header {
    padding: 20px 24px; display: flex; justify-content: space-between;
    align-items: center; border-bottom: 1px solid var(--gray-border);
}
.table-header h3 { font-size: 16px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    background: var(--gray-light); padding: 12px 16px; text-align: left;
    font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase;
    letter-spacing: .5px; white-space: nowrap;
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--gray-border); vertical-align: middle; }
.data-table tbody tr:hover { background: #f9fafb; }
.data-table tfoot td { border-top: 2px solid var(--gray-border); border-bottom: none; }
.text-center { text-align: center; }
.text-muted { color: var(--gray); font-style: italic; }

/* ============================================================
   BADGE
   ============================================================ */
.badge {
    padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-green { background: var(--success-light); color: var(--success); }
.badge-yellow { background: var(--warning-light); color: var(--warning); }
.badge-red { background: var(--danger-light); color: var(--danger); }
.badge-gray { background: var(--gray-light); color: var(--gray); }

/* ============================================================
   ALERT
   ============================================================ */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.alert-error { background: var(--danger-light); color: var(--danger); border: 1px solid #fca5a5; }
.alert-success { background: var(--success-light); color: var(--success); border: 1px solid #6ee7b7; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar { margin-bottom: 20px; }
.filter-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-form input, .filter-form select {
    padding: 10px 14px; border: 1px solid var(--gray-border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px; background: var(--white); outline: none;
    transition: border-color .2s;
}
.filter-form input { min-width: 260px; }
.filter-form input:focus, .filter-form select:focus { border-color: var(--primary); }

/* ============================================================
   FORM STEPS
   ============================================================ */
.steps-wrap {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 32px;
}
.step { display: flex; align-items: center; flex-direction: column; gap: 6px; }
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gray-light); color: var(--gray);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; transition: all .3s;
    border: 2px solid var(--gray-border);
}
.step.active .step-num { background: var(--primary); color: white; border-color: var(--primary); }
.step.done .step-num { background: var(--success); color: white; border-color: var(--success); }
.step-label { font-size: 12px; color: var(--gray); font-weight: 500; white-space: nowrap; }
.step.active .step-label { color: var(--primary); font-weight: 700; }
.step.done .step-label { color: var(--success); }
.step-line { width: 80px; height: 2px; background: var(--gray-border); margin: 0 8px; margin-bottom: 20px; }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

/* ============================================================
   FORM CARDS
   ============================================================ */
.form-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 32px;
}
.form-card-title { font-size: 18px; font-weight: 800; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: span 2; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: #374151; }
.req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
    padding: 11px 14px; border: 1.5px solid var(--gray-border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px; outline: none; transition: border-color .2s;
    background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; }

.gender-options { display: flex; gap: 12px; }
.gender-opt input { display: none; }
.gender-box {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 14px 24px; border: 2px solid var(--gray-border); border-radius: var(--radius-sm);
    cursor: pointer; transition: all .2s; min-width: 100px;
}
.gender-icon { font-size: 28px; }
.gender-opt input:checked + .gender-box { border-color: var(--primary); background: var(--primary-light); }
.gender-opt:hover .gender-box { border-color: #93c5fd; }

.form-actions { display: flex; gap: 12px; margin-top: 28px; justify-content: flex-end; }

/* ============================================================
   PRODUCT CATALOG
   ============================================================ */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-tab {
    padding: 8px 16px; border: 1.5px solid var(--gray-border); border-radius: 20px;
    background: var(--white); cursor: pointer; font-family: var(--font); font-size: 13px;
    font-weight: 600; transition: all .2s; color: var(--gray);
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active { background: var(--primary); border-color: var(--primary); color: white; }

.cat-panel { display: none; }
.cat-panel.active { display: block; animation: fadeUp .25s ease; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 24px; }
.product-card {
    border: 1.5px solid var(--gray-border); border-radius: var(--radius-sm);
    padding: 16px; transition: all .2s; background: var(--white);
}
.product-card:hover { border-color: #93c5fd; box-shadow: var(--shadow-sm); }
.product-card.selecting { border-color: var(--primary); background: var(--primary-light); }
.prod-name { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; line-height: 1.4; }
.prod-price { color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.btn-add-item {
    width: 100%; padding: 8px; background: var(--primary); color: white;
    border: none; border-radius: 6px; cursor: pointer; font-family: var(--font);
    font-weight: 600; font-size: 13px; transition: background .2s;
}
.btn-add-item:hover { background: var(--primary-dark); }

.ukuran-select {
    width: 100%; padding: 7px 10px; border: 1.5px solid var(--gray-border);
    border-radius: 6px; font-family: var(--font); margin-bottom: 8px; font-size: 13px; outline: none;
}
.qty-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; justify-content: center; }
.qty-btn {
    width: 30px; height: 30px; border: 1.5px solid var(--gray-border); border-radius: 6px;
    background: var(--white); cursor: pointer; font-size: 18px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.qty-num { font-weight: 700; font-size: 16px; min-width: 28px; text-align: center; }
.btn-add-confirm {
    width: 100%; padding: 7px; background: var(--success); color: white;
    border: none; border-radius: 6px; cursor: pointer; font-family: var(--font);
    font-weight: 600; font-size: 13px; margin-bottom: 6px;
}
.btn-cancel-add {
    width: 100%; padding: 6px; background: var(--gray-light); color: var(--gray);
    border: none; border-radius: 6px; cursor: pointer; font-family: var(--font);
    font-weight: 600; font-size: 13px;
}

/* ============================================================
   CART
   ============================================================ */
.cart-section { border-top: 2px dashed var(--gray-border); padding-top: 20px; margin-top: 8px; }
.cart-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.cart-empty { color: var(--gray); font-style: italic; padding: 16px 0; }
.cart-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px; background: var(--gray-light); border-radius: var(--radius-sm);
    margin-bottom: 8px;
}
.cart-item-name { font-weight: 600; font-size: 14px; }
.cart-item-meta { color: var(--gray); font-size: 12px; margin-top: 2px; }
.cart-item-right { display: flex; align-items: center; gap: 12px; }
.cart-item-sub { font-weight: 700; color: var(--primary); }
.btn-remove { background: none; border: none; cursor: pointer; font-size: 16px; opacity: .6; transition: opacity .2s; }
.btn-remove:hover { opacity: 1; }
.cart-total {
    display: flex; justify-content: flex-end; align-items: center; gap: 12px;
    padding: 14px 0 4px; font-size: 16px;
}
.cart-total strong { font-size: 20px; color: var(--primary); }

/* ============================================================
   PAYMENT
   ============================================================ */
.payment-opts { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.payment-opt input { display: none; }
.pay-box {
    padding: 20px 28px; border: 2px solid var(--gray-border); border-radius: var(--radius);
    cursor: pointer; transition: all .2s; text-align: center; min-width: 200px;
}
.pay-icon { font-size: 36px; margin-bottom: 10px; }
.pay-title { font-weight: 700; font-size: 15px; }
.pay-desc { color: var(--gray); font-size: 12px; margin-top: 4px; }
.payment-opt input:checked + .pay-box { border-color: var(--primary); background: var(--primary-light); }
.payment-opt:hover .pay-box { border-color: #93c5fd; }

.pay-info { background: var(--gray-light); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.pay-info-title { font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.rekening-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.rekening-card {
    background: var(--white); border-radius: var(--radius-sm); padding: 16px;
    box-shadow: var(--shadow-sm); text-align: center;
}
.rek-bank { font-weight: 700; margin-bottom: 6px; }
.rek-no { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: 1px; margin-bottom: 4px; }
.rek-name { color: var(--gray); font-size: 12px; margin-bottom: 10px; }
.btn-copy {
    padding: 6px 14px; background: var(--primary-light); color: var(--primary);
    border: none; border-radius: 6px; cursor: pointer; font-family: var(--font);
    font-weight: 600; font-size: 12px; transition: all .2s;
}
.btn-copy:hover { background: var(--primary); color: white; }
.ewallet { border: 2px solid #22c55e; }
.pay-note { background: #fef9c3; border: 1px solid #fde047; border-radius: 8px; padding: 12px; font-size: 13px; }
.kasir-info p { margin-bottom: 8px; font-size: 14px; }

/* ============================================================
   ORDER SUMMARY
   ============================================================ */
.order-summary {
    background: var(--gray-light); border-radius: var(--radius);
    padding: 20px; margin-top: 16px;
}
.order-summary h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.sum-pembeli { background: var(--white); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 14px; font-size: 13.5px; line-height: 1.8; }
.sum-items { background: var(--white); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 14px; }
.sum-item { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; border-bottom: 1px dashed var(--gray-border); }
.sum-item:last-child { border-bottom: none; }
.summary-total { display: flex; justify-content: space-between; font-size: 16px; padding: 12px 14px; background: var(--primary-light); border-radius: var(--radius-sm); }
.summary-total strong { color: var(--primary); font-size: 18px; }

/* ============================================================
   SUCCESS
   ============================================================ */
.success-card { text-align: center; padding: 60px 32px; }
.success-icon { font-size: 64px; margin-bottom: 20px; }
.success-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.success-card p { color: var(--gray); font-size: 15px; margin-bottom: 28px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.detail-grid { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.detail-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.detail-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.info-table td { padding: 9px 0; border-bottom: 1px solid var(--gray-border); }
.info-table td:first-child { color: var(--gray); width: 45%; }
.info-table td:last-child { font-weight: 500; }
.info-table tr:last-child td { border-bottom: none; }

.wa-link { text-decoration: none; color: #16a34a; font-weight: 600; }
.wa-link:hover { text-decoration: underline; }

.btn-danger { text-decoration: none; }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .navbar, .page-header, .header-actions, .filter-bar, .quick-actions, .btn-primary, .btn-secondary, .btn-wa, .btn-sm { display: none !important; }
    .main-content { padding: 0; max-width: 100%; }
    body { background: white; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .navbar { padding: 0 16px; gap: 12px; }
    .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--gray-border); box-shadow: var(--shadow); z-index: 99; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .nav-username { display: none; }
    
    .main-content { padding: 20px 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .step-line { width: 40px; }
    .steps-wrap { gap: 0; }
    .payment-opts { flex-direction: column; }
    .pay-box { min-width: unset; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .rekening-grid { grid-template-columns: 1fr 1fr; }
    .form-actions { flex-direction: column; }
    .form-actions button, .form-actions a { width: 100%; justify-content: center; }
    .page-header-row { flex-direction: column; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .rekening-grid { grid-template-columns: 1fr; }
}
.alert{
    padding:12px 15px;
    margin:15px 0;
    border-radius:8px;
    font-weight:600;
}

.alert-success{
    background:#d4edda;
    color:#155724;
}

.alert-danger{
    background:#f8d7da;
    color:#721c24;
}

.btn-delete{
    background:#dc3545;
    color:#fff;
    border:none;
    padding:6px 12px;
    border-radius:6px;
    cursor:pointer;
    margin-left:5px;
}

.btn-delete:hover{
    background:#c82333;
}

.btn-hapus {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    width: auto;
    height: auto;
}