/* =========================================================
   Pendaftaran Qurban 1447H — Masjid Al-Ittihad
   Aesthetic: Maroon + Gold, Islamic geometric ornament, mobile-first
   ========================================================= */

:root {
  --maroon-900: #4a0e1a;
  --maroon-800: #6b1424;
  --maroon-700: #8a1a2e;
  --maroon-600: #a52138;
  --maroon-50:  #fbf3f4;

  --gold-700: #8a6a1f;
  --gold-600: #b8902f;
  --gold-500: #d4a93f;
  --gold-400: #e0c068;
  --gold-100: #f6ecd0;
  --gold-50:  #fdf8ec;

  --cream-50: #fefcf7;
  --cream-100: #faf6ec;
  --cream-200: #f1e9d3;

  --ink-900: #1f1a14;
  --ink-700: #3d342a;
  --ink-500: #6b5e4c;
  --ink-400: #8a7b66;
  --ink-300: #b5a994;

  --green-700: #2f7d3e;
  --green-100: #e0f0e3;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(74,14,26,.06), 0 2px 6px rgba(74,14,26,.04);
  --shadow-md: 0 4px 12px rgba(74,14,26,.08), 0 12px 32px rgba(74,14,26,.06);
  --shadow-lg: 0 18px 50px rgba(74,14,26,.18);

  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-arabic: "Amiri", "Scheherazade New", "Noto Naskh Arabic", serif;
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.font-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.font-arabic  { font-family: var(--font-arabic); }

/* ================== APP SHELL ================== */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream-50);
  position: relative;
}

/* ================== HEADER / NAV ================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(254, 252, 247, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(138, 26, 46, 0.08);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
  display: grid;
  place-items: center;
  color: var(--gold-400);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.brand__logo svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--maroon-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__sub {
  font-size: 11px;
  color: var(--ink-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 540px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 15px; }
}
@media (max-width: 1000px) and (min-width: 541px) {
  .brand__sub { display: none; }
}
.nav__menu {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav__menu a {
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
}
.nav__menu a.active { color: var(--maroon-700); }
.nav__menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.nav__cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(184, 144, 47, 0.3);
  transition: transform .15s ease;
}
.nav__cta:hover { transform: translateY(-1px); }
.nav__burger {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(138,26,46,.12);
  background: transparent;
  display: grid; place-items: center;
  color: var(--maroon-700);
}

@media (min-width: 880px) {
  .nav__menu { display: flex; }
  .nav__burger { display: none !important; }
}

/* Mobile/Tablet nav dropdown */
.nav__dropdown {
  position: fixed;
  inset: 0;
  z-index: 29;
  display: flex;
  flex-direction: column;
}
.nav__dropdown-backdrop {
  flex: 1;
  background: rgba(0,0,0,.4);
}
.nav__dropdown-panel {
  background: var(--cream-50);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 -8px 32px rgba(74,14,26,.18);
}
.nav__dropdown-panel a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--cream-200);
}
.nav__dropdown-panel a:last-of-type { border-bottom: none; }
.nav__dropdown-panel a.active { color: var(--maroon-700); background: var(--maroon-50); }
.nav__dropdown-panel .nav__dropdown-admin {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--maroon-900);
  border: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}

