/* ============================================================
   Squid Game The Experiences Jakarta — Guest Service
   Tema: Squid Game (dark + pink + green)
   ============================================================ */

:root {
  --bg: #0c0e13;
  --bg-soft: #10131b;
  --surface: #151924;
  --surface-2: #1a1f2e;
  --line: rgba(255, 255, 255, 0.07);
  --text: #edeff5;
  --text-dim: #9aa1b5;

  --pink: #e4256b;
  --pink-soft: rgba(228, 37, 107, 0.14);
  --pink-line: rgba(228, 37, 107, 0.35);

  --green: #00c896;
  --green-soft: rgba(0, 200, 150, 0.13);

  --amber: #f2b33d;
  --amber-soft: rgba(242, 179, 61, 0.13);

  --grey-soft: rgba(154, 161, 181, 0.13);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --sidebar-w: 264px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(228, 37, 107, 0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(0, 200, 150, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.shape-circle   { color: var(--pink); }
.shape-triangle { color: var(--green); }
.shape-square   { color: #f0f2f8; }

/* ============ SIDEBAR ============ */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  z-index: 60;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 20px;
  border-bottom: 1px solid var(--line);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 17px; font-weight: 800; letter-spacing: 0.2px; }
.brand__text small { font-size: 11px; color: var(--text-dim); letter-spacing: 0.4px; text-transform: uppercase; }

.sidebar__nav { flex: 1; padding-top: 18px; overflow-y: auto; }

.nav__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 10px 10px;
}

.nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}

.nav__item svg { width: 20px; height: 20px; flex-shrink: 0; }

.nav__item:hover { background: rgba(255, 255, 255, 0.045); color: var(--text); }

.nav__item.is-active {
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--pink);
}

.sidebar__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 4px;
  border-top: 1px solid var(--line);
}

.footer__info { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.footer__info strong { font-size: 13px; font-weight: 600; }
.footer__info small { font-size: 11px; color: var(--text-dim); }

.dot-online {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.avatar {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.avatar--pink { background: var(--pink-soft); color: var(--pink); border: 1px solid var(--pink-line); }

/* ============ MAIN / TOPBAR ============ */
.main { margin-left: var(--sidebar-w); min-height: 100vh; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 30px;
  background: rgba(12, 14, 19, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__left { display: flex; align-items: center; gap: 10px; }
.topbar__page { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.topbar__right { display: flex; align-items: center; gap: 12px; }

.brand__mark { display: inline-flex; color: inherit; }
.brand__mark--sm { display: none; }

.clock-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
}
.clock-pill svg { color: var(--pink); }

/* ============ CONTENT ============ */
.content { max-width: 1360px; margin: 0 auto; padding: 28px 30px 60px; }

/* Welcome */
.welcome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin-bottom: 26px;
}

.welcome::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--pink), var(--green));
}

.welcome__text h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; }
.welcome__text h1 .accent { color: var(--pink); }
.welcome__text p { color: var(--text-dim); font-size: 13.5px; margin-top: 4px; }

.welcome__shapes { color: rgba(255, 255, 255, 0.18); flex-shrink: 0; }
.welcome__shapes .shape-circle,
.welcome__shapes .shape-triangle,
.welcome__shapes .shape-square { opacity: 0.55; }

/* ============ OPENING SHIFT ============ */
.shift-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
}
.shift-gate[hidden] { display: none; }

.shift-gate__card {
  width: min(460px, 100%);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(228, 37, 107, 0.18), transparent 60%),
    var(--surface);
  border: 1px solid rgba(228, 37, 107, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 32px;
}
.shift-gate__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-soft);
  border: 1px solid var(--pink-line);
  color: var(--pink);
}
.shift-gate__card h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.shift-gate__card p {
  margin: 8px auto 22px;
  max-width: 320px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.btn--shift {
  width: 100%;
  justify-content: center;
  background: var(--green-soft);
  border-color: rgba(0, 200, 150, 0.45);
  color: var(--green);
  font-size: 14px;
  padding: 13px 16px;
}
.btn--shift:hover { background: rgba(0, 200, 150, 0.22); }

.btn--close-shift {
  flex: 0 0 auto;
  justify-content: center;
  background: rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.45);
  color: #ff5a5f;
  font-size: 12.5px;
  padding: 9px 14px;
}
.btn--close-shift:hover { background: rgba(229, 57, 53, 0.22); }

