/* ============================================================
   clay.css — Claymorphism design-system · SiPBB Online (user pages)
   Dipakai: index.php, wajib-pajak.php, login.php
   ============================================================ */

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

:root {
  /* Radius */
  --clay-r:     28px;
  --clay-r-sm:  18px;
  --clay-r-xs:  12px;
  --pill:       999px;

  /* Warna dasar */
  --bg:       #e7ecfb;
  --bg2:      #eef1fc;
  --surface:  #ffffff;
  --ink:      #2b2f4a;
  --ink2:     #656b90;
  --ink3:     #9aa0c0;

  /* Brand + aksen (playful) */
  --primary:  #5b7cfa;
  --primary-d:#4361e8;
  --coral:    #ff6b6b;
  --mint:     #1fc9a0;
  --amber:    #ff9f2e;
  --sky:      #35c1ee;
  --violet:   #a06bff;

  /* Semantik */
  --flag-red: #cc0000;
  --lunas:    #12b886;
  --danger:   #ff5470;

  --line:     rgba(120,132,190,.16);

  /* Clay shadows */
  --clay:     10px 10px 26px rgba(140,150,205,.4), -9px -9px 22px #ffffff;
  --clay-sm:  6px 6px 16px rgba(140,150,205,.34), -5px -5px 13px #ffffff;
  --clay-in:  inset 4px 4px 9px rgba(140,150,205,.45), inset -4px -4px 9px #ffffff;
  --clay-in-sm: inset 3px 3px 6px rgba(140,150,205,.4), inset -3px -3px 6px #ffffff;

  --font: 'Plus Jakarta Sans','Inter',sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(160,107,255,.10), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(53,193,238,.12), transparent 40%),
    radial-gradient(circle at 50% 120%, rgba(91,124,250,.12), transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #c4ccec; border-radius: 999px; border: 2px solid var(--bg); }

.hidden { display: none !important; }

/* ══════════ MASTHEAD / NAV ══════════ */
.clay-topbar { color: var(--ink2); font-size: 12px; }
.clay-topbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.clay-topbar-left { font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; }
.clay-topbar-left::before { content:''; width: 16px; height: 16px; border-radius: 6px;
  background: linear-gradient(135deg,var(--amber),var(--coral)); box-shadow: var(--clay-sm); flex-shrink: 0; }
.clay-topbar-right { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.clay-header { position: sticky; top: 12px; z-index: 100; margin: 0 auto; max-width: 1120px; padding: 0 16px; }
.clay-header-inner {
  background: var(--surface);
  border-radius: var(--pill);
  box-shadow: var(--clay);
  padding: 10px 18px; min-height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  position: relative;
}
.clay-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.clay-brand-logo {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px;
  background: linear-gradient(135deg,var(--primary),var(--violet));
  color: #fff; font-size: 23px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 16px rgba(91,124,250,.45), inset 0 -3px 6px rgba(0,0,0,.15), inset 0 3px 6px rgba(255,255,255,.35);
}
.clay-brand-logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
/* Kalau pakai logo instansi (img) → hilangkan box biru, logo sebesar box */
.clay-brand-logo:has(img) { background: none; box-shadow: none; border-radius: 12px; }
.clay-brand-logo:has(img) img { width: 100%; height: 100%; }
.clay-brand-title { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; line-height: 1.1; }
.clay-brand-sub   { font-size: 11px; color: var(--ink2); font-weight: 600; margin-top: 2px; }

.clay-nav { display: flex; align-items: center; gap: 4px; }
.clay-nav a {
  color: var(--ink2); font-size: 13.5px; font-weight: 700;
  padding: 9px 15px; border-radius: var(--pill); text-decoration: none; transition: all .18s;
}
.clay-nav a:hover { color: var(--primary); background: var(--bg2); box-shadow: var(--clay-in-sm); }
.clay-nav a.active { color: var(--primary); background: var(--bg2); box-shadow: var(--clay-in-sm); }
.clay-nav a.clay-nav-login {
  color: #fff; background: linear-gradient(135deg,var(--primary),var(--primary-d));
  box-shadow: 0 6px 14px rgba(67,97,232,.4); margin-left: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.clay-nav a.clay-nav-login:hover { transform: translateY(-2px); color: #fff; }

.clay-nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  width: 46px; height: 44px; padding: 10px 10px;
  background: var(--surface); border: none; border-radius: 14px;
  box-shadow: var(--clay-sm); cursor: pointer;
}
.clay-nav-toggle:active { box-shadow: var(--clay-in-sm); }
.clay-nav-toggle span { display: block; height: 3px; width: 100%; background: var(--primary); border-radius: 3px; }

/* ══════════ HERO ══════════ */
.hero { max-width: 1120px; margin: 26px auto 0; padding: 0 24px; }
.hero-inner {
  background: linear-gradient(135deg,var(--primary) 0%, var(--violet) 100%);
  color: #fff; border-radius: 36px; padding: 44px 44px;
  box-shadow: 0 26px 50px rgba(91,124,250,.45), inset 0 -8px 16px rgba(0,0,0,.14), inset 0 8px 16px rgba(255,255,255,.22);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.18); border-radius: var(--pill);
  padding: 6px 14px; font-size: 11px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase; margin-bottom: 16px;
  box-shadow: inset 0 -2px 5px rgba(0,0,0,.12), inset 0 2px 5px rgba(255,255,255,.25);
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--amber); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero-title { font-size: clamp(28px,4vw,44px); font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 14px; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 26px; max-width: 440px; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat {
  background: rgba(255,255,255,.14); border-radius: 18px; padding: 12px 16px;
  box-shadow: inset 0 -3px 7px rgba(0,0,0,.12), inset 0 3px 7px rgba(255,255,255,.2);
  display: flex; flex-direction: column; min-width: 92px;
}
.hero-stat-num { font-size: 22px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 10.5px; color: rgba(255,255,255,.78); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.hero-visual { display: flex; justify-content: center; }
.hero-preview {
  background: #fff; color: var(--ink); border-radius: 26px; padding: 22px; width: 290px;
  box-shadow: 0 20px 40px rgba(45,30,90,.3), inset 0 -4px 8px rgba(0,0,0,.05), inset 0 4px 8px rgba(255,255,255,.7);
}
.hp-title { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.hp-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.hp-row:last-of-type { border-bottom: none; }
.hp-label { color: var(--ink2); }
.hp-val { font-weight: 700; }
.hp-total { display: flex; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg,var(--mint),#0fb98a); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 16px rgba(18,184,134,.4), inset 0 -3px 6px rgba(0,0,0,.14), inset 0 3px 6px rgba(255,255,255,.25); }

/* ══════════ MAIN ══════════ */
.main { max-width: 1120px; margin: 0 auto; padding: 0 24px 80px; }

/* ══════════ CLAY PRIMITIVES ══════════ */
.clay-card, .panel {
  background: var(--surface); border-radius: var(--clay-r);
  box-shadow: var(--clay); padding: 28px;
}
.clay-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 22px; border: none; border-radius: var(--pill);
  font-family: var(--font); font-size: 13.5px; font-weight: 800; cursor: pointer;
  color: var(--ink); background: var(--surface); box-shadow: var(--clay-sm);
  transition: transform .16s ease, box-shadow .16s ease; white-space: nowrap;
}
.clay-btn:hover:not(:disabled) { transform: translateY(-3px); box-shadow: var(--clay); }
.clay-btn:active:not(:disabled) { transform: translateY(1px); box-shadow: var(--clay-in-sm); }
.clay-btn:disabled { opacity: .5; cursor: not-allowed; }
.clay-btn--primary { color: #fff; background: linear-gradient(135deg,var(--primary),var(--primary-d));
  box-shadow: 0 10px 22px rgba(67,97,232,.42), inset 0 -3px 6px rgba(0,0,0,.16), inset 0 3px 6px rgba(255,255,255,.28); }
.clay-btn--primary:hover:not(:disabled) { box-shadow: 0 16px 30px rgba(67,97,232,.5), inset 0 -3px 6px rgba(0,0,0,.16), inset 0 3px 6px rgba(255,255,255,.28); }
.clay-btn--success { color: #fff; background: linear-gradient(135deg,var(--mint),#0fb98a);
  box-shadow: 0 10px 22px rgba(18,184,134,.42), inset 0 -3px 6px rgba(0,0,0,.15), inset 0 3px 6px rgba(255,255,255,.28); }
.clay-btn--ghost { background: transparent; box-shadow: none; color: var(--ink2); }
.clay-btn--ghost:hover:not(:disabled) { background: var(--bg2); box-shadow: var(--clay-in-sm); transform: none; }
.clay-btn--soft { color: var(--primary); background: var(--bg2); box-shadow: var(--clay-sm); }
.clay-btn--lg { padding: 15px 30px; font-size: 15px; }
.w-full { width: 100%; }

.clay-input, .clay-select {
  width: 100%; font-family: var(--font); font-size: 14px; color: var(--ink);
  background: var(--bg2); border: 2px solid transparent; border-radius: var(--clay-r-sm);
  padding: 13px 16px; outline: none; box-shadow: var(--clay-in-sm);
  transition: box-shadow .16s, border-color .16s;
}
.clay-select { cursor: pointer; }
.clay-input::placeholder { color: var(--ink3); }
.clay-input:focus, .clay-select:focus { border-color: var(--primary); box-shadow: var(--clay-in-sm), 0 0 0 4px rgba(91,124,250,.16); }

/* Alerts */
.alert { padding: 12px 15px; border-radius: var(--clay-r-sm); font-size: 13px; font-weight: 600;
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 14px; box-shadow: var(--clay-in-sm); }
.alert-error   { background: #ffe6ec; color: #d63456; }
.alert-info    { background: #e2f0ff; color: #2b6fd6; }
.alert-warning { background: #fff2dd; color: #c47d12; }
.alert-success { background: #d8f8ec; color: #0f9c73; }

/* ══════════ SEARCH CARD ══════════ */
.search-card { max-width: 760px; margin: 30px auto 44px; }
.search-head-title { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.search-head-title span { font-size: 24px; }
.search-head-sub { font-size: 13px; color: var(--ink2); margin-bottom: 6px; }
.search-head-sub.sim { background: var(--bg2); border-radius: var(--clay-r-xs); padding: 8px 12px; box-shadow: var(--clay-in-sm); font-size: 12px; }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12px; font-weight: 800; color: var(--ink2); letter-spacing: .2px; }
.field-hint { font-size: 11px; color: var(--ink3); margin-top: 2px; }

/* ══════════ INFO CARDS ══════════ */
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 8px 0 48px; }
.info-card { border-radius: var(--clay-r); padding: 24px; color: #fff; position: relative;
  transition: transform .18s ease; }
.info-card:hover { transform: translateY(-4px); }
.info-card--coral  { background: linear-gradient(135deg,#ff8a8a,var(--coral));  box-shadow: 0 16px 30px rgba(255,107,107,.42), inset 0 -5px 10px rgba(0,0,0,.14), inset 0 5px 10px rgba(255,255,255,.28); }
.info-card--mint   { background: linear-gradient(135deg,#3ad9b3,var(--mint));   box-shadow: 0 16px 30px rgba(31,201,160,.42), inset 0 -5px 10px rgba(0,0,0,.14), inset 0 5px 10px rgba(255,255,255,.28); }
.info-card--sky    { background: linear-gradient(135deg,#5fd2f5,var(--sky));    box-shadow: 0 16px 30px rgba(53,193,238,.42), inset 0 -5px 10px rgba(0,0,0,.14), inset 0 5px 10px rgba(255,255,255,.28); }
.info-card--amber  { background: linear-gradient(135deg,#ffb85c,var(--amber));  box-shadow: 0 16px 30px rgba(255,159,46,.42), inset 0 -5px 10px rgba(0,0,0,.14), inset 0 5px 10px rgba(255,255,255,.28); }
.info-card--violet { background: linear-gradient(135deg,#b98bff,var(--violet)); box-shadow: 0 16px 30px rgba(160,107,255,.42), inset 0 -5px 10px rgba(0,0,0,.14), inset 0 5px 10px rgba(255,255,255,.28); }
.info-card--primary{ background: linear-gradient(135deg,#7d97fb,var(--primary));box-shadow: 0 16px 30px rgba(91,124,250,.42), inset 0 -5px 10px rgba(0,0,0,.14), inset 0 5px 10px rgba(255,255,255,.28); }
.info-ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 14px; background: rgba(255,255,255,.22);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.14), inset 0 3px 6px rgba(255,255,255,.3); }
.info-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.info-text { font-size: 13px; color: rgba(255,255,255,.92); line-height: 1.6; }

/* ══════════ CONTENT PANELS ══════════ */
.panel { margin-bottom: 22px; }
.panel-title { font-size: 17px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.panel-title::before { content: ''; width: 6px; height: 22px; border-radius: 6px;
  background: linear-gradient(180deg,var(--amber),var(--coral)); box-shadow: var(--clay-sm); }
.panel p { font-size: 13.5px; color: var(--ink2); line-height: 1.8; margin-bottom: 10px; }
.panel p:last-child { margin-bottom: 0; }

.formula { background: var(--bg2); border-radius: var(--clay-r-sm); padding: 16px 20px; margin: 14px 0;
  font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--primary); box-shadow: var(--clay-in); text-align: center; }

.tarif { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 13px; }
.tarif th { background: linear-gradient(135deg,var(--primary),var(--primary-d)); color: #fff; padding: 11px 14px; font-weight: 700; text-align: left; }
.tarif th:first-child { border-radius: 12px 0 0 12px; }
.tarif th:last-child { border-radius: 0 12px 12px 0; }
.tarif td { padding: 11px 14px; background: var(--bg2); }
.tarif td:first-child { border-radius: 12px 0 0 12px; }
.tarif td:last-child { border-radius: 0 12px 12px 0; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { width: 38px; height: 38px; border-radius: 14px; flex-shrink: 0; color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,var(--primary),var(--violet));
  box-shadow: 0 8px 15px rgba(91,124,250,.4), inset 0 -3px 5px rgba(0,0,0,.15), inset 0 3px 5px rgba(255,255,255,.3); }
.step-title { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.step-desc { font-size: 12.5px; color: var(--ink2); line-height: 1.6; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg2); border-radius: var(--clay-r-sm); padding: 4px 18px; box-shadow: var(--clay-in-sm); }
.faq-q { padding: 13px 0; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; user-select: none; }
.faq-q .arrow { color: var(--primary); font-size: 12px; transition: transform .2s; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a { font-size: 13px; color: var(--ink2); line-height: 1.7; padding-bottom: 14px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ══════════ FOOTER ══════════ */
.footer { max-width: 1120px; margin: 40px auto 24px; padding: 0 24px; }
.footer-inner { background: var(--surface); border-radius: var(--clay-r); box-shadow: var(--clay); padding: 34px 34px 20px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand-icon { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: #fff;
  background: linear-gradient(135deg,var(--primary),var(--violet)); box-shadow: 0 8px 15px rgba(91,124,250,.4); }
.footer-brand-icon img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
.footer-brand-icon:has(img) { background: none; box-shadow: none; }
.footer-brand-icon:has(img) img { width: 100%; height: 100%; }
.footer-brand-name { font-size: 16px; font-weight: 800; }
.footer-brand-desc { font-size: 13px; line-height: 1.7; color: var(--ink2); }
.footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 14px; color: var(--ink); }
.footer-link { display: block; font-size: 13px; color: var(--ink2); text-decoration: none; margin-bottom: 9px; transition: color .15s; }
.footer-link:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 16px; font-size: 12px; color: var(--ink3); }
.flag-icon { display: inline-flex; border-radius: 4px; overflow: hidden; box-shadow: var(--clay-sm); }
.flag-r { background: var(--flag-red); width: 18px; height: 11px; }
.flag-w { background: #fff; width: 18px; height: 11px; }

/* ══════════ TOAST + SPINNER ══════════ */
#toast-container { position: fixed; top: 18px; right: 18px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--surface); border-radius: 18px; padding: 13px 18px; font-size: 13px; font-weight: 700;
  box-shadow: var(--clay); display: flex; align-items: center; gap: 10px; min-width: 260px; pointer-events: all; animation: toastIn .25s ease; }
.toast-success { border-left: 5px solid var(--lunas); }
.toast-error   { border-left: 5px solid var(--danger); }
.toast-info    { border-left: 5px solid var(--primary); }
@keyframes toastIn { from{opacity:0;transform:translateX(24px)} to{opacity:1;transform:translateX(0)} }
.spinner { width: 15px; height: 15px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: currentColor; border-radius: 50%; animation: spin .6s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════ WAJIB-PAJAK ══════════ */
.wp { max-width: 1120px; margin: 0 auto; padding: 26px 24px 80px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink3); margin-bottom: 22px; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--ink3); }

.wp-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; color: var(--ink2); }
.spinner-lg { width: 46px; height: 46px; border: 4px solid #d3daf5; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin-bottom: 16px; }
.wp-error { max-width: 480px; margin: 70px auto; text-align: center; }
.wp-error-card { background: var(--surface); border-radius: var(--clay-r); box-shadow: var(--clay); padding: 40px 30px; }
.wp-error-icon { font-size: 52px; margin-bottom: 14px; }
.wp-error-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.wp-error-desc { font-size: 14px; color: var(--ink2); line-height: 1.6; margin-bottom: 22px; }

.wp-grid { display: grid; grid-template-columns: 1fr 370px; gap: 24px; align-items: start; }

/* SPPT card */
.sppt-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.sppt { background: var(--surface); border-radius: var(--clay-r); box-shadow: var(--clay); overflow: hidden; }
.sppt-head { background: linear-gradient(135deg,var(--primary),var(--violet)); padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.12); }
.sppt-head-left { display: flex; align-items: center; gap: 14px; }
.sppt-logo { width: 50px; height: 50px; border-radius: 16px; background: rgba(255,255,255,.2); color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.15), inset 0 3px 6px rgba(255,255,255,.3); }
.sppt-logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.sppt-logo:has(img) { background: none; box-shadow: none; }
.sppt-logo:has(img) img { width: 100%; height: 100%; }
.sppt-gov-name { font-size: 12px; font-weight: 800; color: #fff; letter-spacing: .6px; text-transform: uppercase; }
.sppt-gov-sub { font-size: 10.5px; color: rgba(255,255,255,.8); margin-top: 2px; }
.sppt-year { background: rgba(255,255,255,.2); border-radius: 16px; padding: 8px 18px; text-align: center;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.14), inset 0 3px 6px rgba(255,255,255,.25); }
.sppt-year-label { font-size: 9px; color: rgba(255,255,255,.8); letter-spacing: 1px; text-transform: uppercase; }
.sppt-year-val { font-size: 24px; font-weight: 800; color: #fff; font-family: var(--mono); }

.sppt-titlebar { text-align: center; padding: 14px 24px 4px; }
.sppt-title-main { font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.sppt-title-sub { font-size: 11px; color: var(--ink3); margin-top: 3px; }

.sppt-nopbar { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 24px; padding: 9px 16px;
  background: var(--bg2); border-radius: var(--pill); box-shadow: var(--clay-in-sm); }
.sppt-nop-label { font-size: 11px; color: var(--ink2); font-weight: 700; }
.sppt-nop-val { font-family: var(--mono); font-size: 13.5px; font-weight: 800; color: var(--primary); }

.sppt-sec { padding: 14px 26px; }
.sppt-sec-label { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ink3);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.sppt-table { width: 100%; border-collapse: collapse; }
.sppt-table td { padding: 7px 0; font-size: 13px; vertical-align: top; border-bottom: 1px solid var(--line); }
.sppt-table tr:last-child td { border-bottom: none; }
.sppt-table td:first-child { color: var(--ink2); width: 46%; padding-right: 8px; }
.sppt-table td:nth-child(2) { color: var(--ink3); width: 4%; }
.sppt-table td:last-child { color: var(--ink); font-weight: 700; }

.sppt-calc { width: 100%; border-collapse: separate; border-spacing: 0 5px; font-size: 13px; }
.sppt-calc td { padding: 9px 14px; background: var(--bg2); }
.sppt-calc td:first-child { color: var(--ink2); width: 58%; border-radius: 10px 0 0 10px; }
.sppt-calc td:last-child { text-align: right; font-weight: 700; font-family: var(--mono); border-radius: 0 10px 10px 0; }
.sppt-total-row td { background: linear-gradient(135deg,var(--mint),#0fb98a) !important; color: #fff !important; font-weight: 800 !important; font-size: 14px !important;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.13), inset 0 3px 6px rgba(255,255,255,.25); }

.sppt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 26px; margin: 6px 20px 20px; background: var(--bg2); border-radius: var(--clay-r-sm); box-shadow: var(--clay-in-sm); }
.sppt-jt-label { font-size: 10px; color: var(--ink3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.sppt-jt-val { font-size: 15px; font-weight: 800; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: var(--pill);
  font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.status-lunas { color: #fff; background: linear-gradient(135deg,var(--mint),#0fb98a); box-shadow: 0 6px 14px rgba(18,184,134,.4); }
.status-belum { color: #fff; background: linear-gradient(135deg,#ff7a90,var(--danger)); box-shadow: 0 6px 14px rgba(255,84,112,.4); }

/* PAYMENT card */
.pay { background: var(--surface); border-radius: var(--clay-r); box-shadow: var(--clay); overflow: hidden; position: sticky; top: 90px; }
.pay-head { background: linear-gradient(135deg,var(--coral),#ff4f7d); color: #fff; padding: 18px 22px; font-size: 16px; font-weight: 800;
  box-shadow: inset 0 -5px 10px rgba(0,0,0,.12); }
.pay-head span { margin-right: 6px; }
.pay-body { padding: 22px; }
.pay-summary { background: var(--bg2); border-radius: var(--clay-r-sm); padding: 16px; margin-bottom: 18px; box-shadow: var(--clay-in-sm); }
.pay-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; }
.pay-label { color: var(--ink2); }
.pay-divider { height: 1px; background: var(--line); margin: 9px 0; }
.pay-total { font-size: 16px; font-weight: 800; }
.pay-amount { color: var(--coral); font-family: var(--mono); font-weight: 800; }

.pay-label-strong { font-size: 12px; font-weight: 800; color: var(--ink2); }
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pay-method-btn { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: var(--clay-r-sm);
  background: var(--surface); cursor: pointer; box-shadow: var(--clay-sm); transition: all .16s; }
.pay-method-btn:hover { transform: translateY(-2px); }
.pay-method-btn.selected { box-shadow: var(--clay-in-sm), 0 0 0 2.5px var(--primary); background: var(--bg2); }
.pm-chip { width: 48px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; flex-shrink: 0; color: #fff; }
.pm-chip-xendit { background: linear-gradient(135deg,var(--primary),var(--primary-d)); box-shadow: 0 4px 9px rgba(67,97,232,.4); }
.pm-chip-bank { background: linear-gradient(135deg,var(--amber),#f2820e); box-shadow: 0 4px 9px rgba(255,159,46,.4); }
.pm-name { font-size: 13.5px; font-weight: 800; }
.pm-desc { font-size: 11px; color: var(--ink2); }

.ref-box { background: var(--bg2); border-radius: var(--clay-r-sm); padding: 13px 16px; font-family: var(--mono);
  font-size: 14px; font-weight: 800; letter-spacing: 2px; text-align: center; color: var(--primary); margin-bottom: 14px; box-shadow: var(--clay-in); }
.gw-box { background: var(--bg2); border-radius: var(--clay-r-sm); padding: 12px 16px; margin: 10px 0; font-size: 13px; box-shadow: var(--clay-in-sm); }
.gw-line { display: flex; justify-content: space-between; margin-bottom: 5px; }
.gw-line.total { border-top: 1px solid var(--line); padding-top: 7px; margin-top: 5px; font-weight: 800; }
.bank-info { background: var(--bg2); border-radius: var(--clay-r-sm); padding: 14px; margin-bottom: 14px; box-shadow: var(--clay-in-sm); }
.bank-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.bank-row:last-child { border-bottom: none; }
.bank-label { color: var(--ink2); }
.bank-val { font-family: var(--mono); font-weight: 800; }

.upload-zone { border: 2.5px dashed #b9c2ea; border-radius: var(--clay-r-sm); padding: 22px; text-align: center; cursor: pointer;
  transition: all .16s; background: var(--bg2); }
.upload-zone:hover { border-color: var(--primary); }
.upload-zone.has-file { border-color: var(--mint); border-style: solid; background: #dcf8ee; }
.upload-icon { font-size: 30px; margin-bottom: 6px; }
.upload-text { font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.upload-hint { font-size: 11px; color: var(--ink3); }

.success-state { text-align: center; padding: 18px 0; }
.success-icon { font-size: 56px; margin-bottom: 12px; }
.success-title { font-size: 19px; font-weight: 800; color: var(--lunas); margin-bottom: 8px; }
.success-msg { color: var(--ink2); font-size: 13px; line-height: 1.6; margin-bottom: 20px; }

/* ══════════ LOGIN ══════════ */
.login-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 18px; }
.login-brand { text-align: center; margin-bottom: 24px; }
.login-brand-icon { width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 14px; font-size: 36px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,var(--primary),var(--violet));
  box-shadow: 0 16px 32px rgba(91,124,250,.45), inset 0 -5px 10px rgba(0,0,0,.15), inset 0 5px 10px rgba(255,255,255,.3); }
.login-title { font-size: 24px; font-weight: 800; }
.login-sub { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.login-card { background: var(--surface); border-radius: var(--clay-r); box-shadow: var(--clay); padding: 30px; width: 100%; max-width: 400px; }
.login-hint { margin-top: 18px; background: var(--bg2); border-radius: var(--clay-r-sm); padding: 13px 16px; font-size: 12px; color: var(--ink2); line-height: 1.7; box-shadow: var(--clay-in-sm); }
.btn-back { display: block; text-align: center; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink2); text-decoration: none; }
.btn-back:hover { color: var(--primary); }
.login-footer { margin-top: 22px; font-size: 12px; color: var(--ink3); }

/* ══════════ UTILITIES ══════════ */
.flex { display: flex; }
.gap-2 { gap: 12px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }
.text-sm { font-size: 13px; }
.text-muted { color: var(--ink2); }
.mono { font-family: var(--mono); }
.fw-800 { font-weight: 800; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 860px) {
  .clay-nav-toggle { display: flex; }
  .clay-nav { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface);
    border-radius: 24px; box-shadow: var(--clay); padding: 12px; z-index: 200; }
  .clay-nav.open { display: flex; }
  .clay-nav a { padding: 13px 16px; border-radius: 14px; }
  .clay-nav a.clay-nav-login { justify-content: center; margin: 4px 0 0; }
  .wp-grid { grid-template-columns: 1fr; }
  .pay { position: static; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 34px 26px; }
  .hero-visual { display: none; }
  .search-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .clay-topbar-right { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .main, .wp, .hero { padding-left: 16px; padding-right: 16px; }
  .clay-card, .panel, .search-card { padding: 22px 18px; }
  .sppt-actions .clay-btn { flex: 1; min-width: 0; padding: 12px 8px; font-size: 12px; }
  .sppt-head, .sppt-titlebar, .sppt-sec { padding-left: 18px; padding-right: 18px; }
  .pay-body { padding: 18px; }
}
@media (max-width: 480px) {
  :root { --clay-r: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 27px; }
  .hero-stat { min-width: 0; flex: 1; }
  .clay-brand-logo { width: 42px; height: 42px; font-size: 20px; }
  .clay-brand-title { font-size: 15px; }
  .sppt-head { flex-direction: column; align-items: flex-start; }
  .sppt-year { align-self: stretch; }
  .sppt-calc, .sppt-table td { font-size: 12.5px; }
}

/* ══════════ PRINT + PDF MODE ══════════ */
@media print {
  @page { size: A4; margin: 10mm; }
  html, body { height: auto !important; overflow: visible !important; background: #fff !important; }
  body { background-image: none !important; }
  .clay-topbar, .clay-header, .breadcrumb, .sppt-actions, .pay, .footer, .no-print { display: none !important; }
  .wp { padding: 0 !important; }
  .wp-grid { grid-template-columns: 1fr !important; display: block !important; }
  .sppt { box-shadow: none !important; border: 1px solid #ccc !important; page-break-inside: avoid; break-inside: avoid; }
  .sppt-sec, .sppt-calc tr { page-break-inside: avoid; break-inside: avoid; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}
body.pdf-mode .clay-topbar,
body.pdf-mode .clay-header,
body.pdf-mode .breadcrumb,
body.pdf-mode .sppt-actions,
body.pdf-mode .pay,
body.pdf-mode .footer { display: none !important; }
body.pdf-mode .wp-grid { grid-template-columns: 1fr !important; display: block !important; }
body.pdf-mode .sppt { box-shadow: none !important; border: 1px solid #ccc !important; }