/* ================== HERO ================== */
.hero {
  position: relative;
  margin: 14px 14px 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 0%, rgba(212,169,63,.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(212,169,63,.12), transparent 60%),
    linear-gradient(160deg, var(--maroon-800) 0%, var(--maroon-900) 60%, #2e0810 100%);
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23d4a93f' stroke-width='.6' stroke-opacity='.18'><path d='M40 4 L60 20 L60 60 L40 76 L20 60 L20 20 Z'/><path d='M40 14 L52 24 L52 56 L40 66 L28 56 L28 24 Z'/><circle cx='40' cy='40' r='6'/></g></svg>");
  opacity: 0.7;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding: 32px 22px 36px;
  display: grid;
  gap: 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 9vw, 64px);
  line-height: 1.02;
  margin: 0;
  color: var(--gold-400);
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  display: block;
  font-size: 0.55em;
  color: white;
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.hero__sub {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  max-width: 520px;
  margin: 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.stat-card {
  background: rgba(255,255,255,.95);
  color: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.stat-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stat-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gold-50);
  color: var(--gold-700);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.stat-card__lbl {
  font-size: 11.5px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.stat-card__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--maroon-800);
  line-height: 1;
}
.stat-card__val small {
  color: var(--ink-400);
  font-weight: 500;
  font-size: 13px;
  font-family: var(--font-body);
}
.stat-card__bar {
  height: 6px;
  background: var(--cream-200);
  border-radius: 999px;
  overflow: hidden;
}
.stat-card__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
  border-radius: 999px;
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}
.stat-card__pct {
  font-size: 11px;
  color: var(--ink-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__cta {
  align-self: start;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--maroon-900);
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(212,169,63,.4), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero__cta:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(212,169,63,.5); }
.hero__cta svg { width: 18px; height: 18px; }

@media (min-width: 720px) {
  .hero { margin: 18px 18px 0; }
  .hero__inner { padding: 56px 48px 60px; gap: 28px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); max-width: none; width: 100%; }
}
@media (min-width: 1000px) {
  .hero__inner { padding: 72px 64px 80px; }
}

/* ================== HERO IMAGE BLOCK ================== */
.hero-image {
  position: relative;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #b8a07a 0%, #8b6f4e 100%);
  display: grid;
  place-items: center;
  margin-top: 8px;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 12px, transparent 12px 24px);
}
.hero-image__label {
  position: relative;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.25);
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

/* ================== SECTIONS ================== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 18px;
}
.section__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-700);
  font-weight: 600;
  text-align: center;
  margin: 0;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 5vw, 38px);
  text-align: center;
  margin: 6px 0 28px;
  color: var(--maroon-800);
  line-height: 1.15;
}
.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold-500);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* keutamaan cards */
.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: white;
  border: 1px solid rgba(138,26,46,.08);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gold-50);
  color: var(--gold-700);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--maroon-800);
  margin: 0 0 6px;
}
.feature-card__body {
  font-size: 13.5px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.55;
}

/* dalil cards */
.dalil-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .dalil-grid { grid-template-columns: 1fr 1fr; }
}
.dalil-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  position: relative;
}
.dalil-card__arabic {
  font-family: var(--font-arabic);
  font-size: clamp(22px, 5vw, 30px);
  color: var(--maroon-800);
  direction: rtl;
  line-height: 2;
  margin: 0 0 14px;
}
.dalil-card__source {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-700);
  margin: 0 0 6px;
}
.dalil-card__trans {
  font-size: 13px;
  color: var(--ink-500);
  font-style: italic;
  margin: 0;
}

/* ================== FOOTER ================== */
.footer {
  background: var(--maroon-900);
  color: rgba(255,255,255,.75);
  padding: 32px 18px;
  margin-top: 48px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600), var(--gold-400));
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand .brand__name { color: var(--gold-400); }
.footer__brand .brand__sub { color: rgba(255,255,255,.55); }
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  width: 100%;
}

