/* ==========================================================================
   FYY MOTION — Midnight Glass UI
   Elegant dark-navy analytics workspace inspired by modern fintech dashboards.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #04071a;
  --bg-2: #060b24;
  --panel: rgba(12, 19, 45, .82);
  --panel-strong: rgba(16, 25, 58, .92);
  --panel-soft: rgba(21, 32, 72, .58);
  --panel-solid: #0b132f;
  --border: rgba(126, 154, 255, .16);
  --border-strong: rgba(126, 180, 255, .30);
  --text: #eef3ff;
  --muted: #95a3c7;
  --faint: #6f7ea6;
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --magenta: #e879f9;
  --green: #34d399;
  --amber: #fbbf24;
  --orange: #fb923c;
  --rose: #fb7185;
  --shadow: 0 24px 60px rgba(0, 0, 10, .36);
  --shadow-soft: 0 16px 38px rgba(0, 0, 12, .28);
  --shadow-hover: 0 26px 64px rgba(0, 0, 18, .44);
  --radius: 22px;
  --sidebar-w: 288px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(104, 137, 255, .45) transparent;
}
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: rgba(104, 137, 255, .38); border-radius: 999px; }
*::-webkit-scrollbar-track { background: transparent; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background:
    radial-gradient(980px 520px at 100% -12%, rgba(59, 130, 246, .20), transparent 60%),
    radial-gradient(820px 500px at -12% 8%, rgba(139, 92, 246, .17), transparent 58%),
    radial-gradient(700px 420px at 82% 110%, rgba(14, 165, 233, .10), transparent 60%),
    linear-gradient(rgba(102, 132, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 132, 255, .026) 1px, transparent 1px),
    linear-gradient(180deg, #04071a 0%, #050a20 46%, #030613 100%);
  background-size: auto, auto, auto, 44px 44px, 44px 44px, auto;
  background-attachment: fixed;
}

::selection { background: rgba(56, 189, 248, .38); color: #fff; }
a { color: #6ed5ff; }
a:hover { color: #a5ecff; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--text); }
code {
  color: #7dd3fc;
  background: rgba(56, 189, 248, .10);
  border: 1px solid rgba(56, 189, 248, .13);
  border-radius: 7px;
  padding: .08rem .3rem;
}
hr { border-color: rgba(126, 154, 255, .17); opacity: 1; }
:focus-visible {
  outline: 2px solid rgba(56, 189, 248, .85);
  outline-offset: 3px;
}

.text-muted { color: var(--muted) !important; }
.text-dark, .text-body, .link-dark { color: var(--text) !important; }
.bg-white, .bg-light, .bg-body {
  background: linear-gradient(155deg, rgba(22, 33, 74, .72), rgba(9, 14, 36, .82)) !important;
}
.border, .border-top, .border-bottom, .border-start, .border-end {
  border-color: var(--border) !important;
}
.min-w-0 { min-width: 0; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }

.layout { display: flex; min-height: 100vh; }

/* ============================== SIDEBAR ============================== */
.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 1040;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  color: #fff;
  border-right: 1px solid rgba(126, 154, 255, .16);
  background:
    radial-gradient(480px 300px at 20% -8%, rgba(34, 211, 238, .18), transparent 62%),
    radial-gradient(420px 380px at 118% 26%, rgba(139, 92, 246, .16), transparent 62%),
    linear-gradient(180deg, rgba(5, 8, 28, .98), rgba(8, 12, 38, .96) 48%, rgba(5, 10, 31, .99));
  box-shadow: 18px 0 54px rgba(0, 0, 8, .34);
  backdrop-filter: blur(18px);
}
.sidebar::-webkit-scrollbar { width: 5px; }

