/* ─── Pensisru Registration Form (file/class tetap spmb-*, lihat CLAUDE.md) ─ */

.reg { max-width: 760px; margin-inline: auto; }

.stepper {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.stepper__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.stepper__bar {
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--color-neutral-100);
  overflow: hidden;
}
.stepper__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-gold-600);
  transition: width 0.4s ease;
}
.stepper__item.done .stepper__bar i,
.stepper__item.active .stepper__bar i { width: 100%; }

.stepper__lbl {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: var(--font-weight-medium);
}
.stepper__item.active .stepper__lbl,
.stepper__item.done .stepper__lbl { color: var(--color-navy-primary); }

.reg-step { display: none; }
.reg-step.active { display: block; }

.reg-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.review-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: var(--text-sm);
}
.review-row span:first-child { color: var(--color-text-muted); }

.done-card {
  text-align: center;
  padding: var(--space-12) var(--space-6);
}
.done-card .check {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--color-success-bg, #dcfce7);
  color: var(--color-success-bold, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stepper__lbl { font-size: 10px; }
}

.status-wrap { max-width: 640px; margin-inline: auto; }
.status-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-2); }
.status-result { display: block; }

/* ─── Hero Carousel ─────────────────────────────────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.hero-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-carousel__placeholder {
  flex: 0 0 100%;
  min-height: 340px;
  border-radius: var(--radius-lg);
}
.hero-carousel__dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
}
.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.hero-carousel__dot.active {
  background: #fff;
}
.hero-carousel__prev,
.hero-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.hero-carousel__prev { left: var(--space-3); }
.hero-carousel__next { right: var(--space-3); }
.hero-carousel__prev:hover,
.hero-carousel__next:hover { background: rgba(0,0,0,0.6); }

#heroCarousel { visibility: hidden; }

/* ─── Biaya Carousel ─────────────────────────────── */
.biaya-carousel {
  overflow: hidden;
  position: relative;
}
.biaya-carousel__tabs {
  display: flex;
  border-bottom: 2px solid var(--color-neutral-200);
  margin-bottom: var(--space-5);
  gap: 0;
}
.biaya-carousel__tab {
  padding: var(--space-3) var(--space-6);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.biaya-carousel__tab.active {
  color: var(--color-navy-primary);
  border-bottom-color: var(--color-navy-primary);
}
.biaya-carousel__tab:hover:not(.active) {
  color: var(--color-navy-700);
}
.biaya-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}
.biaya-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}
.biaya-table thead th {
  background: var(--color-navy-primary);
  color: #fff;
  white-space: nowrap;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
}
.biaya-table td {
  font-size: var(--text-sm);
  white-space: nowrap;
  padding: var(--space-2) var(--space-3);
}
tr.biaya-total td {
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-primary);
  border-top: 2px solid var(--color-navy-200);
}