/* ================== FLOATING CTA ================== */
.fab-wrap {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.fab-wrap > * { pointer-events: auto; }

.fab-bar {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
  color: white;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(138,26,46,.08);
  border: 1px solid rgba(212,169,63,.3);
}
.fab-bar__txt {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.fab-bar__txt small {
  display: block;
  font-size: 10.5px;
  color: rgba(255,255,255,.7);
  margin-top: 1px;
}
.fab-bar__btn {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--maroon-900);
  border: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.fab-bar__btn svg { width: 14px; height: 14px; }

@media (max-width: 480px) {
  .fab-wrap { left: 12px; right: 12px; align-items: stretch; bottom: 12px; }
  .fab-bar { width: 100%; justify-content: space-between; padding: 12px 12px 12px 18px; }
}

/* ================== PILIH SLOT PAGE ================== */
.slot-hero {
  margin: 14px 14px 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(212,169,63,.18), transparent 50%),
    linear-gradient(160deg, var(--maroon-800), var(--maroon-900) 70%, #2e0810);
  color: white;
  padding: 28px 20px 32px;
  position: relative;
  overflow: hidden;
}
.slot-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%23d4a93f' stroke-width='.5' stroke-opacity='.16'><polygon points='50,10 75,25 75,75 50,90 25,75 25,25'/><polygon points='50,20 65,30 65,70 50,80 35,70 35,30'/><circle cx='50' cy='50' r='8'/></g></svg>");
  opacity: .7;
  pointer-events: none;
}
.slot-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.slot-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 7vw, 48px);
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--gold-400);
}
.slot-hero__title em {
  display: block;
  font-style: normal;
  font-size: 0.55em;
  font-weight: 500;
  color: white;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.slot-hero__resume {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .slot-hero__resume { grid-template-columns: repeat(3, 1fr); } }

.slot-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--maroon-900);
  border: none;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  margin-top: 18px;
  box-shadow: 0 12px 28px rgba(212,169,63,.35), inset 0 1px 0 rgba(255,255,255,.4);
}

/* filter pill */
.type-filter {
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding: 0 18px;
  display: flex;
  justify-content: center;
}
.type-filter__inner {
  display: inline-flex;
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}
.type-filter__btn {
  background: transparent;
  border: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all .2s ease;
  white-space: nowrap;
}
.type-filter__btn[aria-selected="false"] { color: var(--ink-500); }
.type-filter__btn svg { width: 16px; height: 16px; }
.type-filter__btn[aria-selected="true"] {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-800));
  color: white;
  box-shadow: 0 4px 10px rgba(138,26,46,.25);
}
.type-filter__btn:not([aria-selected="true"]):hover { color: var(--maroon-700); }

/* slot grid (sapi) */
.slot-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 18px 60px;
}
.slot-section__heading {
  text-align: center;
  margin-bottom: 24px;
}
.slot-section__eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 600;
}
.slot-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 5vw, 34px);
  color: var(--maroon-800);
  margin: 4px 0 0;
}

.slot-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.slot-card {
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.slot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 144, 47, .35);
}
.slot-card.is-full {
  opacity: 0.62;
  filter: grayscale(0.4);
}
.slot-card__media {
  height: 110px;
  background: linear-gradient(135deg, #a07a52 0%, #6f4f30 100%);
  position: relative;
  overflow: hidden;
}
.slot-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 8px, transparent 8px 16px);
}
.slot-card__media-label {
  position: absolute;
  bottom: 6px; left: 6px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 9.5px;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.35);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.slot-card.is-full .slot-card__media::after {
  content: "PENUH";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(31,26,20,.55);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2em;
}
.slot-card__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.slot-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--maroon-800);
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slot-card__name span:last-child {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--cream-100);
  padding: 2px 8px;
  border-radius: 999px;
}
.slot-card__bar {
  height: 5px;
  background: var(--cream-200);
  border-radius: 999px;
  overflow: hidden;
}
.slot-card__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
  border-radius: 999px;
}
.slot-card__price {
  font-size: 12px;
  color: var(--ink-700);
  font-weight: 600;
}
.slot-card__price small { color: var(--ink-400); font-weight: 500; }
.slot-card__btn {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-800));
  color: white;
  border: none;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12.5px;
  margin-top: auto;
  transition: transform .15s ease;
}
.slot-card__btn:hover { transform: translateY(-1px); }
.slot-card__btn[disabled] {
  background: var(--cream-200);
  color: var(--ink-400);
  cursor: not-allowed;
}