.brand {
  display: flex;
  align-items: center;
  gap: .82rem;
  padding: 1.25rem 1.05rem 1rem;
  color: #fff;
  text-decoration: none;
}
.brand:hover { color: #fff; }
.brand-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.42rem;
  background: linear-gradient(140deg, #7c3aed, #2563eb 55%, #06b6d4);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 15px 32px rgba(37, 99, 235, .38), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.brand-name { display: block; font-size: 1.03rem; font-weight: 850; letter-spacing: .055em; line-height: 1.08; }
.brand-sub { display: block; margin-top: .2rem; color: rgba(203, 215, 255, .66); font-size: .7rem; line-height: 1.3; }

.storage-pill {
  margin: .1rem .9rem .45rem;
  padding: .72rem .8rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  border-radius: 17px;
  color: #e2eaff;
  background: linear-gradient(140deg, rgba(59, 130, 246, .16), rgba(139, 92, 246, .10));
  border: 1px solid rgba(147, 197, 253, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.storage-pill-copy { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.storage-pill-copy small { color: rgba(190, 204, 244, .68); font-size: .64rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.storage-pill-copy strong { font-size: .79rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.storage-pill > i { margin-left: auto; color: #67e8f9; font-size: 1rem; }
.storage-pulse, .storage-dot {
  width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, .14), 0 0 16px rgba(74, 222, 128, .65);
}
.storage-json .storage-pulse, .storage-json .storage-dot {
  background: #fbbf24;
  box-shadow: 0 0 0 5px rgba(251, 191, 36, .14), 0 0 16px rgba(251, 191, 36, .55);
}

.sidebar-heading {
  padding: 1.05rem 1.05rem .42rem;
  color: rgba(171, 187, 226, .52);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.sidebar-nav { padding: 0 .68rem; }
.sidebar-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: .68rem;
  padding: .55rem .62rem;
  margin-bottom: .24rem;
  color: rgba(222, 231, 255, .77);
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: .9rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.sidebar-nav .nav-link > i {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  color: #a9c7ff;
  background: rgba(148, 184, 255, .08);
  border: 1px solid rgba(148, 184, 255, .08);
  font-size: .92rem;
}
.sidebar-nav .nav-link:hover {
  color: #fff;
  background: rgba(148, 184, 255, .085);
  border-color: rgba(148, 184, 255, .12);
  transform: translateX(3px);
}
.sidebar-nav .nav-link.active {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(92deg, rgba(124, 58, 237, .68), rgba(37, 99, 235, .62) 58%, rgba(8, 145, 178, .52));
  border-color: rgba(147, 197, 253, .24);
  box-shadow: 0 13px 28px rgba(37, 99, 235, .28), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.sidebar-nav .nav-link.active::before {
  content: "";
  position: absolute; left: -0.68rem; top: 22%; bottom: 22%; width: 3px;
  border-radius: 999px; background: #22d3ee; box-shadow: 0 0 15px rgba(34, 211, 238, .9);
}
.sidebar-nav .nav-link.active > i { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .16); }
.sidebar-footer {
  margin: auto .78rem .85rem;
  padding: .92rem;
  border-radius: 19px;
  background: rgba(148, 184, 255, .065);
  border: 1px solid rgba(148, 184, 255, .13);
}
.avatar {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; color: #fff; font-weight: 850;
  background: linear-gradient(140deg, rgba(139, 92, 246, .95), rgba(37, 99, 235, .92), rgba(6, 182, 212, .88));
  border: 1px solid rgba(255, 255, 255, .20);
  box-shadow: 0 10px 22px rgba(37, 99, 235, .28);
}
.avatar-sm { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
.sidebar-backdrop { display: none; }

/* ============================== TOPBAR ============================== */
.main { flex: 1; min-width: 0; }
.topbar {
  min-height: 78px;
  z-index: 1030;
  border-bottom: 1px solid rgba(126, 154, 255, .15) !important;
  background: rgba(4, 8, 24, .82) !important;
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 38px rgba(0, 0, 10, .22);
}
.topbar-inner {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: .72rem clamp(.9rem, 1.7vw, 1.6rem);
}
.topbar-menu-btn {
  width: 42px; height: 42px; padding: 0 !important;
  display: inline-flex; align-items: center; justify-content: center;
  color: #dbeafe; background: rgba(148, 184, 255, .09);
  border: 1px solid rgba(148, 184, 255, .16);
}
.page-heading { display: flex; flex-direction: column; min-width: 0; }
.page-eyebrow {
  color: #67e8f9; font-size: .64rem; font-weight: 850;
  letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
}
.page-title {
  color: var(--text) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.34rem) !important;
  font-weight: 850 !important;
  line-height: 1.17;
  padding: 0;
  white-space: nowrap;
}
.page-title i { color: #38bdf8; margin-right: .18rem; }
.global-search {
  width: min(440px, 31vw);
  margin-left: clamp(.5rem, 2vw, 2rem);
  align-items: center;
  gap: .55rem;
  padding: .38rem .42rem .38rem .82rem;
  border-radius: 999px;
  background: rgba(13, 21, 52, .72);
  border: 1px solid rgba(126, 154, 255, .17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.global-search > i { color: #7dd3fc; }
.global-search .form-control {
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  padding: .32rem 0; font-size: .86rem;
}
.global-search kbd {
  border-radius: 999px; padding: .25rem .5rem;
  color: #a9c7ff; background: rgba(148, 184, 255, .10);
  border: 1px solid rgba(148, 184, 255, .13); font-size: .65rem;
}
.topbar-actions { display: flex; align-items: center; gap: .58rem; }
.storage-badge {
  align-items: center; gap: .46rem;
  padding: .5rem .72rem; border-radius: 999px;
  color: #bfdbfe; background: rgba(37, 99, 235, .13);
  border: 1px solid rgba(96, 165, 250, .22);
  font-size: .74rem; font-weight: 850; white-space: nowrap;
}
.storage-badge i { color: #67e8f9; }
.topbar-user {
  align-items: center; gap: .58rem;
  padding-left: .72rem; margin-left: .15rem;
  border-left: 1px solid rgba(126, 154, 255, .16);
}
.topbar-user-copy { display: flex; flex-direction: column; line-height: 1.08; }
.topbar-user-copy strong { font-size: .79rem; }
.topbar-user-copy small { color: var(--muted); font-size: .67rem; }

.page-shell {
  width: 100%;
  max-width: 1740px;
  margin-inline: auto;
  padding-left: clamp(.95rem, 2vw, 2rem) !important;
  padding-right: clamp(.95rem, 2vw, 2rem) !important;
}
.app-footer { color: var(--faint); border-top: 1px solid rgba(126, 154, 255, .10); margin-top: 1rem; }

/* ============================== CARDS ============================== */
.card {
  color: var(--text);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background:
    linear-gradient(155deg, rgba(24, 36, 82, .72), rgba(9, 14, 37, .88) 58%, rgba(7, 11, 31, .94)) !important;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  overflow: hidden;
}
.card-header {
  color: var(--text) !important;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(126, 154, 255, .13) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)) !important;
}
.card-header i { margin-right: .32rem; }
.card-body { padding: 1.12rem; }
.card-footer {
  color: var(--muted);
  background: rgba(255, 255, 255, .025) !important;
  border-top: 1px solid rgba(126, 154, 255, .13) !important;
}
.filter-card, .glass-filter {
  background:
    radial-gradient(520px 220px at 8% -40%, rgba(56, 189, 248, .13), transparent 62%),
    linear-gradient(145deg, rgba(22, 34, 78, .78), rgba(8, 13, 35, .90)) !important;
}
.shadow-sm { box-shadow: var(--shadow-soft) !important; }
.shadow, .shadow-lg { box-shadow: var(--shadow) !important; }

/* ============================== BUTTONS ============================== */
.btn {
  border-radius: 13px;
  font-weight: 750;
  letter-spacing: .005em;
  box-shadow: 0 8px 20px rgba(0, 0, 10, .18);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(0, 0, 12, .26); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #7c3aed, #2563eb 58%, #06b6d4) !important; border-color: rgba(147, 197, 253, .22) !important; color: #fff !important; }
.btn-success { background: linear-gradient(135deg, #22c55e, #047857) !important; border-color: rgba(110, 231, 183, .22) !important; color: #fff !important; }
.btn-danger { background: linear-gradient(135deg, #fb7185, #be123c) !important; border-color: rgba(253, 164, 175, .22) !important; color: #fff !important; }
.btn-warning { background: linear-gradient(135deg, #facc15, #f97316) !important; border-color: rgba(253, 224, 71, .24) !important; color: #fff !important; }
.btn-info { background: linear-gradient(135deg, #06b6d4, #2563eb) !important; border-color: rgba(103, 232, 249, .22) !important; color: #fff !important; }
.btn-secondary { background: linear-gradient(135deg, #64748b, #334155) !important; border-color: rgba(203, 213, 225, .18) !important; color: #fff !important; }
.btn-dark { background: linear-gradient(135deg, #1e293b, #020617) !important; border-color: rgba(148, 163, 184, .24) !important; color: #e2e8f0 !important; }
.btn-light { background: linear-gradient(135deg, #ffffff, #dbeafe) !important; border-color: rgba(255, 255, 255, .55) !important; color: #0b1430 !important; }
.btn-soft {
  color: #bfdbfe !important;
  background: rgba(96, 165, 250, .11) !important;
  border: 1px solid rgba(96, 165, 250, .20) !important;
  display: inline-flex; align-items: center; gap: .42rem;
}
.btn-soft:hover { color: #fff !important; background: rgba(96, 165, 250, .18) !important; border-color: rgba(147, 197, 253, .34) !important; }
.btn-ghost-light {
  color: #fff !important; background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .20) !important;
}
.btn-outline-primary { color: #93c5fd; border-color: rgba(96, 165, 250, .35); background: rgba(59, 130, 246, .08); }
.btn-outline-primary:hover { color: #fff; background: rgba(59, 130, 246, .22); border-color: rgba(147, 197, 253, .5); }
.btn-outline-success { color: #6ee7b7; border-color: rgba(52, 211, 153, .35); background: rgba(16, 185, 129, .08); }
.btn-outline-success:hover { color: #fff; background: rgba(16, 185, 129, .22); border-color: rgba(110, 231, 183, .5); }
.btn-outline-danger { color: #fda4af; border-color: rgba(251, 113, 133, .36); background: rgba(244, 63, 94, .08); }
.btn-outline-secondary, .btn-outline-dark { color: #cbd5e1; border-color: rgba(148, 163, 184, .32); background: rgba(100, 116, 139, .10); }
.btn-outline-secondary:hover, .btn-outline-dark:hover { color: #fff; background: rgba(100, 116, 139, .22); border-color: rgba(203, 213, 225, .45); }
.btn-outline-info { color: #67e8f9; border-color: rgba(34, 211, 238, .35); background: rgba(6, 182, 212, .08); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .05); }
.btn-outline-light:hover { color: #08112c; background: #fff; border-color: #fff; }
.btn-link { color: #67e8f9; box-shadow: none; }
.btn-close { filter: invert(1) grayscale(1) brightness(1.7); opacity: .72; }
.btn-icon { width: 35px; height: 35px; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; }

/* ============================== FORMS ============================== */
.form-label { color: #c7d2f3; }
.form-text { color: var(--faint); }
.form-control, .form-select {
  color: var(--text);
  background-color: rgba(4, 9, 27, .62);
  border: 1px solid rgba(126, 154, 255, .20);
  border-radius: 13px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .22);
}
.form-control::placeholder { color: rgba(139, 155, 194, .62); }
.form-control:focus, .form-select:focus {
  color: var(--text);
  background-color: rgba(6, 13, 36, .84);
  border-color: rgba(56, 189, 248, .68);
  box-shadow: 0 0 0 .22rem rgba(56, 189, 248, .14), 0 0 24px rgba(37, 99, 235, .12);
}
.form-control:disabled, .form-control[readonly], .form-select:disabled {
  color: #a8b6d8; background-color: rgba(148, 163, 184, .09); opacity: 1;
}
.form-select option { background: #0b132f; color: var(--text); }
.input-group-text {
  color: #7dd3fc;
  background: rgba(56, 189, 248, .10);
  border-color: rgba(126, 154, 255, .20);
  border-radius: 13px;
}
.form-check-input {
  background-color: rgba(8, 14, 38, .82);
  border-color: rgba(147, 197, 253, .35);
}
.form-check-input:checked { background-color: #2563eb; border-color: #38bdf8; }
.form-range { accent-color: #22d3ee; }
.rupiah-hint { color: #67e8f9 !important; }

/* ============================== ALERTS & BADGES ============================== */
.alert {
  border-radius: 17px;
  border: 1px solid rgba(126, 154, 255, .18);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.alert-success { color: #bbf7d0; background: linear-gradient(135deg, rgba(22, 163, 74, .20), rgba(5, 46, 22, .42)); border-color: rgba(74, 222, 128, .28); }
.alert-danger { color: #fecdd3; background: linear-gradient(135deg, rgba(225, 29, 72, .20), rgba(76, 5, 25, .42)); border-color: rgba(251, 113, 133, .30); }
.alert-warning { color: #fde68a; background: linear-gradient(135deg, rgba(217, 119, 6, .20), rgba(69, 26, 3, .42)); border-color: rgba(251, 191, 36, .28); }
.alert-info { color: #bae6fd; background: linear-gradient(135deg, rgba(2, 132, 199, .20), rgba(8, 47, 73, .42)); border-color: rgba(56, 189, 248, .28); }
.alert-primary { color: #bfdbfe; background: rgba(37, 99, 235, .18); border-color: rgba(96, 165, 250, .28); }
.alert-secondary { color: #e2e8f0; background: rgba(100, 116, 139, .18); border-color: rgba(148, 163, 184, .26); }

.badge {
  border-radius: 999px;
  padding: .44em .7em;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid transparent;
}
.text-bg-primary { background: rgba(59, 130, 246, .19) !important; color: #93c5fd !important; border-color: rgba(96, 165, 250, .28); }
.text-bg-success { background: rgba(22, 163, 74, .19) !important; color: #86efac !important; border-color: rgba(74, 222, 128, .28); }
.text-bg-danger { background: rgba(225, 29, 72, .19) !important; color: #fda4af !important; border-color: rgba(251, 113, 133, .30); }
.text-bg-warning { background: rgba(217, 119, 6, .20) !important; color: #fcd34d !important; border-color: rgba(251, 191, 36, .28); }
.text-bg-info { background: rgba(6, 182, 212, .18) !important; color: #67e8f9 !important; border-color: rgba(34, 211, 238, .28); }
.text-bg-secondary { background: rgba(100, 116, 139, .22) !important; color: #cbd5e1 !important; border-color: rgba(148, 163, 184, .26); }
.text-bg-dark { background: rgba(15, 23, 42, .92) !important; color: #e2e8f0 !important; border-color: rgba(148, 163, 184, .28); }
.text-bg-light { background: rgba(226, 232, 240, .12) !important; color: #dbeafe !important; border-color: rgba(203, 213, 225, .20); }
.status-pill { display: inline-flex; align-items: center; gap: .38rem; white-space: nowrap; }
.status-pill i { font-size: .38rem; }

/* ============================== TABLES ============================== */
.table {
  --bs-table-color: var(--text);
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(126, 154, 255, .12);
  --bs-table-striped-bg: rgba(255, 255, 255, .018);
  --bs-table-striped-color: var(--text);
  --bs-table-hover-bg: rgba(56, 189, 248, .058);
  --bs-table-hover-color: var(--text);
  color: var(--text);
}
.table > :not(caption) > * > * {
  background-color: transparent;
  border-bottom-color: rgba(126, 154, 255, .11);
  box-shadow: none;
}
.table th {
  padding: .84rem .9rem;
  color: #8fa2cf;
  background: rgba(20, 31, 72, .54) !important;
  border-bottom: 1px solid rgba(126, 154, 255, .16) !important;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table td { padding: .84rem .9rem; vertical-align: middle; }
.table-light, thead.table-light, tfoot.table-light, tr.table-light {
  --bs-table-bg: rgba(30, 43, 88, .58);
  --bs-table-color: #dbeafe;
  background: rgba(30, 43, 88, .58) !important;
  color: #dbeafe !important;
}
.table-success { --bs-table-bg: rgba(22, 163, 74, .12); background: rgba(22, 163, 74, .12) !important; }
.table-danger { --bs-table-bg: rgba(225, 29, 72, .12); background: rgba(225, 29, 72, .12) !important; }
.table-bordered > :not(caption) > * { border-color: rgba(126, 154, 255, .13); }
.table-hover tbody tr { transition: background .15s ease; }
.table a { color: #7dd3fc; }
.table-responsive { scrollbar-gutter: stable; }

.list-group { --bs-list-group-bg: transparent; --bs-list-group-color: var(--text); --bs-list-group-border-color: rgba(126, 154, 255, .12); }
.list-group-item { color: var(--text); background: transparent; border-color: rgba(126, 154, 255, .12); padding: .9rem 1rem; }

.progress {
  height: .58rem;
  border-radius: 999px;
  background: rgba(100, 116, 139, .22);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.progress-bar { background: linear-gradient(90deg, #7c3aed, #2563eb, #22d3ee); border-radius: 999px; }
.progress-bar.bg-success { background: linear-gradient(90deg, #22c55e, #059669) !important; }
.progress-bar.bg-warning { background: linear-gradient(90deg, #facc15, #f97316) !important; }
.progress-bar.bg-danger { background: linear-gradient(90deg, #fb7185, #dc2626) !important; }
.progress-bar.bg-primary { background: linear-gradient(90deg, #6366f1, #2563eb) !important; }
.progress-bar.bg-secondary { background: linear-gradient(90deg, #94a3b8, #64748b) !important; }
.progress-bar.bg-dark { background: linear-gradient(90deg, #475569, #0f172a) !important; }

.pagination { gap: .18rem; }
.page-link {
  color: #a9c7ff;
  background: rgba(15, 24, 58, .78);
  border: 1px solid rgba(126, 154, 255, .16);
  border-radius: 11px !important;
}
.page-link:hover { color: #fff; background: rgba(59, 130, 246, .22); border-color: rgba(96, 165, 250, .34); }
.page-item.active .page-link { background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4); border-color: transparent; color: #fff; }
.page-item.disabled .page-link { color: #64748b; background: rgba(15, 23, 42, .55); border-color: rgba(100, 116, 139, .16); }

/* ============================== STAT CARDS ============================== */
.stat-card { position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 3px;
  border-radius: 0 0 999px 999px; background: var(--stat-gradient); z-index: 2;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--border-strong) !important; box-shadow: var(--shadow-hover) !important; }
.stat-card .card-body {
  min-height: 126px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  position: relative; overflow: hidden; padding: 1.12rem;
}
.stat-main { z-index: 2; }
.stat-icon {
  width: 54px; height: 54px; flex: 0 0 54px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 18px; color: #fff; font-size: 1.34rem;
  background: var(--stat-gradient);
  border: 1px solid rgba(255, 255, 255, .20);
  box-shadow: 0 15px 30px rgba(0, 0, 14, .30), inset 0 1px 0 rgba(255, 255, 255, .32);
  z-index: 2;
}
.stat-title { color: #8fa2cf; font-size: .7rem; font-weight: 850; letter-spacing: .085em; text-transform: uppercase; line-height: 1.3; }
.stat-value { margin-top: .34rem; color: #fff; font-size: clamp(1.18rem, 1.55vw, 1.48rem); font-weight: 850; line-height: 1.14; overflow-wrap: anywhere; }
.stat-sub { margin-top: .38rem; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.stat-watermark {
  position: absolute; right: -14px; bottom: -26px;
  color: rgba(125, 180, 255, .065); font-size: 5.4rem;
  transform: rotate(-10deg); pointer-events: none;
}
.stat-success { --stat-gradient: linear-gradient(135deg, #4ade80, #059669); }
.stat-danger { --stat-gradient: linear-gradient(135deg, #fb7185, #be123c); }
.stat-primary { --stat-gradient: linear-gradient(135deg, #a78bfa, #2563eb, #06b6d4); }
.stat-warning { --stat-gradient: linear-gradient(135deg, #facc15, #f97316); }
.stat-info { --stat-gradient: linear-gradient(135deg, #22d3ee, #2563eb); }
.stat-secondary { --stat-gradient: linear-gradient(135deg, #94a3b8, #475569); }

/* ============================== DASHBOARD ANALYTICS ============================== */
.analytics-card { padding: 1.12rem; }
.analytics-card:has(> .table-responsive) { padding: 0; }
.analytics-card:has(> .table-responsive) .analytics-head { padding: 1.12rem 1.12rem .25rem; }
.analytics-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-bottom: .9rem;
}
.analytics-head h3 { margin: .22rem 0 .18rem; font-size: 1.08rem; font-weight: 850; }
.analytics-head p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.analytics-kicker, .queue-eyebrow, .login-eyebrow {
  display: inline-flex; align-items: center; gap: .38rem;
  color: #67e8f9; font-size: .66rem; font-weight: 850;
  letter-spacing: .11em; text-transform: uppercase;
}
.live-chip {
  display: inline-flex; align-items: center; gap: .42rem; flex: 0 0 auto;
  padding: .38rem .58rem; border-radius: 999px;
  color: #86efac; background: rgba(34, 197, 94, .10);
  border: 1px solid rgba(74, 222, 128, .20); font-size: .68rem; font-weight: 850;
}
.live-chip > span { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 12px rgba(74, 222, 128, .9); }
.live-chip-light { color: #e0f2fe; background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .18); }

.summary-card { background: radial-gradient(500px 260px at 0% -10%, rgba(56, 189, 248, .15), transparent 58%), linear-gradient(155deg, rgba(24, 36, 82, .76), rgba(8, 13, 35, .92)) !important; }
.summary-spark {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 15px; color: #fff;
  background: linear-gradient(140deg, #22c55e, #0891b2);
  box-shadow: 0 13px 26px rgba(8, 145, 178, .26);
}
.summary-list { display: flex; flex-direction: column; }
.summary-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .58rem 0; border-bottom: 1px dashed rgba(126, 154, 255, .13);
  font-size: .84rem;
}
.summary-row span { color: var(--muted); }
.summary-row strong { color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.completion-box {
  margin-top: 1rem; padding: .85rem .9rem; border-radius: 17px;
  background: rgba(56, 189, 248, .075); border: 1px solid rgba(56, 189, 248, .16);
  font-size: .8rem;
}
.completion-box small { display: block; margin-top: .5rem; color: var(--muted); }

.donut-stage {
  position: relative; width: min(230px, 100%); height: 205px;
  margin: .1rem auto .55rem;
}
.donut-stage canvas { position: relative; z-index: 1; }
.donut-center {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  z-index: 2; text-align: center; pointer-events: none; width: 118px;
}
.donut-center strong { display: block; color: #fff; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1; font-weight: 850; }
.donut-center span { display: block; margin-top: .3rem; color: var(--muted); font-size: .72rem; line-height: 1.25; }
.donut-legend { border-top: 1px solid rgba(126, 154, 255, .11); padding-top: .55rem; }
.legend-row {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 54px; align-items: center; gap: .5rem;
  padding: .34rem 0; color: var(--muted); font-size: .78rem;
}
.legend-dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.legend-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend-row strong { color: #eef3ff; }
.legend-pct { color: #8fa2cf; text-align: right; font-variant-numeric: tabular-nums; }
.legend-empty { color: var(--muted); font-size: .8rem; padding: .55rem 0; text-align: center; }

.cashflow-head { align-items: flex-start; }
.chart-chip-group { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-end; }
.chart-chip {
  padding: .45rem .62rem; border-radius: 999px; font-size: .72rem; font-weight: 850;
  border: 1px solid rgba(126, 154, 255, .15); background: rgba(148, 184, 255, .07); white-space: nowrap;
}
.chip-income { color: #86efac; }
.chip-expense { color: #fda4af; }
.cashflow-chart-wrap { position: relative; height: 330px; min-height: 280px; }
.cashflow-insights {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(126, 154, 255, .12);
}
.cashflow-insights div { padding: .78rem .85rem; border-radius: 16px; background: rgba(148, 184, 255, .065); border: 1px solid rgba(126, 154, 255, .11); }
.cashflow-insights span { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.cashflow-insights strong { display: block; margin-top: .25rem; color: #fff; font-size: .98rem; }

.queue-now {
  position: relative; color: #fff !important; overflow: hidden;
  border-color: rgba(103, 232, 249, .24) !important;
  background:
    radial-gradient(560px 280px at 10% -10%, rgba(34, 211, 238, .34), transparent 58%),
    radial-gradient(480px 320px at 105% 110%, rgba(232, 121, 249, .22), transparent 60%),
    linear-gradient(150deg, #312e81, #1d4ed8 55%, #0369a1) !important;
}
.queue-now::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 72%);
}
.queue-now::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: -118px; bottom: -168px;
  border: 44px solid rgba(255, 255, 255, .07); border-radius: 50%;
}
.queue-now-body { position: relative; z-index: 2; padding: 1.2rem !important; }
.queue-hero-main { display: flex; gap: 1rem; align-items: center; margin: 1.2rem 0; }
.queue-number {
  min-width: 82px; height: 82px; padding: .5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 24px; color: #fff; font-size: 1.55rem; font-weight: 850;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 32px rgba(2, 6, 23, .22);
}
.queue-code { color: #bae6fd; font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.queue-hero-main h3 { margin: .22rem 0; color: #fff; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 850; }
.queue-hero-main p { margin: 0; color: rgba(224, 242, 254, .78); }
.queue-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-bottom: 1rem; }
.queue-meta-grid > div { padding: .72rem .8rem; border-radius: 15px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .13); min-width: 0; }
.queue-meta-grid span { display: block; color: rgba(219, 234, 254, .65); font-size: .66rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .3rem; }
.queue-meta-grid strong { display: block; overflow-wrap: anywhere; font-size: .85rem; }
.queue-progress-head { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(224, 242, 254, .78); margin-bottom: .45rem; }
.queue-progress { height: .72rem; background: rgba(2, 6, 23, .32); }
.queue-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1.05rem; }
.queue-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; }
.queue-empty { text-align: center; padding: 3rem 1rem; }
.queue-empty > span {
  width: 68px; height: 68px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 22px; background: rgba(255, 255, 255, .13); font-size: 1.8rem; margin-bottom: 1rem;
}
.queue-empty h3 { color: #fff; font-weight: 850; }
.queue-empty p { color: rgba(224, 242, 254, .76); max-width: 380px; margin: .5rem auto 1.1rem; }

.queue-rank {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; padding: .42rem .55rem; border-radius: 999px;
  color: #bfdbfe; background: rgba(59, 130, 246, .15); border: 1px solid rgba(96, 165, 250, .22);
  font-weight: 850; font-size: .78rem;
}
.client-cell { display: flex; align-items: center; gap: .72rem; min-width: 0; }
.client-avatar {
  width: 41px; height: 41px; flex: 0 0 41px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; color: #fff; font-weight: 850;
  background: linear-gradient(140deg, rgba(124, 58, 237, .92), rgba(37, 99, 235, .92), rgba(6, 182, 212, .86));
  border: 1px solid rgba(255, 255, 255, .16);
}
.client-name { display: block; color: #f4f7ff; font-weight: 800; text-decoration: none; }
.client-name:hover { color: #7dd3fc; }
.client-sub { display: block; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; }
.progress-label { display: flex; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .7rem; margin-bottom: .35rem; }
.progress-label strong { color: #dbeafe; }
.activity-list { display: flex; flex-direction: column; }
.activity-item {
  display: flex; align-items: flex-start; gap: .72rem;
  padding: .78rem 0; border-bottom: 1px solid rgba(126, 154, 255, .10);
}
.activity-item:last-child { border-bottom: 0; }
.activity-icon {
  width: 39px; height: 39px; flex: 0 0 39px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; color: #7dd3fc; background: rgba(56, 189, 248, .10); border: 1px solid rgba(56, 189, 248, .15);
}
.activity-title { color: #edf3ff; font-size: .83rem; font-weight: 750; line-height: 1.35; }
.activity-sub { color: var(--muted); font-size: .72rem; line-height: 1.4; margin-top: .16rem; }
.activity-amount { color: #a5f3fc; font-size: .82rem; padding-top: .25rem; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: .55rem; color: var(--muted); padding: 2.2rem 1rem; text-align: center; }
.empty-state i { font-size: 1.65rem; color: #64748b; }

/* ============================== QUEUE BOARD & CONTENT ============================== */
.queue-board .card { height: 100%; }
.queue-board a {
  color: var(--text) !important;
  background: linear-gradient(150deg, rgba(24, 36, 82, .68), rgba(8, 13, 35, .82)) !important;
  border-color: rgba(126, 154, 255, .16) !important;
  border-radius: 16px !important;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.queue-board a:hover { transform: translateY(-2px); border-color: rgba(103, 232, 249, .32) !important; box-shadow: 0 14px 28px rgba(0, 0, 12, .26) !important; }

pre.teks-pesanan {
  max-height: 340px; overflow: auto; white-space: pre-wrap;
  padding: 1rem; color: #dbeafe; font-size: .88rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, .92), rgba(7, 13, 34, .92));
  border: 1px solid rgba(103, 232, 249, .16); border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.code-block {
  color: #bfdbfe !important;
  background: linear-gradient(180deg, #020617, #07102a) !important;
  border: 1px solid rgba(103, 232, 249, .16);
  border-radius: 17px !important;
}
pre { color: #dbeafe; }
.deadline-late { color: #fb7185; font-weight: 800; }
.journal-indent { padding-left: 2.2rem !important; color: #a9bce4; font-style: italic; }

/* ============================== GOOGLE DRIVE ============================== */
.drive-card {
  border-color: rgba(52, 211, 153, .28) !important;
  background:
    radial-gradient(520px 240px at 0% -20%, rgba(52, 211, 153, .14), transparent 56%),
    linear-gradient(150deg, rgba(6, 55, 38, .58), rgba(7, 18, 38, .92)) !important;
}
.drive-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .45rem; padding: .34rem .62rem; border-radius: 999px;
  color: #86efac !important; background: rgba(22, 163, 74, .13);
  border: 1px solid rgba(74, 222, 128, .24);
  text-decoration: none; font-size: .72rem; font-weight: 850;
}
.drive-chip:hover { color: #dcfce7 !important; background: rgba(22, 163, 74, .22); }
.drive-icon {
  width: 54px; height: 54px; flex: 0 0 54px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 18px; color: #fff; font-size: 1.48rem;
  background: linear-gradient(140deg, #22c55e, #0f9d58 55%, #2563eb);
  box-shadow: 0 15px 30px rgba(22, 163, 74, .26), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.text-truncate-link { max-width: 100%; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }

/* ============================== CLIPBOARD ============================== */
.clipboard-form-card { position: sticky; top: 96px; }
.clipboard-editor { min-height: 260px; line-height: 1.65; resize: vertical; }
.clipboard-card { overflow: hidden; }
.clipboard-title { overflow-wrap: anywhere; }
.clipboard-text {
  min-height: 190px;
  line-height: 1.65;
  resize: vertical;
  white-space: pre-wrap;
}
@media (max-width: 991.98px) {
  .clipboard-form-card { position: static; }
}

/* ============================== LOGIN ============================== */
.login-body { overflow-x: hidden; }
.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2.4rem);
  position: relative;
}
.login-wrap::before, .login-wrap::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none;
}
.login-wrap::before { width: 430px; height: 430px; left: -150px; top: -170px; background: rgba(124, 58, 237, .18); }
.login-wrap::after { width: 470px; height: 470px; right: -170px; bottom: -210px; background: rgba(6, 182, 212, .15); }
.login-shell {
  position: relative; z-index: 1;
  width: min(1140px, 100%);
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 1.15rem; align-items: stretch;
}
.login-showcase {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2.35rem);
  border-radius: 30px;
  border: 1px solid rgba(126, 154, 255, .19);
  background:
    radial-gradient(640px 320px at 10% -10%, rgba(56, 189, 248, .20), transparent 58%),
    radial-gradient(520px 380px at 110% 110%, rgba(168, 85, 247, .18), transparent 58%),
    linear-gradient(155deg, rgba(16, 25, 66, .88), rgba(4, 8, 27, .94));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.login-showcase::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(125, 180, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 180, 255, .045) 1px, transparent 1px);
  background-size: 38px 38px; mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 76%);
}
.login-showcase > * { position: relative; z-index: 1; }
.login-brand-row { display: flex; align-items: center; gap: .78rem; }
.login-brand-row strong { display: block; letter-spacing: .055em; }
.login-brand-row small { display: block; color: var(--muted); margin-top: .1rem; }
.login-copy { margin: auto 0; padding: 3.2rem 0 2.2rem; max-width: 620px; }
.login-copy h1 { margin: .75rem 0 .9rem; font-size: clamp(2rem, 4.6vw, 3.55rem); line-height: 1.02; font-weight: 850; letter-spacing: -.035em; }
.login-copy p { color: #aebddc; font-size: clamp(.96rem, 1.4vw, 1.06rem); line-height: 1.75; max-width: 570px; }
.login-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.login-metric {
  display: flex; gap: .65rem; align-items: center;
  padding: .78rem; border-radius: 17px;
  background: rgba(148, 184, 255, .075); border: 1px solid rgba(126, 154, 255, .14);
}
.login-metric i { color: #67e8f9; font-size: 1.08rem; }
.login-metric span { min-width: 0; }
.login-metric strong { display: block; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-metric small { display: block; color: var(--muted); font-size: .67rem; line-height: 1.3; }
.login-storage {
  display: flex; align-items: center; gap: .5rem;
  margin-top: .85rem; color: var(--muted); font-size: .78rem;
}
.login-storage strong { color: #dbeafe; }
.login-card {
  width: 100%; align-self: center;
  border-radius: 30px !important;
  background: linear-gradient(160deg, rgba(20, 31, 72, .90), rgba(6, 10, 30, .94)) !important;
  border-color: rgba(147, 197, 253, .20) !important;
  backdrop-filter: blur(18px);
}
.login-card .card-body { padding: clamp(1.35rem, 3vw, 2.3rem) !important; }
.login-features { display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem; }
.login-features span {
  padding: .4rem .62rem; border-radius: 999px;
  color: #bfdbfe; background: rgba(59, 130, 246, .12); border: 1px solid rgba(96, 165, 250, .18);
  font-size: .71rem; font-weight: 850;
}
.login-features i { margin-right: .24rem; color: #67e8f9; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1199.98px) {
  .cashflow-chart-wrap { height: 310px; }
}
@media (max-width: 991.98px) {
  .sidebar {
    position: fixed; left: 0; top: 0;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 24px 0 70px rgba(0, 0, 0, .5);
  }
  .sidebar.show { transform: translateX(0); }
  .sidebar-backdrop.show {
    display: block; position: fixed; inset: 0; z-index: 1035;
    background: rgba(1, 4, 18, .66); backdrop-filter: blur(4px);
  }
  .login-shell { grid-template-columns: 1fr; max-width: 720px; }
  .login-copy { margin: 0; padding: 2rem 0 1.4rem; }
  .login-copy h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
}
@media (max-width: 767.98px) {
  .page-shell { padding-left: .75rem !important; padding-right: .75rem !important; }
  .topbar-inner { gap: .55rem; padding: .62rem .75rem; }
  .page-eyebrow { display: none; }
  .page-title { white-space: normal; font-size: 1rem !important; }
  .topbar-actions .btn-primary { padding-inline: .62rem; }
  .card { border-radius: 19px !important; }
  .card-body { padding: 1rem; }
  .analytics-card { padding: 1rem; }
  .analytics-card:has(> .table-responsive) { padding: 0; }
  .analytics-card:has(> .table-responsive) .analytics-head { padding: 1rem 1rem .2rem; }
  .analytics-head { flex-direction: column; }
  .chart-chip-group { justify-content: flex-start; }
  .cashflow-chart-wrap { height: 285px; min-height: 260px; }
  .cashflow-insights { grid-template-columns: 1fr; }
  .queue-hero-main { align-items: flex-start; }
  .queue-number { min-width: 68px; height: 68px; border-radius: 20px; font-size: 1.25rem; }
  .queue-meta-grid, .queue-actions { grid-template-columns: 1fr; }
  .login-metrics { grid-template-columns: 1fr; }
  .login-showcase { border-radius: 24px; }
  .login-card { border-radius: 24px !important; }
  .client-sub { max-width: 250px; }
}

/* ==========================================================================
   FYY MOTION — Designow-inspired creative agency theme
   Warm paper, ink-black contrast, oversized tight typography, pill CTAs,
   offset shadows, colorful motion cards, marquee and reveal animation.
   Layer ini sengaja berada di akhir agar menggantikan Midnight Glass.
   ========================================================================== */
:root {
  color-scheme: light;
  --bg: #f3efe4;
  --bg-2: #ebe4d3;
  --panel: #fff9ea;
  --panel-strong: #fffdf6;
  --panel-soft: #eee6d2;
  --panel-solid: #fff9ea;
  --ink: #11120f;
  --ink-2: #24251f;
  --paper: #f6f1e5;
  --cream: #fff9ea;
  --border: #22231d;
  --border-strong: #11120f;
  --text: #14150f;
  --muted: #716b5c;
  --faint: #98917f;
  --cyan: #4f7cff;
  --sky: #5db9ff;
  --blue: #4f7cff;
  --violet: #6d4aff;
  --magenta: #ff8ac2;
  --green: #79b51f;
  --lime: #b8f135;
  --amber: #ffb43a;
  --orange: #ff7a45;
  --rose: #ff6b6b;
  --shadow: 8px 8px 0 rgba(17, 18, 15, .92);
  --shadow-soft: 5px 5px 0 rgba(17, 18, 15, .88);
  --shadow-hover: 10px 10px 0 rgba(17, 18, 15, .94);
  --radius: 24px;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, monospace;
}

* { scrollbar-color: #11120f #eee7d4; }
*::-webkit-scrollbar-thumb { background: #11120f; border: 2px solid #f3efe4; }
*::-webkit-scrollbar-track { background: #eee7d4; }

body {
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(620px 360px at 88% -8%, rgba(184, 241, 53, .30), transparent 62%),
    radial-gradient(720px 460px at -12% 12%, rgba(109, 74, 255, .15), transparent 62%),
    radial-gradient(540px 380px at 72% 108%, rgba(255, 122, 69, .16), transparent 62%),
    linear-gradient(rgba(17, 18, 15, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 15, .045) 1px, transparent 1px),
    linear-gradient(180deg, #f7f2e7 0%, #f2ecdd 52%, #eee6d4 100%);
  background-size: auto, auto, auto, 44px 44px, 44px 44px, auto;
  background-attachment: fixed;
}

::selection { background: var(--lime); color: var(--ink); }
a { color: #5b3df5; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.page-title, .brand-name, .stat-value, .donut-center strong {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.035em;
}
code, kbd, .font-monospace {
  font-family: var(--font-mono) !important;
}
code {
  color: #5130d8;
  background: #eee7ff;
  border: 1px solid rgba(17, 18, 15, .18);
  border-radius: 7px;
}
hr { border-color: rgba(17, 18, 15, .18); }
:focus-visible { outline: 3px solid rgba(109, 74, 255, .72); outline-offset: 3px; }

.text-muted { color: var(--muted) !important; }
.text-dark, .text-body, .link-dark { color: var(--ink) !important; }
.text-primary { color: var(--violet) !important; }
.text-success { color: #55850c !important; }
.text-danger { color: #d84e4e !important; }
.text-warning { color: #b96f00 !important; }
.text-info { color: #3568d4 !important; }
.bg-white, .bg-light, .bg-body { background: #fffaf0 !important; }
.bg-primary { background: var(--ink) !important; }
.border, .border-top, .border-bottom, .border-start, .border-end { border-color: rgba(17, 18, 15, .68) !important; }
.border-success { border-color: #7ca51f !important; }
.border-danger { border-color: #e05252 !important; }
.border-primary { border-color: var(--ink) !important; }

/* Reveal animation shared by public + admin */
.reveal-init {
  opacity: 0;
  transform: translateY(24px) scale(.992);
  transition-property: opacity, transform;
  transition-duration: .72s;
  transition-timing-function: cubic-bezier(.2, .75, .25, 1);
  will-change: opacity, transform;
}
.reveal-init.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ============================= ADMIN SHELL ============================= */
.sidebar {
  color: var(--cream);
  border-right: 2px solid var(--ink);
  background:
    radial-gradient(420px 260px at 10% -6%, rgba(184, 241, 53, .22), transparent 60%),
    radial-gradient(380px 300px at 115% 24%, rgba(109, 74, 255, .34), transparent 62%),
    linear-gradient(rgba(255, 249, 234, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 249, 234, .035) 1px, transparent 1px),
    #11120f;
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  box-shadow: 10px 0 0 rgba(17, 18, 15, .08);
  backdrop-filter: none;
}
.brand { color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand-icon {
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--cream);
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgba(255, 249, 234, .9);
  transform: rotate(-3deg);
}
.brand:hover .brand-icon { transform: rotate(3deg) scale(1.04); }
.brand-name { color: var(--cream); font-weight: 900; }
.brand-sub { color: rgba(255, 249, 234, .62); }
.storage-pill {
  color: var(--cream);
  background: rgba(255, 249, 234, .08);
  border: 1px solid rgba(255, 249, 234, .22);
  box-shadow: none;
}
.storage-pill-copy small { color: rgba(255, 249, 234, .55); font-family: var(--font-mono); }
.storage-pill > i { color: var(--lime); }
.storage-pulse, .storage-dot {
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(184, 241, 53, .15), 0 0 14px rgba(184, 241, 53, .55);
  animation: fyyPulse 2s infinite;
}
.storage-json .storage-pulse, .storage-json .storage-dot {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(255, 180, 58, .15), 0 0 14px rgba(255, 180, 58, .5);
}
.sidebar-heading {
  color: rgba(255, 249, 234, .46);
  font-family: var(--font-mono);
  letter-spacing: .13em;
}
.sidebar-nav .nav-link {
  color: rgba(255, 249, 234, .78);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
}
.sidebar-nav .nav-link > i {
  color: var(--cream);
  background: rgba(255, 249, 234, .09);
  border: 1px solid rgba(255, 249, 234, .14);
  border-radius: 50%;
}
.sidebar-nav .nav-link:hover {
  color: var(--cream);
  background: rgba(255, 249, 234, .10);
  border-color: rgba(255, 249, 234, .18);
  transform: translateX(4px);
}
.sidebar-nav .nav-link.active {
  color: var(--ink);
  font-weight: 850;
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 4px 4px 0 rgba(255, 249, 234, .85);
}
.sidebar-nav .nav-link.active::before { display: none; }
.sidebar-nav .nav-link.active > i {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}
.sidebar-footer {
  background: rgba(255, 249, 234, .08);
  border: 1px solid rgba(255, 249, 234, .18);
  border-radius: 20px;
}
.sidebar-footer .text-white { color: var(--cream) !important; }
.sidebar-footer .text-white-50 { color: rgba(255, 249, 234, .58) !important; }
.avatar {
  color: #fff;
  background: var(--violet);
  border: 2px solid var(--cream);
  box-shadow: 3px 3px 0 rgba(17, 18, 15, .35);
}
.sidebar-backdrop.show { background: rgba(17, 18, 15, .58); }

.topbar {
  border-bottom: 2px solid rgba(17, 18, 15, .84) !important;
  background: rgba(247, 242, 231, .88) !important;
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 8px 0 rgba(17, 18, 15, .035);
}
.topbar-menu-btn {
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 50% !important;
  box-shadow: 3px 3px 0 var(--ink);
}
.page-eyebrow, .analytics-kicker, .queue-eyebrow, .login-eyebrow {
  color: var(--violet);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .11em;
}
.page-title { color: var(--ink) !important; font-weight: 900 !important; }
.page-title i { color: var(--violet); }
.global-search {
  background: #fffdf6;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(17, 18, 15, .88);
}
.global-search > i { color: var(--violet); }
.global-search kbd {
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
}
.storage-badge {
  color: var(--ink);
  background: #e9ffc2;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(17, 18, 15, .85);
}
.storage-badge i { color: #55850c; }
.topbar-user { border-left: 1px solid rgba(17, 18, 15, .18); }
.topbar-user-copy strong { color: var(--ink); }
.topbar-user-copy small { color: var(--muted); }
.app-footer { color: var(--muted); border-top: 1px dashed rgba(17, 18, 15, .26); }

/* ============================= ADMIN COMPONENTS ============================= */
.card, .analytics-card {
  color: var(--ink);
  border: 1.6px solid var(--ink) !important;
  border-radius: var(--radius) !important;
  background: linear-gradient(155deg, #fffdf6, #fff7e6) !important;
  box-shadow: var(--shadow-soft) !important;
}
.card:hover { border-color: var(--ink) !important; }
.card-header {
  color: var(--ink) !important;
  border-bottom: 1.5px solid rgba(17, 18, 15, .72) !important;
  background: #fffaf0 !important;
  font-family: var(--font-display);
}
.card-header.bg-primary, .card-header.text-white {
  color: var(--cream) !important;
  background: var(--ink) !important;
}
.card-footer {
  color: var(--muted);
  background: #f6efdd !important;
  border-top: 1px dashed rgba(17, 18, 15, .30) !important;
}
.filter-card, .glass-filter {
  background:
    radial-gradient(460px 200px at 0% -60%, rgba(184, 241, 53, .36), transparent 58%),
    linear-gradient(145deg, #fffdf6, #fff4d6) !important;
}
.shadow-sm { box-shadow: var(--shadow-soft) !important; }
.shadow, .shadow-lg { box-shadow: var(--shadow) !important; }

.btn {
  border: 1.5px solid var(--ink) !important;
  border-radius: 999px !important;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 3px 3px 0 rgba(17, 18, 15, .88);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 6px 0 rgba(17, 18, 15, .92);
  filter: none;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary, .btn-dark { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--cream) !important; }
.btn-primary:hover, .btn-dark:hover { background: var(--violet) !important; color: #fff !important; }
.btn-success { background: var(--lime) !important; border-color: var(--ink) !important; color: var(--ink) !important; }
.btn-danger { background: #ff6b6b !important; border-color: var(--ink) !important; color: var(--ink) !important; }
.btn-warning { background: var(--amber) !important; border-color: var(--ink) !important; color: var(--ink) !important; }
.btn-info { background: #8fc7ff !important; border-color: var(--ink) !important; color: var(--ink) !important; }
.btn-secondary { background: #d9d2bf !important; border-color: var(--ink) !important; color: var(--ink) !important; }
.btn-light { background: #fffdf6 !important; border-color: var(--ink) !important; color: var(--ink) !important; }
.btn-soft {
  color: var(--ink) !important;
  background: #fffdf6 !important;
  border: 1.5px solid var(--ink) !important;
}
.btn-soft:hover { color: var(--ink) !important; background: #e9ffc2 !important; border-color: var(--ink) !important; }
.btn-ghost-light { color: var(--cream) !important; background: rgba(255, 249, 234, .10) !important; border-color: rgba(255, 249, 234, .5) !important; }
.btn-outline-primary, .btn-outline-success, .btn-outline-danger,
.btn-outline-secondary, .btn-outline-dark, .btn-outline-info {
  color: var(--ink) !important;
  background: #fffdf6 !important;
  border-color: var(--ink) !important;
}
.btn-outline-primary:hover { background: #e5deff !important; color: var(--ink) !important; }
.btn-outline-success:hover { background: #e9ffc2 !important; color: var(--ink) !important; }
.btn-outline-danger:hover { background: #ffe0e0 !important; color: var(--ink) !important; }
.btn-outline-secondary:hover, .btn-outline-dark:hover { background: #eee7d4 !important; color: var(--ink) !important; }
.btn-outline-info:hover { background: #dff0ff !important; color: var(--ink) !important; }
.btn-outline-light { color: var(--cream) !important; border-color: rgba(255, 249, 234, .55) !important; background: transparent !important; }
.btn-outline-light:hover { color: var(--ink) !important; background: var(--cream) !important; border-color: var(--cream) !important; }
.btn-link { color: var(--violet) !important; border: 0 !important; box-shadow: none !important; }
.btn-close { filter: none; opacity: .72; }
.btn-icon { border-radius: 50% !important; }

.form-label { color: var(--ink); font-weight: 750; }
.form-text { color: var(--muted); }
.form-control, .form-select {
  color: var(--ink);
  background-color: #fffdf6;
  border: 1.5px solid rgba(17, 18, 15, .78);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(17, 18, 15, .04);
}
.form-control::placeholder { color: #aaa18e; }
.form-control:focus, .form-select:focus {
  color: var(--ink);
  background-color: #fff;
  border-color: var(--violet);
  box-shadow: 3px 3px 0 rgba(109, 74, 255, .35), 0 0 0 .18rem rgba(184, 241, 53, .28);
}
.form-control:disabled, .form-control[readonly], .form-select:disabled {
  color: #6c675b;
  background-color: #eee7d4;
  opacity: 1;
}
.form-select option { background: #fffdf6; color: var(--ink); }
.input-group-text {
  color: var(--ink);
  background: #e9ffc2;
  border-color: rgba(17, 18, 15, .78);
  border-radius: 14px;
}
.form-check-input { background-color: #fffdf6; border-color: var(--ink); }
.form-check-input:checked { background-color: var(--violet); border-color: var(--ink); }
.form-range { accent-color: var(--violet); }
.rupiah-hint { color: #55850c !important; font-weight: 800; }

.alert {
  color: var(--ink);
  border: 1.5px solid var(--ink) !important;
  border-radius: 18px;
  box-shadow: 4px 4px 0 rgba(17, 18, 15, .86);
  backdrop-filter: none;
}
.alert-success { color: #274206; background: #e9ffc2; }
.alert-danger { color: #681b1b; background: #ffe0e0; }
.alert-warning { color: #654200; background: #fff0bf; }
.alert-info, .alert-primary { color: #263d78; background: #dff0ff; }
.alert-secondary { color: var(--ink); background: #eee7d4; }

.badge {
  color: var(--ink) !important;
  border: 1px solid rgba(17, 18, 15, .72) !important;
  border-radius: 999px;
  font-weight: 850;
}
.text-bg-primary { background: #ddd3ff !important; }
.text-bg-success { background: #d9f99d !important; }
.text-bg-danger { background: #fecaca !important; }
.text-bg-warning { background: #fde68a !important; }
.text-bg-info { background: #bfdbfe !important; }
.text-bg-secondary { background: #e7e0cf !important; }
.text-bg-dark { background: var(--ink) !important; color: var(--cream) !important; }
.text-bg-light { background: #fffdf6 !important; }

.table {
  --bs-table-color: var(--ink);
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(17, 18, 15, .16);
  --bs-table-striped-bg: rgba(184, 241, 53, .08);
  --bs-table-striped-color: var(--ink);
  --bs-table-hover-bg: #fff2bf;
  --bs-table-hover-color: var(--ink);
  color: var(--ink);
}
.table > :not(caption) > * > * {
  background-color: transparent;
  border-bottom-color: rgba(17, 18, 15, .14);
}
.table th {
  color: var(--cream) !important;
  background: var(--ink) !important;
  border-bottom: 2px solid var(--ink) !important;
  font-family: var(--font-display);
  letter-spacing: .045em;
}
.table td { color: var(--ink); }
.table-light, thead.table-light, tfoot.table-light, tr.table-light {
  --bs-table-bg: #f0e7d0;
  --bs-table-color: var(--ink);
  background: #f0e7d0 !important;
  color: var(--ink) !important;
}
.table-success { --bs-table-bg: #e9ffc2; background: #e9ffc2 !important; }
.table-danger { --bs-table-bg: #ffe0e0; background: #ffe0e0 !important; }
.table-bordered > :not(caption) > * { border-color: rgba(17, 18, 15, .18); }
.table a { color: #5130d8; font-weight: 700; }
.list-group { --bs-list-group-color: var(--ink); --bs-list-group-border-color: rgba(17, 18, 15, .18); }
.list-group-item { color: var(--ink); border-color: rgba(17, 18, 15, .16); }

.progress {
  background: #e8dfc9;
  border: 1px solid rgba(17, 18, 15, .56);
  box-shadow: inset 0 1px 2px rgba(17, 18, 15, .10);
}
.progress-bar { background: linear-gradient(90deg, var(--violet), #4f7cff) !important; }
.progress-bar.bg-success { background: linear-gradient(90deg, #9bd45a, #65a30d) !important; }
.progress-bar.bg-warning { background: linear-gradient(90deg, #ffd34d, #ff8a3d) !important; }
.progress-bar.bg-danger { background: linear-gradient(90deg, #ff8a8a, #e05252) !important; }
.progress-bar.bg-primary { background: linear-gradient(90deg, var(--violet), #4f7cff) !important; }
.progress-bar.bg-secondary { background: linear-gradient(90deg, #a89f8b, #6f6756) !important; }
.progress-bar.bg-dark { background: linear-gradient(90deg, #3c3d36, var(--ink)) !important; }

.pagination { gap: .26rem; }
.page-link {
  color: var(--ink);
  background: #fffdf6;
  border: 1.4px solid var(--ink) !important;
  border-radius: 999px !important;
  box-shadow: 2px 2px 0 rgba(17, 18, 15, .82);
}
.page-link:hover { color: var(--ink); background: #e9ffc2; }
.page-item.active .page-link { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--cream) !important; }
.page-item.disabled .page-link { color: #9b947f; background: #eee7d4; box-shadow: none; }

/* Dashboard analytics in the new agency palette */
.stat-card { overflow: hidden; }
.stat-card::before { height: 5px; left: 0; right: 0; border-radius: 0; }
.stat-card:hover { transform: translate(-2px, -4px); box-shadow: var(--shadow-hover) !important; }
.stat-icon {
  color: var(--ink);
  border: 1.6px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(17, 18, 15, .88);
}
.stat-success { --stat-gradient: linear-gradient(135deg, #d9f99d, #84cc16); }
.stat-danger { --stat-gradient: linear-gradient(135deg, #fecaca, #f87171); }
.stat-primary { --stat-gradient: linear-gradient(135deg, #ddd3ff, #8b5cf6); }
.stat-warning { --stat-gradient: linear-gradient(135deg, #fde68a, #fb923c); }
.stat-info { --stat-gradient: linear-gradient(135deg, #bfdbfe, #60a5fa); }
.stat-secondary { --stat-gradient: linear-gradient(135deg, #e7e0cf, #a89f8b); }
.stat-title { color: var(--muted); font-family: var(--font-mono); }
.stat-value { color: var(--ink); font-weight: 900; }
.stat-sub { color: var(--muted); }
.stat-watermark { color: rgba(17, 18, 15, .055); }

.analytics-head h3 { font-weight: 900; }
.live-chip {
  color: #274206;
  background: #e9ffc2;
  border: 1.3px solid var(--ink);
}
.live-chip > span { background: #65a30d; box-shadow: none; animation: fyyPulse 1.8s infinite; }
.live-chip-light { color: var(--cream); background: rgba(255, 249, 234, .12); border-color: rgba(255, 249, 234, .42); }
.summary-card {
  color: var(--cream) !important;
  background:
    radial-gradient(520px 260px at 0% -10%, rgba(184, 241, 53, .28), transparent 56%),
    radial-gradient(420px 280px at 108% 110%, rgba(109, 74, 255, .38), transparent 60%),
    #11120f !important;
}
.summary-card h3, .summary-card .summary-row strong { color: var(--cream) !important; }
.summary-card .analytics-head p, .summary-card .summary-row span, .summary-card .completion-box small { color: rgba(255, 249, 234, .66) !important; }
.summary-card .analytics-kicker { color: var(--lime); }
.summary-spark { color: var(--ink); background: var(--lime); border: 1.5px solid var(--cream); box-shadow: 3px 3px 0 rgba(255, 249, 234, .85); }
.summary-row { border-bottom-color: rgba(255, 249, 234, .16); }
.completion-box { background: rgba(255, 249, 234, .08); border-color: rgba(255, 249, 234, .18); color: var(--cream); }

.donut-center strong { color: var(--ink); }
.donut-center span { color: var(--muted); }
.donut-legend { border-top-color: rgba(17, 18, 15, .14); }
.legend-row { color: var(--muted); }
.legend-row strong { color: var(--ink); }
.legend-pct { color: var(--muted); }
.chart-chip { border: 1.3px solid var(--ink); background: #fffdf6; }
.chip-income { color: #55850c; }
.chip-expense { color: #d84e4e; }
.cashflow-insights { border-top-color: rgba(17, 18, 15, .14); }
.cashflow-insights div { background: #f7efdb; border: 1px solid rgba(17, 18, 15, .18); }
.cashflow-insights strong { color: var(--ink); }

.queue-now {
  color: var(--cream) !important;
  border-color: var(--ink) !important;
  background:
    radial-gradient(560px 280px at 8% -10%, rgba(184, 241, 53, .32), transparent 56%),
    radial-gradient(480px 320px at 105% 110%, rgba(255, 138, 194, .26), transparent 60%),
    linear-gradient(150deg, #24105e, #6d4aff 52%, #11120f) !important;
}
.queue-now h3, .queue-empty h3 { color: #fff !important; }
.queue-number { color: var(--ink); background: var(--lime); border: 2px solid #fff; box-shadow: 5px 5px 0 rgba(255,255,255,.75); }
.queue-code { color: #ded5ff; font-family: var(--font-mono); }
.queue-meta-grid > div { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }
.queue-progress { background: rgba(0,0,0,.32); border-color: rgba(255,255,255,.22); }

.queue-rank {
  color: var(--ink);
  background: #e5deff;
  border: 1.3px solid var(--ink);
}
.client-avatar {
  color: #fff;
  background: linear-gradient(140deg, var(--violet), #4f7cff);
  border: 1.4px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(17, 18, 15, .82);
}
.client-name { color: var(--ink); }
.client-name:hover { color: var(--violet); }
.client-sub { color: var(--muted); }
.progress-label strong { color: var(--ink); }
.activity-item { border-bottom-color: rgba(17, 18, 15, .12); }
.activity-icon { color: var(--ink); background: #dff0ff; border: 1.3px solid var(--ink); }
.activity-title { color: var(--ink); }
.activity-amount { color: #5130d8; }
.empty-state i { color: #a79d86; }

.queue-board a {
  color: var(--ink) !important;
  background: linear-gradient(150deg, #fffdf6, #fff3d1) !important;
  border: 1.5px solid var(--ink) !important;
  border-radius: 18px !important;
  box-shadow: 4px 4px 0 rgba(17, 18, 15, .86) !important;
}
.queue-board a:hover { transform: translate(-1px, -3px); border-color: var(--ink) !important; box-shadow: 6px 7px 0 rgba(17,18,15,.9) !important; }
pre.teks-pesanan, .code-block {
  color: #f2ffd4 !important;
  background: #11120f !important;
  border: 1.5px solid var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
pre { color: var(--ink); }
.code-block { color: #f2ffd4 !important; }
.deadline-late { color: #d63d3d; }
.journal-indent { color: #6f6758; }

.drive-card {
  border-color: var(--ink) !important;
  background:
    radial-gradient(520px 240px at 0% -20%, rgba(184, 241, 53, .32), transparent 56%),
    linear-gradient(150deg, #f4ffd7, #fff9ea) !important;
}
.drive-chip {
  color: #274206 !important;
  background: #e9ffc2;
  border: 1.3px solid var(--ink);
}
.drive-chip:hover { color: var(--ink) !important; background: var(--lime); }
.drive-icon {
  color: var(--ink);
  background: linear-gradient(140deg, #d9f99d, #5db9ff);
  border: 1.6px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(17,18,15,.88);
}

.clipboard-editor, .clipboard-text, .profile-editor-text { line-height: 1.65; }
.profile-savebar { position: sticky; top: 94px; z-index: 20; background: linear-gradient(135deg, #e9ffc2, #fff9ea) !important; }
.profile-save-icon {
  width: 58px; height: 58px; flex: 0 0 58px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 19px; color: var(--cream); font-size: 1.45rem;
  background: var(--ink); border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(109, 74, 255, .55);
}
.fw-black { font-weight: 900; }
.profile-bottom-save {
  display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .75rem;
  margin: 1rem 0 2rem;
}

@keyframes fyyPulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 241, 53, .45); }
  70% { box-shadow: 0 0 0 8px rgba(184, 241, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 241, 53, 0); }
}

/* Login gets the same paper/ink agency treatment */
.login-wrap::before { background: rgba(184, 241, 53, .42); }
.login-wrap::after { background: rgba(109, 74, 255, .24); }
.login-showcase {
  color: var(--cream);
  border: 2px solid var(--ink);
  background:
    radial-gradient(640px 320px at 10% -10%, rgba(184, 241, 53, .24), transparent 58%),
    radial-gradient(520px 380px at 110% 110%, rgba(109, 74, 255, .38), transparent 58%),
    linear-gradient(rgba(255,249,234,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,249,234,.04) 1px, transparent 1px),
    #11120f;
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
  box-shadow: 10px 10px 0 rgba(17,18,15,.92);
}
.login-showcase::before { display: none; }
.login-brand-row strong { color: var(--cream); font-family: var(--font-display); }
.login-brand-row small { color: rgba(255,249,234,.62); }
.login-copy h1 { color: var(--cream); font-weight: 900; }
.login-copy h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--lime); }
.login-copy p { color: rgba(255,249,234,.72); }
.login-metric { background: rgba(255,249,234,.08); border: 1px solid rgba(255,249,234,.18); }
.login-metric i { color: var(--lime); }
.login-metric strong { color: var(--cream); }
.login-metric small { color: rgba(255,249,234,.60); }
.login-storage { color: rgba(255,249,234,.62); }
.login-storage strong { color: var(--cream); }
.login-card {
  background: linear-gradient(160deg, #fffdf6, #fff5da) !important;
  border: 2px solid var(--ink) !important;
  box-shadow: 10px 10px 0 rgba(17,18,15,.92) !important;
  backdrop-filter: none;
}
.login-features span {
  color: var(--ink);
  background: #e9ffc2;
  border: 1.2px solid var(--ink);
}
.login-features i { color: #55850c; }

/* ============================= PUBLIC PROFILE ============================= */
.public-body { overflow-x: hidden; }
.public-body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 360px at 92% 2%, rgba(184, 241, 53, .24), transparent 62%),
    radial-gradient(560px 420px at -8% 24%, rgba(109, 74, 255, .12), transparent 62%);
}
.public-container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.public-adminbar {
  min-height: 42px; padding: .45rem max(20px, calc((100vw - 1240px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--cream); background: var(--ink); font-size: .82rem; font-weight: 800;
}
.public-adminbar a { color: var(--lime); margin-left: 1rem; text-decoration: none; }
.public-adminbar a:hover { color: #fff; }
.public-nav-wrap {
  position: sticky; top: 14px; z-index: 100;
  width: min(1240px, calc(100% - 28px)); margin: 14px auto 0;
}
.public-nav {
  min-height: 68px; padding: .55rem .65rem .55rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255, 250, 234, .88);
  border: 1.6px solid var(--ink); border-radius: 999px;
  box-shadow: 5px 5px 0 rgba(17,18,15,.88);
  backdrop-filter: blur(16px) saturate(140%);
  transition: box-shadow .25s ease, transform .25s ease, background .25s ease;
}
.public-nav.is-scrolled { background: rgba(255,250,234,.97); box-shadow: 7px 8px 0 rgba(17,18,15,.92); }
.public-brand {
  display: inline-flex; align-items: center; gap: .62rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 900; letter-spacing: -.035em;
  white-space: nowrap;
}
.public-brand:hover { color: var(--ink); }
.public-brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); background: var(--lime);
  border: 1.6px solid var(--ink); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .25s ease;
}
.public-brand:hover .public-brand-mark { transform: rotate(-8deg) scale(1.06); }
.public-links { align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.public-links a, .public-login-link {
  position: relative; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 750;
}
.public-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 3px;
  background: var(--lime); border-radius: 99px; transition: right .25s ease;
}
.public-links a:hover::after { right: 0; }
.public-nav-actions { display: flex; align-items: center; gap: .9rem; }
.public-cta-btn {
  color: var(--cream) !important; background: var(--ink) !important;
  padding: .72rem 1.05rem;
}
.public-cta-btn:hover { background: var(--violet) !important; color: #fff !important; }

/* Hamburger button — tersembunyi di desktop, tampil di mobile/tablet (<992px) */
.public-drawer-btn {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  border: 1.6px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 1.02rem; cursor: pointer;
}
.public-drawer-btn:hover { background: var(--lime); }

/* Mobile drawer (sidebar) — dipakai halaman public (/academy, dst) */
.public-drawer-backdrop {
  position: fixed; inset: 0; z-index: 1040; background: rgba(17, 18, 15, .5);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.public-drawer-backdrop.show { opacity: 1; visibility: visible; }
.public-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1050;
  width: min(320px, 86vw); background: var(--cream); color: var(--ink);
  box-shadow: -8px 0 32px rgba(0, 0, 0, .18);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.25, .1, .25, 1);
  display: flex; flex-direction: column; padding: 20px; overflow-y: auto;
}
.public-drawer.show { transform: translateX(0); }
.public-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.public-drawer-close {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
  border: 1.4px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
}
.public-drawer-links { display: flex; flex-direction: column; gap: 4px; }
.public-drawer-links a {
  display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-weight: 750; font-size: .98rem; padding: 12px 10px; border-radius: 12px;
}
.public-drawer-links a i { width: 20px; text-align: center; color: var(--muted, #6b6b63); }
.public-drawer-links a:hover { background: rgba(17, 18, 15, .06); color: var(--violet); }
.public-drawer-divider { height: 1.4px; background: rgba(17, 18, 15, .12); margin: 14px 0; }
.public-drawer-cta { margin-top: auto; justify-content: center; }

@media (max-width: 991.98px) {
  .public-drawer-btn { display: inline-flex; }
}

.public-hero { position: relative; padding: clamp(4.2rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 1040px; text-align: center; }
.public-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .85rem; border: 1.4px solid var(--ink); border-radius: 999px;
  color: var(--ink); background: #fff8df; box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.public-badge-dot { width: 9px; height: 9px; border-radius: 50%; background: #65a30d; animation: fyyPulse 1.8s infinite; }
.public-hero h1 {
  margin: 1.35rem auto 1.15rem;
  max-width: 1080px;
  font-size: clamp(3.1rem, 8.5vw, 7.3rem);
  line-height: .88; font-weight: 920; letter-spacing: -.075em; text-wrap: balance;
}
.public-hero h1 em {
  position: relative; display: inline-block; padding: 0 .08em;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -.045em; color: var(--violet); white-space: nowrap;
}
.public-hero h1 em::after {
  content: ""; position: absolute; left: .02em; right: .02em; bottom: .02em; height: .14em;
  background: var(--lime); z-index: -1; border-radius: 99px; transform: rotate(-1deg);
}
.hero-subtitle {
  max-width: 760px; margin: 0 auto; color: #5e594e;
  font-size: clamp(1rem, 1.65vw, 1.22rem); line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.hero-btn {
  min-height: 56px; padding: .9rem 1.35rem;
  display: inline-flex !important; align-items: center; justify-content: center; gap: .6rem;
  font-size: .98rem;
}
.hero-btn-dark { color: var(--cream) !important; background: var(--ink) !important; }
.hero-btn-dark:hover { background: var(--violet) !important; color: #fff !important; }
.hero-btn-light, .hero-btn-ghost { color: var(--ink) !important; background: #fffdf6 !important; }
.hero-btn-light:hover, .hero-btn-ghost:hover { background: #e9ffc2 !important; }
.hero-btn-lime { color: var(--ink) !important; background: var(--lime) !important; }
.hero-btn-ghost { border-color: rgba(255,249,234,.7) !important; background: transparent !important; color: var(--cream) !important; box-shadow: 3px 3px 0 rgba(255,249,234,.55); }
.hero-btn-ghost:hover { color: var(--ink) !important; background: var(--cream) !important; }
.btn-arrow { display: inline-block; transition: transform .2s ease; }
.hero-btn:hover .btn-arrow, .public-cta-btn:hover .btn-arrow { transform: translateX(4px); }
.hero-proof { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .85rem; margin-top: 1.35rem; color: #5f594d; font-size: .9rem; font-weight: 650; }
.hero-proof .fa-circle-check { color: #65a30d; }
.avatar-stack { display: inline-flex; }
.avatar-dot {
  width: 36px; height: 36px; margin-left: -7px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream); border-radius: 50%; color: var(--ink);
  font-family: var(--font-display); font-weight: 900; box-shadow: 2px 2px 0 rgba(17,18,15,.5);
}
.avatar-dot:first-child { margin-left: 0; }
.dot-violet { color: #fff; background: var(--violet); }
.dot-lime { background: var(--lime); }
.dot-orange { background: var(--amber); }
.dot-blue { background: #8fc7ff; }
.hero-orb { position: absolute; border: 2px solid var(--ink); border-radius: 50%; opacity: .9; animation: fyyFloat 7s ease-in-out infinite; }
.orb-violet { width: 92px; height: 92px; left: 5%; top: 17%; background: var(--violet); }
.orb-lime { width: 54px; height: 54px; right: 8%; top: 13%; background: var(--lime); animation-delay: -2s; }
.orb-orange { width: 38px; height: 38px; right: 17%; top: 43%; background: var(--orange); animation-delay: -4s; }
.hero-ring { position: absolute; width: 170px; height: 170px; left: -58px; top: 48%; border: 28px solid rgba(255, 138, 194, .55); border-radius: 50%; animation: fyyFloat 9s ease-in-out infinite reverse; }

.showreel-shell {
  position: relative; z-index: 2; margin-top: clamp(2.6rem, 6vw, 4.5rem);
  min-height: clamp(390px, 48vw, 620px); overflow: hidden;
  border: 2px solid var(--ink); border-radius: clamp(26px, 4vw, 42px);
  background: #11120f; box-shadow: 12px 12px 0 rgba(17,18,15,.94);
  isolation: isolate;
}
.showreel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.showreel-shell:hover .showreel-img { transform: scale(1.065); }
.showreel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,15,.03) 42%, rgba(17,18,15,.72)), linear-gradient(90deg, rgba(17,18,15,.34), transparent 52%); }
.showreel-caption { position: absolute; left: clamp(1.2rem, 4vw, 3.2rem); bottom: clamp(1.2rem, 4vw, 3rem); z-index: 4; max-width: 650px; color: var(--cream); }
.showreel-kicker, .section-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.showreel-kicker { color: var(--lime); }
.showreel-caption h2 { margin: .65rem 0 .55rem; color: #fff; font-size: clamp(2rem, 4.2vw, 4rem); line-height: .96; font-weight: 920; }
.showreel-caption p { max-width: 590px; margin: 0; color: rgba(255,249,234,.78); line-height: 1.65; }
.showreel-play {
  position: absolute; z-index: 5; left: 50%; top: 43%; transform: translate(-50%, -50%);
  width: clamp(76px, 9vw, 104px); height: clamp(76px, 9vw, 104px);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 50%;
  box-shadow: 6px 6px 0 var(--ink); font-size: clamp(1.5rem, 3vw, 2.2rem); text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}
.showreel-play::after { content: ""; position: absolute; inset: -13px; border: 1.5px solid rgba(255,249,234,.65); border-radius: 50%; animation: playRing 2.2s ease-out infinite; }
.showreel-play:hover { color: #fff; background: var(--violet); transform: translate(-50%,-50%) scale(1.07) rotate(-4deg); }
.floating-chip {
  position: absolute; z-index: 4; padding: .62rem .82rem;
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--ink); background: #fff9ea; border: 1.5px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink); font-size: .8rem; font-weight: 850;
  animation: fyyFloat 6.5s ease-in-out infinite;
}
.chip-one { left: 4%; top: 9%; background: var(--lime); }
.chip-two { right: 5%; top: 18%; background: #ddd3ff; animation-delay: -2.3s; }
.chip-three { right: 12%; bottom: 28%; background: #ffe1a8; animation-delay: -4s; }
.rotating-badge {
  position: absolute; z-index: 5; right: clamp(1rem, 4vw, 3rem); top: clamp(1rem, 4vw, 3rem);
  width: 112px; height: 112px; padding: 1rem;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--cream); background: var(--ink); border: 1.5px dashed rgba(255,249,234,.7); border-radius: 50%;
  font-family: var(--font-mono); font-size: .55rem; line-height: 1.35; letter-spacing: .08em;
  animation: spinSlow 16s linear infinite;
}
.rotating-badge i { position: absolute; color: var(--lime); font-size: 1rem; }

.trusted-section { padding: 1rem 0 1.6rem; }
.trusted-label { color: #81796a; font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.marquee { margin-top: 1.1rem; padding: 1.1rem 0; overflow: hidden; border-top: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); background: #fff8df; transform: rotate(-.45deg) scale(1.01); }
.marquee-track { width: max-content; display: flex; align-items: center; animation: marqueeMove 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 1.25rem; padding-right: 1.25rem;
  color: var(--ink); font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 900; letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap;
}
.marquee-item i { color: var(--violet); font-size: .9em; }

.public-section { padding: clamp(4.8rem, 9vw, 8.5rem) 0; }
.section-heading { max-width: 840px; margin-bottom: clamp(2rem, 5vw, 3.7rem); }
.section-heading.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: end; }
.section-eyebrow { color: var(--violet); }
.section-eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--lime); border: 1.2px solid var(--ink); border-radius: 50%; }
.section-eyebrow.light { color: var(--lime); }
.section-heading h2 {
  margin: .8rem 0 0; font-size: clamp(2.45rem, 5.5vw, 5rem);
  line-height: .95; font-weight: 920; letter-spacing: -.065em; text-wrap: balance;
}
.section-heading > p, .section-heading.split > p { margin: 1rem 0 0; color: #655f52; font-size: 1.04rem; line-height: 1.75; }
.section-heading.split > p { margin: 0; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.benefit-card {
  position: relative; min-height: 285px; padding: 1.55rem; overflow: hidden;
  border: 1.7px solid var(--ink); border-radius: 28px; background: #fffdf6;
  box-shadow: 6px 6px 0 rgba(17,18,15,.9);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease;
}
.benefit-card:hover { transform: translate(-2px, -7px) rotate(-.35deg); box-shadow: 10px 12px 0 rgba(17,18,15,.94); }
.benefit-card.tone-1 { background: #e9ffc2; }
.benefit-card.tone-2 { color: #fff; background: var(--violet); }
.benefit-card.tone-2 h3 { color: #fff; }
.benefit-card.tone-2 p { color: rgba(255,255,255,.78); }
.benefit-card.tone-3 { background: #ffe1a8; }
.benefit-icon {
  width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 19px;
  font-size: 1.35rem; box-shadow: 4px 4px 0 rgba(17,18,15,.28);
}
.benefit-number { position: absolute; top: 1.1rem; right: 1.25rem; font-family: var(--font-mono); font-weight: 700; opacity: .48; }
.benefit-card h3 { margin: 3.2rem 0 .75rem; font-size: 1.55rem; font-weight: 900; line-height: 1.05; }
.benefit-card p { color: #655f52; line-height: 1.7; }
.card-arrow { position: absolute; right: 1.25rem; bottom: 1.15rem; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1.4px solid currentColor; border-radius: 50%; transition: transform .25s ease; }
.benefit-card:hover .card-arrow { transform: translateX(5px) rotate(-35deg); }

.stats-band {
  margin-top: 1.15rem; padding: 1.35rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
  color: var(--cream); background:
    radial-gradient(480px 240px at 0% -20%, rgba(184,241,53,.25), transparent 56%),
    radial-gradient(420px 260px at 105% 110%, rgba(109,74,255,.34), transparent 60%), #11120f;
  border: 1.7px solid var(--ink); border-radius: 28px; box-shadow: 7px 7px 0 rgba(17,18,15,.9);
}
.public-stat { padding: .8rem 1rem; border-left: 1px solid rgba(255,249,234,.18); }
.public-stat:first-child { border-left: 0; }
.public-stat strong { display: block; color: #fff; font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1; letter-spacing: -.05em; }
.public-stat span { display: block; margin-top: .45rem; color: rgba(255,249,234,.64); font-size: .87rem; }

.dark-section {
  color: var(--cream);
  background:
    linear-gradient(rgba(255,249,234,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,249,234,.045) 1px, transparent 1px),
    radial-gradient(700px 420px at 90% -10%, rgba(109,74,255,.32), transparent 60%),
    #11120f;
  background-size: 44px 44px, 44px 44px, auto, auto;
}
.dark-section .section-heading h2 { color: var(--cream); }
.dark-section .section-heading > p { color: rgba(255,249,234,.66); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.05rem; }
.process-card {
  position: relative; min-height: 300px; padding: 1.35rem; overflow: hidden;
  color: var(--ink); background: #fff9ea; border: 1.7px solid var(--cream); border-radius: 26px;
  box-shadow: 6px 6px 0 rgba(255,249,234,.72);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease;
}
.process-card:nth-child(2) { background: #e9ffc2; }
.process-card:nth-child(3) { background: #ddd3ff; }
.process-card:nth-child(4) { background: #ffe1a8; }
.process-card:hover { transform: translateY(-8px) rotate(.35deg); box-shadow: 9px 12px 0 rgba(255,249,234,.78); }
.process-top { display: flex; justify-content: space-between; align-items: center; }
.process-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 920; letter-spacing: -.06em; }
.process-check { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink); }
.process-card h3 { margin: 3.4rem 0 .65rem; font-size: 1.35rem; font-weight: 900; }
.process-card p { color: #5e594e; line-height: 1.68; }
.process-line { position: absolute; left: 1.35rem; right: 1.35rem; bottom: 1.15rem; height: 5px; background: var(--ink); border-radius: 99px; transform-origin: left; transition: transform .35s ease; }
.process-card:hover .process-line { transform: scaleX(.45); }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.work-card {
  overflow: hidden; border: 1.8px solid var(--ink); border-radius: 30px; background: #fffdf6;
  box-shadow: 7px 7px 0 rgba(17,18,15,.9);
  transition: transform .3s cubic-bezier(.2,.75,.25,1), box-shadow .3s ease;
}
.work-card:hover { transform: translate(-2px, -6px); box-shadow: 11px 12px 0 rgba(17,18,15,.94); }
.work-media {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  color: var(--ink); text-decoration: none; border-bottom: 1.8px solid var(--ink);
  background: linear-gradient(140deg, #ddd3ff, #fff6d8);
}
.work-tone-1 .work-media { background: linear-gradient(140deg, #d9f99d, #fff3c4); }
.work-tone-2 .work-media { background: linear-gradient(140deg, #bfdbfe, #ffe4f1); }
.work-tone-3 .work-media { background: linear-gradient(140deg, #fed7aa, #fef3c7); }
.work-tone-4 .work-media { background: linear-gradient(140deg, #fbcfe8, #ddd3ff); }
.work-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.work-card:hover .work-media img { transform: scale(1.07); }
.work-art-icon {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 86px; height: 86px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream); background: var(--ink); border: 2px solid var(--cream); border-radius: 28px;
  box-shadow: 6px 6px 0 rgba(17,18,15,.85); font-size: 1.65rem;
  transition: transform .35s ease;
}
.work-card:hover .work-art-icon { transform: translate(-50%,-50%) rotate(-6deg) scale(1.07); }
.work-art-word {
  position: absolute; left: 1.2rem; bottom: .25rem; z-index: 1;
  color: rgba(17,18,15,.12); font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 920; letter-spacing: -.07em; text-transform: uppercase; white-space: nowrap;
}
.work-art-shape { position: absolute; border: 1.8px solid var(--ink); }
.shape-a { width: 110px; height: 110px; right: -28px; top: -30px; background: var(--lime); border-radius: 50%; }
.shape-b { width: 76px; height: 76px; left: 8%; top: 14%; background: #ff8ac2; border-radius: 24px; transform: rotate(14deg); }
.shape-c { width: 150px; height: 42px; right: 10%; bottom: 16%; background: #8fc7ff; border-radius: 999px; transform: rotate(-12deg); }
.work-open {
  position: absolute; z-index: 4; right: 1rem; top: 1rem; width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); background: #fff9ea; border: 1.5px solid var(--ink); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .25s ease, background .25s ease;
}
.work-card:hover .work-open { background: var(--lime); transform: rotate(8deg) scale(1.08); }
.work-body { padding: 1.35rem 1.45rem 1.5rem; }
.work-category { display: inline-flex; padding: .34rem .62rem; border: 1.2px solid var(--ink); border-radius: 999px; background: #f2ecdd; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.work-body h3 { margin: .85rem 0 .5rem; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 910; line-height: 1.02; }
.work-body p { margin: 0; color: #686154; line-height: 1.68; }
.public-empty { padding: 3rem 1.4rem; text-align: center; border: 1.7px dashed var(--ink); border-radius: 28px; background: #fff8df; }
.public-empty i { font-size: 2.2rem; color: var(--violet); }
.public-empty h3 { margin: 1rem 0 .5rem; font-weight: 900; }
.public-empty p { color: var(--muted); }

.services-section { background: linear-gradient(180deg, transparent, rgba(184,241,53,.12), transparent); }
.service-list { display: flex; flex-direction: column; gap: .9rem; }
.service-card {
  border: 1.7px solid var(--ink); border-radius: 25px; background: #fffdf6;
  box-shadow: 5px 5px 0 rgba(17,18,15,.88); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.service-card:hover { transform: translateX(4px); box-shadow: 7px 7px 0 rgba(17,18,15,.92); }
.service-card[open] { background: #fff6d8; }
.service-card summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.35rem;
  display: grid; grid-template-columns: 58px 1fr 44px; align-items: center; gap: 1rem;
}
.service-card summary::-webkit-details-marker { display: none; }
.service-index { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--violet); }
.service-title { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 910; letter-spacing: -.045em; line-height: 1; }
.service-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--cream); background: var(--ink); border-radius: 50%; transition: transform .3s ease, background .3s ease; }
.service-card[open] .service-toggle { transform: rotate(45deg); background: var(--violet); }
.service-content { padding: 0 1.35rem 1.45rem calc(58px + 2.35rem); animation: serviceIn .35s ease both; }
.service-content p { max-width: 760px; color: #625c4f; line-height: 1.72; }
.service-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.service-tags span { padding: .48rem .7rem; display: inline-flex; gap: .42rem; align-items: center; border: 1.2px solid var(--ink); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 750; }
.service-tags i { color: #65a30d; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.testimonial-card {
  margin: 0; padding: 1.5rem; border: 1.7px solid var(--ink); border-radius: 26px; background: #fffdf6;
  box-shadow: 6px 6px 0 rgba(17,18,15,.9);
}
.testimonial-card > i { color: var(--violet); font-size: 1.7rem; }
.testimonial-card p { margin: 1rem 0 1.3rem; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.45; font-weight: 700; letter-spacing: -.025em; }
.testimonial-card footer strong { display: block; }
.testimonial-card footer span { color: var(--muted); font-size: .88rem; }

.cta-panel {
  position: relative; overflow: hidden; padding: clamp(1.6rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(1.5rem, 5vw, 4rem);
  color: var(--cream); background:
    radial-gradient(560px 300px at 0% -10%, rgba(184,241,53,.28), transparent 56%),
    radial-gradient(520px 360px at 106% 112%, rgba(109,74,255,.4), transparent 60%),
    #11120f;
  border: 2px solid var(--ink); border-radius: clamp(28px, 4vw, 42px);
  box-shadow: 11px 11px 0 rgba(17,18,15,.94);
}
.cta-copy, .contact-card { position: relative; z-index: 2; }
.cta-copy h2 { margin: .9rem 0 1rem; color: #fff; font-size: clamp(2.35rem, 5.4vw, 4.9rem); line-height: .95; font-weight: 920; }
.cta-copy p { max-width: 670px; color: rgba(255,249,234,.7); font-size: 1.04rem; line-height: 1.72; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.contact-card { align-self: center; padding: 1.45rem; color: var(--ink); background: #fff9ea; border: 1.7px solid var(--cream); border-radius: 26px; box-shadow: 7px 7px 0 rgba(255,249,234,.7); }
.contact-card h3 { margin-bottom: 1.15rem; font-size: 1.35rem; font-weight: 910; }
.contact-card p { display: flex; gap: .75rem; align-items: flex-start; color: #5e594e; line-height: 1.55; }
.contact-card p i { width: 22px; margin-top: .16rem; color: var(--violet); text-align: center; }
.contact-card a { color: var(--ink); font-weight: 750; }
.social-row { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-row a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--cream); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 50%; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.social-row a:hover { color: var(--ink); background: var(--lime); transform: translateY(-3px) rotate(-5deg); }
.cta-orb { position: absolute; border-radius: 50%; border: 2px solid rgba(255,249,234,.55); }
.cta-orb-a { width: 130px; height: 130px; right: 36%; top: -72px; background: rgba(255,138,194,.35); }
.cta-orb-b { width: 74px; height: 74px; left: 44%; bottom: -28px; background: rgba(184,241,53,.38); }

.public-footer { padding: 3.4rem 0 1.6rem; border-top: 1.7px solid var(--ink); background: #fff8df; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 750; }
.footer-links a:hover { color: var(--violet); }
.footer-giant {
  margin-top: 2rem; color: transparent;
  font-family: var(--font-display); font-size: clamp(3.3rem, 11.5vw, 10.5rem);
  font-weight: 940; line-height: .82; letter-spacing: -.085em; text-align: center; white-space: nowrap;
  -webkit-text-stroke: 1.6px rgba(17,18,15,.72);
}
.footer-bottom { margin-top: 1.6rem; padding-top: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #716b5c; border-top: 1px dashed rgba(17,18,15,.3); font-size: .88rem; }

@keyframes fyyFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-13px) rotate(3deg); }
}
@keyframes marqueeMove { to { transform: translateX(-50%); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes playRing { 0% { transform: scale(.82); opacity: .9; } 100% { transform: scale(1.28); opacity: 0; } }
@keyframes serviceIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 991.98px) {
  .benefit-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .section-heading.split { grid-template-columns: 1fr; align-items: start; }
  .cta-panel { grid-template-columns: 1fr; }
  .hero-orb, .hero-ring { opacity: .42; }
}
@media (max-width: 767.98px) {
  .public-container { width: calc(100% - 28px); }
  .public-nav-wrap { top: 8px; width: calc(100% - 16px); margin-top: 8px; }
  .public-nav { min-height: 60px; padding-left: .75rem; }
  .public-brand { font-size: .92rem; }
  .public-brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .public-login-link { display: none; }
  .public-cta-btn { padding: .62rem .8rem; font-size: .84rem; }
  .public-hero { padding-top: 3.4rem; }
  .public-hero h1 { font-size: clamp(2.65rem, 15vw, 4.1rem); }
  .public-hero h1 em { white-space: normal; }
  .hero-btn { width: 100%; }
  .hero-proof { align-items: flex-start; text-align: left; }
  .showreel-shell { min-height: 500px; border-radius: 26px; }
  .showreel-caption { right: 1.1rem; }
  .floating-chip { display: none; }
  .rotating-badge { width: 86px; height: 86px; font-size: .47rem; }
  .benefit-grid, .process-grid, .work-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .public-stat:nth-child(odd) { border-left: 0; }
  .service-card summary { grid-template-columns: 40px 1fr 40px; gap: .65rem; padding: 1rem; }
  .service-content { padding-left: 1rem; }
  .footer-giant { white-space: normal; }
  .profile-savebar { position: static; }
  .card { box-shadow: 4px 4px 0 rgba(17,18,15,.9) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-init { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ============================== PRINT ============================== */
@media print {
  @page { margin: 11mm; }
  html, body { background: #fff !important; color: #111827 !important; }
  body { background-image: none !important; }
  .sidebar, .topbar, .no-print, .btn, .pagination, .global-search, .sidebar-backdrop { display: none !important; }
  .layout, .main { display: block !important; width: 100% !important; }
  .page-shell { max-width: none !important; padding: 0 !important; }
  .card, .analytics-card, .queue-now, .login-card {
    color: #111827 !important; background: #fff !important;
    border: 1px solid #d1d5db !important; box-shadow: none !important;
  }
  .card-header, .bg-white, .bg-light { color: #111827 !important; background: #f8fafc !important; }
  h1, h2, h3, h4, h5, h6, .text-dark, .text-body, .stat-value, .summary-row strong { color: #111827 !important; }
  .text-muted, .analytics-head p, .stat-sub, .client-sub, .activity-sub { color: #64748b !important; }
  .table { --bs-table-color: #111827; --bs-table-border-color: #d1d5db; --bs-table-hover-bg: #fff; color: #111827; }
  .table th, .table td { color: #111827 !important; background: #fff !important; border-color: #d1d5db !important; }
  .table th { background: #f1f5f9 !important; }
  a { color: #111827 !important; text-decoration: none !important; }
  pre.teks-pesanan, .code-block { color: #111827 !important; background: #f8fafc !important; border-color: #cbd5e1 !important; }
  .progress { border: 1px solid #cbd5e1; background: #e5e7eb !important; }
  .alert { color: #111827 !important; background: #f8fafc !important; border-color: #cbd5e1 !important; box-shadow: none !important; }
  .reveal-init { opacity: 1 !important; transform: none !important; }
}