/* ============ Sessions head ============ */
.sessions__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.sessions__head h2 { font-size: 18px; font-weight: 700; }
.sessions__sub { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }

/* Search / pilih sesi */
.session-search { position: relative; width: min(480px, 100%); }

.session-search__input {
  display: flex;
  align-items: center;
}
.session-search__input svg {
  position: absolute;
  margin-left: 12px;
  color: var(--text-dim);
  pointer-events: none;
}
.session-search__input input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 14px 10px 36px;
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
  appearance: none;
}
.session-search__input input::placeholder { color: var(--text-dim); font-weight: 500; }
.session-search__input input:focus { border-color: var(--pink-line); }

.fdrop__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 264px;
  max-width: min(320px, calc(100vw - 40px));
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--pink-line);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 6px;
  z-index: 80;
}
.fdrop__menu[hidden] { display: none; }

.fdrop__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s;
}
.fdrop__item:hover { background: rgba(255, 255, 255, 0.06); }
.fdrop__item b { font-size: 13.5px; letter-spacing: 0.03em; }
.fdrop__time {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.fdrop__empty {
  padding: 12px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* ============ GRID & CARDS ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  animation: cardIn 0.4s ease both;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.card__icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__icon svg { width: 19px; height: 19px; }

.card__label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.card__range {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

/* Kartu sesi yang sudah punya nomor terdaftar */
.card--registered {
  border-color: rgba(0, 200, 150, 0.55);
  background:
    linear-gradient(160deg, rgba(0, 200, 150, 0.15), rgba(0, 200, 150, 0.03) 55%),
    var(--surface);
  box-shadow: 0 12px 30px rgba(0, 200, 150, 0.12);
}
.card--registered .card__icon {
  border-color: rgba(0, 200, 150, 0.5);
  background: var(--green-soft);
}

/* Kartu sesi yang gelangnya sudah sesuai & dikembalikan */
.card--returned {
  border-color: rgba(228, 37, 107, 0.55);
  background:
    linear-gradient(160deg, rgba(228, 37, 107, 0.15), rgba(228, 37, 107, 0.03) 55%),
    var(--surface);
  box-shadow: 0 12px 30px rgba(228, 37, 107, 0.12);
}
.card--returned .card__icon {
  border-color: rgba(228, 37, 107, 0.5);
  background: var(--pink-soft);
}

.tag-wheelchair {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(0, 200, 150, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.progress {
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.progress__bar {
  height: 100%;
  border-radius: 999px;
  background: var(--card-accent, var(--green));
  transition: width 0.5s ease;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge--selesai     { background: var(--green-soft); color: var(--green); }
.badge--berlangsung { background: var(--pink-soft); color: var(--pink); }
.badge--penuh       { background: var(--amber-soft); color: var(--amber); }
.badge--terjadwal   { background: var(--grey-soft); color: var(--text-dim); }

.badge--berlangsung::before { animation: pulse 1.4s ease-in-out infinite; }

/* Empty state */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.empty[hidden] { display: none; }

/* ============ BOTTOM NAV (Mobile) ============ */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(16, 19, 27, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 9.5px;
  font-weight: 600;
  transition: color 0.18s, background 0.18s;
}
.bottom-nav__item svg { width: 21px; height: 21px; }
.bottom-nav__item.is-active { color: var(--pink); background: var(--pink-soft); }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 100;
  background: var(--surface-2);
  border: 1px solid var(--pink-line);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ============ ANIMATIONS ============ */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.75); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1023px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .bottom-nav { display: flex; }
  .brand__mark--sm { display: inline-flex; }
  .topbar { padding: 12px 18px; }
  .content { padding: 22px 18px 110px; }
  .toast { bottom: 86px; }
}

@media (max-width: 640px) {
  .welcome { padding: 20px; }
  .welcome__text h1 { font-size: 19px; }
  .welcome__shapes { display: none; }

  .sessions__head { align-items: flex-start; }
  .session-search { width: 100%; }

  .fdrop__menu {
    position: fixed;
    top: auto;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom) + 74px);
    max-width: none;
    max-height: 46vh;
  }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 14px; }
  .card__range { font-size: 16px; }
}

@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}



/* ============ HALAMAN: NOMOR GELANG PER SESI ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.btn--back { color: var(--text-dim); }
.btn--back:hover { color: var(--text); border-color: var(--pink-line); }

.btn--dc {
  margin-left: auto;
  background: var(--green-soft);
  border-color: rgba(0, 200, 150, 0.4);
  color: var(--green);
}
.btn--dc:hover { background: rgba(0, 200, 150, 0.22); }

.bs-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px 16px 24px;
  margin-bottom: 18px;
  overflow: hidden;
}
.bs-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--pink), var(--green));
}

.bs-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.bs-title b { font-size: 22px; color: var(--text); letter-spacing: 0.02em; }
.bs-time { font-size: 13.5px; color: var(--text-dim); font-weight: 600; }

.bs-stats {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.bs-stats b { color: var(--text); font-variant-numeric: tabular-nums; }

.bs-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 18px;
}
.bs-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.bs-panel__title { font-size: 15px; font-weight: 800; }

.bs-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--grey-soft);
  border-radius: 999px;
  padding: 4px 12px;
}
.bs-hint { font-size: 12.5px; color: var(--text-dim); }

.bs-registered {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
}
.bs-registered .bs-chip {
  flex: 0 0 68px;
  width: 68px;
  height: 52px;
  padding: 5px 4px;
}
.bs-empty { font-size: 13px; color: var(--text-dim); align-self: center; }

.bs-search {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  margin-left: auto;
  min-width: 240px;
  max-width: 540px;
}
.bs-search svg {
  position: absolute;
  margin-left: 12px;
  color: var(--text-dim);
  pointer-events: none;
}
.bs-search input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 14px 10px 36px;
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
  appearance: none;
}
.bs-search input::placeholder { color: var(--text-dim); font-weight: 500; }
.bs-search input:focus { border-color: var(--pink-line); }

.bs-pool {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
}

.bs-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 5px 4px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  user-select: none;
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
}
.bs-chip__num {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: color 0.15s;
}
.bs-chip--free { cursor: pointer; }
.bs-chip--free .bs-chip__num { cursor: pointer; }
.bs-chip--free:hover { border-color: var(--pink-line); }
.bs-chip--free:hover .bs-chip__num { color: var(--pink); }

.bs-chip--mine {
  background: var(--green-soft);
  border-color: rgba(0, 200, 150, 0.45);
  cursor: pointer;
}
.bs-chip--mine .bs-chip__num { color: var(--green); }

.bs-chip--locked { opacity: 0.4; cursor: not-allowed; }
.bs-chip--locked .bs-chip__num {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 780px) {
  .bs-head { padding: 14px 16px; gap: 12px; }
  .bs-stats { order: 4; width: 100%; }
  .btn--dc { margin-left: 0; width: 100%; justify-content: center; }
  .bs-panel { padding: 16px; }
  .bs-panel__head { gap: 10px; }
  .bs-search { width: 100%; margin-left: 0; }
  .bs-search input { width: 100%; }
  .bs-pool { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
}



/* ============ HALAMAN: FRONT OF HOUSE ============ */
.foh-head {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 18px;
}
.foh-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
}
.foh-head--foh { border-color: rgba(228, 37, 107, 0.4); }
.foh-head--dc { border-color: rgba(0, 200, 150, 0.45); }
.foh-head__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foh-head--foh .foh-head__icon {
  background: var(--pink-soft);
  color: var(--pink);
  border: 1px solid var(--pink-line);
}
.foh-head--dc .foh-head__icon {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(0, 200, 150, 0.45);
}
.badge--foh { background: var(--pink-soft); color: var(--pink); border: 1px solid var(--pink-line); }
.badge--dc { background: var(--green-soft); color: var(--green); border: 1px solid rgba(0, 200, 150, 0.45); }
.foh-head--foh .foh-sub b { color: var(--pink); }
.foh-head--dc .foh-sub b { color: var(--green); }