/* slot kambing icon grid */
.kambing-board {
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow-sm);
}
.kambing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 6px;
}
.kambing-cell {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--cream-100);
  display: grid;
  place-items: center;
  color: var(--cream-200);
  cursor: pointer;
  transition: all .15s ease;
  position: relative;
  border: 1px solid transparent;
}
.kambing-cell:hover { transform: scale(1.08); }
.kambing-cell svg { width: 70%; height: 70%; }
.kambing-cell--avail {
  color: var(--gold-600);
  background: var(--gold-50);
  border-color: rgba(184,144,47,.2);
}
.kambing-cell--avail:hover {
  background: var(--gold-100);
  border-color: var(--gold-500);
}
.kambing-cell--full {
  background: var(--cream-100);
  color: var(--ink-300);
  cursor: not-allowed;
}
.kambing-cell--full:hover { transform: none; }
.kambing-cell--selected {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-800));
  color: var(--gold-400);
  border-color: var(--gold-500);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(138,26,46,.3);
}
.kambing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-200);
  flex-wrap: wrap;
  gap: 12px;
}
.kambing-meta__avail {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--maroon-800);
}
.kambing-meta__avail small {
  font-family: var(--font-body);
  color: var(--ink-400);
  font-weight: 500;
  font-size: 13px;
}
.kambing-legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-500);
  flex-wrap: wrap;
}
.kambing-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kambing-legend i {
  width: 12px; height: 12px;
  border-radius: 4px;
  display: inline-block;
}

/* titip potong */
.titip-card {
  background: linear-gradient(135deg, var(--cream-100), var(--gold-50));
  border: 1px solid var(--gold-100);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.titip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23b8902f' stroke-width='.4' stroke-opacity='.18'><polygon points='30,8 45,18 45,42 30,52 15,42 15,18'/></g></svg>");
  opacity: .6;
  pointer-events: none;
}
.titip-card__icon {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  color: var(--gold-700);
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}
.titip-card__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--maroon-800);
  margin: 0 0 6px;
}
.titip-card__desc {
  position: relative;
  font-size: 13.5px;
  color: var(--ink-500);
  max-width: 460px;
  margin: 0 auto 18px;
  line-height: 1.6;
}
.titip-card__price {
  position: relative;
  font-size: 13px;
  color: var(--ink-700);
  margin-bottom: 16px;
  font-weight: 600;
}
.titip-card__price small { font-weight: 500; color: var(--ink-400); }
.titip-card__btn {
  position: relative;
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-800));
  color: white;
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(138,26,46,.28);
}

/* ================== FORM PAGE ================== */
.form-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 18px 80px;
}
.form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--maroon-700);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 0;
  margin-bottom: 6px;
}
.form-back svg { width: 16px; height: 16px; }
.form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 5vw, 32px);
  color: var(--maroon-800);
  margin: 4px 0 4px;
}
.form-sub {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0 0 22px;
}

.summary-card {
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-900));
  color: white;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23d4a93f' stroke-width='.5' stroke-opacity='.18'><polygon points='30,8 45,18 45,42 30,52 15,42 15,18'/></g></svg>");
  opacity: .7;
}
.summary-card > * { position: relative; }
.summary-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(212,169,63,.2);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.summary-card__lbl {
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.summary-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-400);
  margin: 2px 0;
}
.summary-card__price { font-size: 13px; color: rgba(255,255,255,.85); }

.form-step {
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  margin-bottom: 16px;
}
.form-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.form-step__num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.form-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--maroon-800);
  margin: 0;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--cream-200);
  background: var(--cream-50);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink-900);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold-500);
  background: white;
}
.field textarea { min-height: 80px; resize: vertical; }
.field__hint { font-size: 11.5px; color: var(--ink-400); }

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}
.btn-secondary {
  background: white;
  color: var(--maroon-700);
  border: 1px solid var(--cream-200);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-800));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(138,26,46,.25);
}

