/* ============================================================
   Usaha Memory — Design System v2 (2026)
   Font: Plus Jakarta Sans · Blue-to-indigo brand · Layered depth
   ============================================================ */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --indigo: #4f46e5;
  --navy: #0b1220;
  --navy-2: #111a2e;
  --bg: #f4f6fb;
  --card: #ffffff;
  --line: #e5e9f2;
  --text: #101828;
  --muted: #667085;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .07), 0 8px 24px -6px rgba(16, 24, 40, .09);
  --shadow-lg: 0 4px 8px -2px rgba(16, 24, 40, .1), 0 18px 44px -8px rgba(16, 24, 40, .18);
  --grad-brand: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  --ring: 0 0 0 3px rgba(37, 99, 235, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(37, 99, 235, .07), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 .8em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.price, .stat .val, table td.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* animasi masuk antar-view */
.view-anim { animation: fadeUp .38s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- ikon svg ---------- */
.icon-svg { width: 1.15em; height: 1.15em; vertical-align: -.22em; flex: none; }
.feature .icon-svg, .empty-state .icon-svg { width: 30px; height: 30px; }
.big-icon .icon-svg { width: 52px; height: 52px; }

/* ---------- topbar (glass) ---------- */
.topbar {
  background: rgba(11, 18, 32, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.05rem; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand b { color: #7dd3fc; font-weight: 800; }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 14px rgba(37, 99, 235, .45); }
.brand-logo.small { width: 26px; height: 26px; }
.brand-footer { color: #fff; margin-bottom: 6px; }
.nav { display: none; gap: 4px; align-items: center; }
.nav.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--navy-2); padding: 10px 16px 14px; box-shadow: var(--shadow-lg); border-radius: 0 0 16px 16px; }
.nav a, .nav button.linklike {
  color: #e2e8f0; padding: 9px 13px; border-radius: 10px; font-size: .93rem; font-weight: 500;
  border: none; background: none; cursor: pointer; font-family: inherit; text-align: left;
  transition: background .15s ease;
}
.nav a:hover, .nav button.linklike:hover { background: rgba(255, 255, 255, .09); text-decoration: none; }
.nav a.active { background: rgba(37, 99, 235, .38); color: #fff; }
.nav .spacer { flex: 1; }
.nav-toggle {
  background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  font-size: 1.15rem; border-radius: 10px; padding: 4px 10px; cursor: pointer;
}
@media (min-width: 820px) {
  .nav { display: flex !important; position: static; flex-direction: row; background: none; padding: 0; box-shadow: none; }
  .nav-toggle { display: none; }
}

/* ---------- tombol ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer; font-family: inherit;
  background: var(--grad-brand); color: #fff; padding: 11px 20px; border-radius: 12px;
  font-size: .95rem; font-weight: 700; text-decoration: none; text-align: center;
  box-shadow: 0 6px 18px -4px rgba(37, 99, 235, .5), var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(37, 99, 235, .55); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { background: #f8fafc; border-color: #cbd5e1; box-shadow: var(--shadow); }
.btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .38); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .2); box-shadow: none; }
.btn.danger { background: #fee2e2; color: var(--red); box-shadow: none; }
.btn.danger:hover { background: #fecaca; box-shadow: none; }
.btn.success { background: linear-gradient(135deg, #16a34a, #059669); box-shadow: 0 6px 18px -4px rgba(22, 163, 74, .45); }
.btn.success:hover { box-shadow: 0 10px 24px -6px rgba(22, 163, 74, .5); }
.btn.small { padding: 7px 13px; font-size: .84rem; border-radius: 10px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(79, 70, 229, .5), transparent 55%),
    radial-gradient(700px 420px at 95% 20%, rgba(6, 182, 212, .28), transparent 60%),
    linear-gradient(150deg, #0b1220 0%, #101c3a 55%, #14306e 100%);
  color: #fff; padding: 64px 0 72px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 420px at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 420px at 70% 30%, #000 30%, transparent 75%);
}
.hero .container { display: grid; gap: 28px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2);
  font-size: .8rem; font-weight: 600; color: #c7d7f5; margin-bottom: 16px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); margin-bottom: 14px; letter-spacing: -.03em; }
.hero h1 .grad { background: linear-gradient(90deg, #7dd3fc, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.06rem; color: #c3d2ec; max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero-art { display: none; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats .hs b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats .hs span { font-size: .8rem; color: #93a8cc; }
@media (min-width: 820px) {
  .hero .container { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero-art { display: flex; justify-content: center; }
  .hero-art svg { width: 270px; height: 270px; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .45)); animation: float 5.5s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

section.band { padding: 52px 0; }
section.band.white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head h2 { position: relative; padding-top: 14px; }
.section-head h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; border-radius: 4px;
  background: var(--grad-brand);
}

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.feature, .card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.feature { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c7d6f5; }
.feature .icon {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #eef2ff); color: var(--blue); margin-bottom: 12px;
  border: 1px solid #dbe7fb;
}
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .num {
  counter-increment: step; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px;
  background: var(--grad-brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 14px -3px rgba(37, 99, 235, .5);
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- produk ---------- */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d6f5; }
.product-thumb {
  height: 132px; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(200px 90px at 50% 0%, rgba(37, 99, 235, .14), transparent 70%),
    linear-gradient(135deg, #f0f6ff, #eef2ff);
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb svg { width: 76px; height: 76px; }
.product-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { margin: 0; font-size: 1rem; }
.price { font-size: 1.18rem; font-weight: 800; color: var(--blue-dark); letter-spacing: -.01em; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: #eff6ff; color: var(--blue-dark); border: 1px solid #bfdbfe;
}
.chip.gray { background: #f1f5f9; color: var(--muted); border-color: var(--line); }
.chip.green { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.chip.red { background: #fee2e2; color: var(--red); border-color: #fecaca; }
.chip.amber { background: #fef3c7; color: var(--amber); border-color: #fde68a; }
.product-body .spacer { flex: 1; }

/* ---------- badge status ---------- */
.badge {
  display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 11px;
  border-radius: 999px; background: #f1f5f9; color: var(--muted); white-space: nowrap;
  border: 1px solid transparent;
}
.badge.baru { background: #dbeafe; color: var(--blue-dark); border-color: #bfdbfe; }
.badge.review { background: #fef3c7; color: var(--amber); border-color: #fde68a; }
.badge.disetujui { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.badge.ditolak { background: #fee2e2; color: var(--red); border-color: #fecaca; }
.badge.diajukan { background: #dbeafe; color: var(--blue-dark); border-color: #bfdbfe; }
.badge.dikonfirmasi { background: #fef3c7; color: var(--amber); border-color: #fde68a; }
.badge.dikirim { background: #e0e7ff; color: #4338ca; border-color: #c7d2fe; }
.badge.selesai { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.badge.dibatalkan { background: #fee2e2; color: var(--red); border-color: #fecaca; }
.badge.aktif { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.badge.arsip { background: #f1f5f9; color: var(--muted); border-color: var(--line); }

/* ---------- form ---------- */
.form-card { max-width: 640px; margin: 0 auto; padding: 26px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
input, select, textarea {
  width: 100%; padding: 10px 13px; border: 1px solid #d7dce8; border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:hover, select:hover, textarea:hover { border-color: #b9c4da; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: var(--ring);
}
textarea { min-height: 84px; resize: vertical; }
.field-error { color: var(--red); font-size: .82rem; margin-top: 4px; }
.form-note { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .9rem; }
.demo-box { background: #f8fafc; border: 1px dashed #cbd5e1; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .85rem; color: var(--muted); }

/* ---------- tabel ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
th, td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #f8fafc; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; font-weight: 700; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fafc; }
td .btn { margin: 2px 4px 2px 0; }
details.item-detail summary { cursor: pointer; color: var(--blue); font-weight: 600; }
details.item-detail ul { margin: 8px 0 0; padding-left: 18px; }

/* ---------- dashboard ---------- */
.dash-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; padding: 4px; background: #e9edf5; border-radius: 13px; width: fit-content; max-width: 100%; }
.tab {
  padding: 8px 15px; border-radius: 10px; border: none; background: transparent;
  cursor: pointer; font-family: inherit; font-size: .89rem; font-weight: 600; color: var(--muted);
  transition: all .18s ease;
}
.tab:hover { color: var(--text); }
.tab.active { background: #fff; color: var(--blue-dark); box-shadow: var(--shadow-sm), 0 1px 1px rgba(16,24,40,.04); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-bottom: 18px; }
@media (min-width: 820px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 13px; align-items: center;
}
.stat .stat-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #eef2ff); color: var(--blue); border: 1px solid #dbe7fb;
}
.stat .stat-ico .icon-svg { width: 21px; height: 21px; }
.stat .val { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.stat .lbl { font-size: .78rem; color: var(--muted); font-weight: 600; }

.alert-box {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
  padding: 12px 15px; border-radius: var(--radius-sm); margin-bottom: 10px; font-size: .9rem;
  display: flex; gap: 9px; align-items: flex-start;
}
.alert-box .icon-svg { color: var(--red); margin-top: .15em; }
.ok-box {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534;
  padding: 12px 15px; border-radius: var(--radius-sm); font-size: .9rem;
  display: flex; gap: 9px; align-items: center;
}
.ok-box .icon-svg { color: var(--green); }

.status-card { max-width: 560px; margin: 30px auto; text-align: center; padding: 34px 26px; }
.status-card .big-icon {
  width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #eef2ff); color: var(--blue); border: 1px solid #dbe7fb;
}

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-bar select, .filter-bar input { width: auto; min-width: 140px; }

/* ---------- cart order ---------- */
.cart-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.cart-line:last-of-type { border-bottom: none; }
.cart-line .grow { flex: 1; min-width: 160px; }
.cart-line input[type="number"] { width: 84px; }
.cart-total { font-weight: 800; font-size: 1.08rem; font-variant-numeric: tabular-nums; }

/* ---------- skeleton loader ---------- */
.skeleton-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.skel {
  border-radius: 8px;
  background: linear-gradient(90deg, #eef1f6 25%, #f7f9fc 45%, #eef1f6 65%);
  background-size: 240% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}
.skel.line { height: 12px; margin: 9px 0; }
.skel.line.w40 { width: 40%; } .skel.line.w60 { width: 60%; } .skel.line.w85 { width: 85%; }
.skel.block { height: 120px; border-radius: 12px; margin-bottom: 12px; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ---------- modal konfirmasi ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(11, 18, 32, .5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
  animation: fade-in .16s ease;
}
.modal-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  max-width: 400px; width: 100%; padding: 24px; text-align: center;
  animation: pop-in .2s cubic-bezier(.2, .9, .3, 1.2) both;
}
.modal-card .modal-ico {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: #fee2e2; color: var(--red);
}
.modal-card h3 { margin-bottom: 6px; }
.modal-card p { color: var(--muted); font-size: .93rem; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-actions .btn { flex: 1; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92) translateY(8px); } }

/* ---------- toast ---------- */
#toast-wrap { position: fixed; bottom: 18px; right: 18px; z-index: 130; display: flex; flex-direction: column; gap: 8px; max-width: 92vw; }
.toast {
  background: rgba(17, 26, 46, .96); color: #fff; padding: 12px 17px; border-radius: 13px;
  box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .08);
  animation: slide-in .22s cubic-bezier(.2, .8, .3, 1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.toast.error { background: rgba(153, 27, 27, .97); }
.toast.success { background: rgba(21, 128, 61, .97); }
@keyframes slide-in { from { transform: translateY(10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(22, 163, 74, .6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fab-wa:hover { transform: translateY(-3px) scale(1.05); text-decoration: none; box-shadow: 0 14px 32px -6px rgba(22, 163, 74, .65); }
.fab-wa .icon-svg { width: 28px; height: 28px; }
.fab-wa::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, .5); animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.85); opacity: 1; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #cbd5e1; margin-top: 56px; padding: 40px 0 18px; }
.footer-inner { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.4fr .8fr; } }
.copyright { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }

.empty-state { text-align: center; color: var(--muted); padding: 36px 16px; }
.empty-state .icon {
  width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; color: var(--muted);
}
.empty-state .icon .icon-svg { width: 28px; height: 28px; }

.page { padding: 32px 0 10px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline-select { width: auto !important; min-width: 120px; padding: 6px 8px !important; font-size: .85rem !important; }

/* scrollbar halus (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
::-webkit-scrollbar-track { background: transparent; }