.foh-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-dim);
  max-width: 660px;
}

.foh-session {
  background: var(--surface);
  border: 1px solid rgba(0, 200, 150, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin-bottom: 14px;
}
#page-foh .foh-session { border-color: rgba(228, 37, 107, 0.3); }
#page-foh .foh-session__no { color: var(--pink); }
#page-dcgelang .foh-session__no { color: var(--green); }
#page-foh .foh-pill {
  color: var(--pink);
  background: var(--pink-soft);
  border: 1px solid var(--pink-line);
}
.foh-session__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.foh-session__no { font-size: 14px; font-weight: 800; letter-spacing: 0.05em; }
.foh-session__time { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.foh-pill {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(0, 200, 150, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
}
.foh-session__nums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.foh-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s;
}
.foh-check input { position: absolute; opacity: 0; pointer-events: none; }
.foh-check__box {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.foh-check__num {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.foh-check:hover { border-color: var(--pink-line); }
.foh-check input:checked ~ .foh-check__box {
  background: var(--green);
  border-color: var(--green);
}
.foh-check input:checked ~ .foh-check__box::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #0c0e13;
  border-bottom: 2px solid #0c0e13;
  transform: rotate(-45deg) translate(1px, -1px);
}
#page-foh .foh-check input:checked ~ .foh-check__box {
  background: var(--pink);
  border-color: var(--pink);
}
#page-foh .foh-check { padding: 14px 16px; gap: 12px; border-radius: 11px; }
#page-foh .foh-check__box { width: 22px; height: 22px; border-radius: 6px; }
#page-foh .foh-check__num { font-size: 22px; }
#page-foh .foh-check input:checked ~ .foh-check__box::after {
  width: 11px;
  height: 6px;
  border-width: 2.5px;
}
#page-foh .foh-session__nums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
#page-foh .foh-hint { font-size: 13px; }
#page-foh .foh-check.is-checked { border-color: rgba(228, 37, 107, 0.5); }
#page-dcgelang .foh-check { padding: 10px 14px; gap: 10px; border-radius: 9px; }
#page-dcgelang .foh-check__box { width: 18px; height: 18px; border-radius: 5px; }
#page-dcgelang .foh-check__num { font-size: 18px; }
#page-dcgelang .foh-session__nums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
}
#page-dcgelang .foh-check.is-checked { border-color: rgba(0, 200, 150, 0.5); }