/* ============== HEWAN HERO (form page) ============== */
.hewan-hero {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-900));
  color: white;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  align-items: center;
}
.hewan-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23d4a93f' stroke-width='.5' stroke-opacity='.18'><polygon points='30,8 45,18 45,42 30,52 15,42 15,18'/></g></svg>");
  opacity: .55;
  pointer-events: none;
}
.hewan-hero > * { position: relative; }
.hewan-hero__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(135deg, #b8a07a, #6f4f30);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
@media (max-width: 539px) {
  .hewan-hero { flex-direction: column; align-items: stretch; }
  .hewan-hero__media { width: 100%; }
}
@media (min-width: 540px) {
  .hewan-hero__media {
    width: 240px;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
.hewan-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 8px, transparent 8px 16px);
}
.hewan-hero__placeholder {
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.35);
  padding: 3px 6px;
  border-radius: 4px;
  text-align: center;
  letter-spacing: 0.04em;
}
.hewan-hero__icon {
  color: var(--gold-400);
  opacity: .85;
  position: relative;
  z-index: 1;
}
.hewan-hero__info { flex: 1; min-width: 0; }
.hewan-hero__type {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
.hewan-hero__slot {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--gold-400);
  margin: 4px 0 8px;
  line-height: 1.15;
}
.hewan-hero__price {
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.hewan-hero__price strong {
  color: white;
  font-weight: 700;
  margin-left: 4px;
}

/* ============== RADIO PILLS ============== */
.radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-pill {
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  color: var(--ink-700);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .15s ease;
  font-family: inherit;
}
.radio-pill:hover { border-color: var(--gold-500); }
.radio-pill.is-active {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-800));
  color: white;
  border-color: var(--maroon-800);
  box-shadow: 0 4px 10px rgba(138,26,46,.25);
}

/* ============== SAPI SLOTS ============== */
.form-step__desc {
  font-size: 13px;
  color: var(--ink-500);
  margin: -6px 0 14px;
  line-height: 1.55;
}
.sapi-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sapi-slot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: 10px;
  padding: 8px 12px 8px 8px;
  position: relative;
}
.sapi-slot-row__num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--cream-200);
  color: var(--ink-500);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.sapi-slot-row input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  outline: none;
  font-family: inherit;
  min-width: 0;
}
.sapi-slot-row input:disabled {
  color: var(--ink-700);
  -webkit-text-fill-color: var(--ink-700);
  opacity: 1;
}
.sapi-slot-row__badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold-500);
  color: white;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.sapi-slot-row__badge--filled {
  background: var(--cream-200);
  color: var(--ink-500);
}
.sapi-slot-row.is-me {
  background: var(--gold-50);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212,169,63,.15);
}
.sapi-slot-row.is-me .sapi-slot-row__num {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: white;
  border-color: transparent;
}
.sapi-slot-row.is-filled {
  background: white;
}
.sapi-slot-row.is-filled .sapi-slot-row__num {
  background: var(--maroon-50);
  border-color: var(--maroon-50);
  color: var(--maroon-700);
}

/* ============== TOTAL CARD ============== */
.total-card {
  background: linear-gradient(135deg, var(--cream-100), var(--gold-50));
  border: 1.5px solid var(--gold-100);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.total-card__lbl {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.total-card__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--maroon-800);
  margin: 4px 0 4px;
  line-height: 1;
}
.total-card__break {
  font-size: 12px;
  color: var(--ink-500);
}

/* ============== REKENING ============== */
.rek-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.rek-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: 10px;
  padding: 10px 12px 10px 14px;
}
.rek-card__bank-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--maroon-700);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.rek-card__nomor {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.04em;
}
.rek-card__an {
  font-size: 11.5px;
  color: var(--ink-500);
  margin-top: 2px;
}
.rek-card__copy {
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  color: var(--maroon-700);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.rek-card__copy:hover { background: var(--gold-50); border-color: var(--gold-500); }

/* ============== DISCLAIMER ============== */
.disclaimer {
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-left: 3px solid var(--gold-500);
  border-radius: 10px;
  padding: 14px 16px;
}
.disclaimer__head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--maroon-800);
  margin-bottom: 8px;
}
.disclaimer ol {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.6;
}
.disclaimer ol li { margin-bottom: 4px; }

/* ============== PAY TAHAP ============== */
.pay-tahap {
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: 10px;
  padding: 14px 14px 12px;
  margin-bottom: 12px;
}
.pay-tahap__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--cream-200);
}
.pay-tahap__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--maroon-800);
}
.pay-tahap__amount {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
}
.pay-tahap__today {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-tahap__upload {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pay-tahap__upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px dashed var(--gold-500);
  color: var(--maroon-700);
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.pay-tahap__upload-btn:hover { background: var(--gold-50); }
.pay-tahap__file {
  font-size: 12px;
  color: var(--ink-500);
}
.pay-tahap__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  align-self: flex-start;
}
.pay-tahap__status i {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.pay-tahap__status--pending { background: var(--cream-100); color: var(--ink-500); }
.pay-tahap__status--pending i { background: var(--ink-400); }
.pay-tahap__status--submitted { background: #fff5e0; color: #8a6a1f; }
.pay-tahap__status--submitted i { background: var(--gold-600); animation: pulse 1.4s infinite; }
.pay-tahap__status--verified { background: var(--green-100); color: var(--green-700); }
.pay-tahap__status--verified i { background: var(--green-700); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.pay-tahap__future {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-500);
  background: white;
  border: 1px solid var(--cream-200);
  padding: 8px 10px;
  border-radius: 8px;
}

.btn-print {
  width: 100%;
  margin-top: 12px;
  background: white;
  border: 1.5px solid var(--maroon-700);
  color: var(--maroon-700);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-print svg { width: 16px; height: 16px; }
.btn-print:hover { background: var(--maroon-50); }

/* MUDOHI STEPPER */
.mudohi-stepper {
  display: inline-flex; align-items: center;
  background: white; border: 1.5px solid var(--cream-200);
  border-radius: 999px; padding: 4px; gap: 4px; align-self: flex-start;
}
.mudohi-stepper button {
  width: 36px; height: 36px; border: none;
  background: var(--cream-100); color: var(--maroon-700);
  font-size: 18px; font-weight: 700; border-radius: 50%; cursor: pointer;
  transition: all .15s ease;
}
.mudohi-stepper button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-800));
  color: white;
}
.mudohi-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.mudohi-stepper__val {
  min-width: 90px; text-align: center;
  display: flex; flex-direction: column; line-height: 1.1; padding: 0 6px;
}
.mudohi-stepper__val strong {
  font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--maroon-800);
}
.mudohi-stepper__val small { font-size: 11px; color: var(--ink-500); font-weight: 500; }

/* MUDOHI LIST */
.mudohi-list { display: flex; flex-direction: column; gap: 8px; }
.mudohi-row {
  display: flex; align-items: stretch; gap: 10px;
  background: var(--cream-50); border: 1px solid var(--cream-200);
  border-radius: 10px; padding: 10px;
}
.mudohi-row__num {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: white; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0; align-self: center;
}
.mudohi-row__fields {
  display: grid; grid-template-columns: 1fr 130px; gap: 8px; flex: 1; min-width: 0;
}
.mudohi-row__fields input, .mudohi-row__fields select {
  width: 100%; border: 1px solid var(--cream-200); background: white;
  border-radius: 8px; padding: 9px 11px; font-size: 13.5px;
  font-family: inherit; color: var(--ink-900); outline: none;
}
.mudohi-row__fields input:focus, .mudohi-row__fields select:focus { border-color: var(--gold-500); }
@media (max-width: 480px) { .mudohi-row__fields { grid-template-columns: 1fr; } }