.foh-session__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.foh-hint { font-size: 12.5px; color: var(--text-dim); }

.btn--done {
  margin-left: auto;
  background: var(--green-soft);
  border-color: rgba(0, 200, 150, 0.45);
  color: var(--green);
}
.btn--done:not(:disabled):hover { background: rgba(0, 200, 150, 0.22); }
.btn--done:disabled { opacity: 0.35; cursor: not-allowed; }

.foh-empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13.5px;
}

/* Daftar sesi FOH (klik sesi → detail ceklis) */
.foh-listrow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid rgba(228, 37, 107, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  cursor: pointer;
  color: inherit;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.foh-listrow:hover { border-color: var(--pink-line); transform: translateY(-1px); }
.foh-listrow__no { font-weight: 800; font-size: 14px; letter-spacing: 0.05em; color: var(--pink); }
.foh-listrow__time { font-size: 13px; color: var(--text-dim); font-weight: 600; margin-left: 4px; }
.foh-listrow__count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-soft);
  border: 1px solid var(--pink-line);
  border-radius: 999px;
  padding: 4px 12px;
}
.foh-listrow__go { color: var(--pink); font-size: 18px; line-height: 1; }
.btn--foh-back { margin-bottom: 16px; }

/* ============ HALAMAN: HISTORY (riwayat pengembalian) ============ */
.h-row {
  background: var(--surface);
  border: 1px solid rgba(0, 200, 150, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.h-row__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.h-ses { font-size: 15px; font-weight: 800; letter-spacing: 0.05em; color: var(--green); }
.h-time { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.h-meta { margin-top: 8px; font-size: 12.5px; color: var(--text-dim); }

@media (max-width: 780px) {
  .foh-head { padding: 16px; }
  .foh-session { padding: 14px 14px; }
  .foh-pill { margin-left: 0; }
}