/* DISTRIBUTION PREVIEW */
.distribution {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--cream-100), var(--gold-50));
  border: 1px solid var(--gold-100); border-radius: 12px; padding: 14px 16px;
}
.distribution__head {
  display: flex; align-items: center; gap: 8px;
  color: var(--maroon-800); margin-bottom: 10px; font-size: 13.5px;
}
.distribution__warn {
  background: #ffe6e0; color: #8a1a2e; padding: 8px 10px;
  border-radius: 8px; font-size: 12.5px; margin-bottom: 10px;
}
.distribution__list { display: flex; flex-direction: column; gap: 8px; }
.distribution__item {
  background: white; border: 1px solid var(--cream-200);
  border-radius: 8px; padding: 10px 12px;
}
.distribution__title {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--maroon-800); margin-bottom: 6px;
}
.distribution__count {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  background: var(--gold-500); color: white;
  padding: 2px 8px; border-radius: 999px;
}
.distribution__names {
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  font-size: 12px; color: var(--ink-700);
}
.distribution__names span {
  background: var(--cream-50); border: 1px solid var(--cream-200);
  padding: 2px 8px; border-radius: 6px;
}

/* success */
.success-card {
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  margin: 24px auto;
  max-width: 480px;
  box-shadow: var(--shadow-md);
}
.success-card__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.success-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--maroon-800);
  margin: 0 0 6px;
}
.success-card__desc {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0 0 8px;
}
.success-card__code {
  display: inline-block;
  background: var(--cream-100);
  color: var(--maroon-800);
  font-family: ui-monospace, monospace;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  margin: 14px 0 4px;
  letter-spacing: 0.06em;
}

/* helpers */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold-500);
  margin: 36px 0 24px;
}
.divider-ornament i {
  display: block;
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.divider-ornament svg { width: 20px; height: 20px; }

/* ================== LIGHTBOX ================== */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  cursor: zoom-out;
}
.lightbox-overlay img {
  max-width: 100%; max-height: 100vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: fixed; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: white; font-size: 20px; cursor: pointer;
  display: grid; place-items: center;
}

/* ================== PRINT RECEIPT ================== */
.print-only { display: none !important; }
.no-print {}

/* ── Upload loading overlay ── */
body.is-uploading::after {
  content: '';
  position: fixed; inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 9999;
  cursor: wait;
  display: flex; align-items: center; justify-content: center;
}
body.is-uploading::before {
  content: 'Mengupload…';
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  background: #fff;
  color: var(--maroon-800);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  pointer-events: none;
}
body.is-uploading * { pointer-events: none !important; }
body.is-uploading { cursor: wait; }

@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  /* Hide everything except the receipt */
  .nav, .footer, .hero, .slot-hero, .fab-wrap,
  .form-back, .form-sub, .btn-print, .btn-primary, .btn-secondary,
  .hewan-hero, .form-step, .no-print,
  .tweaks-panel, .lightbox-overlay,
  .nav__dropdown { display: none !important; }

  .app { background: white !important; }
  .form-shell { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }

  /* Show receipt header (hidden on screen) */
  .print-only { display: block !important; }
  .print-header { margin-bottom: 20px; border-bottom: 2px solid #8a1a2e; padding-bottom: 12px; }
  .print-header__top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
  .print-header__logo { width: 48px; height: 48px; object-fit: contain; }
  .print-header__title { font-size: 18px; font-weight: 700; color: #8a1a2e; margin: 0; }
  .print-header__sub { font-size: 12px; color: #666; margin: 2px 0 0; }
  .print-header__resi { font-size: 11px; color: #666; text-align: right; }

  /* Payment status colors */
  .pay-tahap__status--verified { color: #2f7d3e !important; }
  .pay-tahap__status--submitted { color: #8a6a1f !important; }
  .pay-tahap__status--rejected { color: #8a1a2e !important; }
  .pay-tahap__status--pending { color: #666 !important; }

  /* Print-specific receipt table */
  .print-receipt-table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 8px 0; }
  .print-receipt-table th {
    background: #f5f0e8; text-align: left; padding: 6px 8px;
    border: 1px solid #ddd; font-size: 11px;
  }
  .print-receipt-table td { padding: 6px 8px; border: 1px solid #ddd; }
  .print-receipt-table tr:nth-child(even) td { background: #fafafa; }

  .print-footer {
    margin-top: 20px; border-top: 1px solid #ddd; padding-top: 10px;
    font-size: 10.5px; color: #888; text-align: center;
  }
}
