/* ═══════════════════════════════════════════════════
   REGISTRATION PAGE STYLES — Travel Haji
   Berisi gaya untuk formulir pendaftaran jemaah.
   Variabel :root diinjeksi secara dinamis dari Blade.
   ═══════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--gray-900);
  min-height: 100vh;
}

/* ── TOPBAR ── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--g600), var(--g800));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(22,163,74,0.3);
}
.brand-mark svg { width: 20px; height: 20px; }

.brand-name { font-size: 13.5px; font-weight: 700; color: var(--g800); line-height: 1.3; }
.brand-loc  { font-size: 11px; color: var(--gray-500); font-weight: 400; }

.back-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--g700);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--g100);
  background: var(--g50);
  transition: all 0.18s;
}
.back-link:hover { background: var(--g100); border-color: var(--g600); }
.back-link svg { width: 16px; height: 16px; }

/* ── HERO BANNER ── */
.hero {
  background: linear-gradient(160deg, var(--g800) 0%, var(--g900) 55%, #030f07 100%);
  padding: 56px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(201,168,76,0.05)' stroke-width='1'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25'/%3E%3Cpolygon points='40,20 60,30 60,50 40,60 20,50 20,30'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(234,179,8,0.12);
  border: 1px solid rgba(234,179,8,0.3);
  color: var(--gold-bright);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }

.hero p {
  font-size: 16px; color: rgba(255,255,255,0.6);
  max-width: 500px; margin: 0 auto;
  line-height: 1.7; font-weight: 300;
}

/* Step progress */
.step-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 36px;
  position: relative; z-index: 1;
}

.step-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}

.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: all 0.3s;
}

.step-circle.done  { background: var(--g500); color: var(--g900); }
.step-circle.active { background: var(--gold-bright); color: var(--g900); box-shadow: 0 0 0 4px rgba(234,179,8,0.25); }
.step-circle.todo  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); border: 2px solid rgba(255,255,255,0.15); }

.step-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 500; white-space: nowrap; }
.step-label.active-lbl { color: var(--gold-bright); font-weight: 700; }

.step-line {
  width: 60px; height: 2px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.step-line.done { background: var(--g500); }

/* ── LAYOUT ── */
.page-wrap {
  max-width: 1100px;
  margin: -36px auto 0;
  padding: 0 28px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  animation: cardIn 0.6s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes cardIn {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}

.form-section-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--g50), #fff);
}

.section-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.section-icon.g { background: var(--g100); }
.section-icon.gold { background: var(--gold-light); }
.section-icon svg { width: 22px; height: 22px; }

.section-info .sec-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--g800); }
.section-info .sec-sub   { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

.form-body { padding: 32px; }

.field-grid { display: grid; gap: 20px; }
.field-grid.two-col { grid-template-columns: 1fr 1fr; }

.field-group { display: flex; flex-direction: column; gap: 8px; }

.field-label {
  font-size: 13.5px; font-weight: 600; color: var(--gray-700);
  display: flex; align-items: center; gap: 6px;
}

.required-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.field-hint { font-size: 11.5px; color: var(--gray-500); font-weight: 400; }

.input-wrap { position: relative; }

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: var(--gray-900);
  background: var(--cream);
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  outline: none;
  transition: all 0.2s;
  appearance: none;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: #c4c9d2; }

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--g600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.1);
}

.input-wrap input.error, .input-wrap select.error, .input-wrap textarea.error { border-color: var(--red); background: var(--red-light); }

.input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gray-500); pointer-events: none;
}
.input-icon svg { width: 17px; height: 17px; display: block; }
.input-wrap.has-icon input { padding-left: 42px; }

.input-wrap select { padding-right: 40px; cursor: pointer; }
.select-arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gray-500); pointer-events: none;
}

.input-wrap textarea { resize: vertical; min-height: 90px; }

/* Radio pill group */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }

.radio-pill input { display: none; }
.radio-pill label {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-300);
  font-size: 13.5px; font-weight: 500; color: var(--gray-700);
  cursor: pointer;
  transition: all 0.18s;
  background: var(--cream);
  user-select: none;
}
.radio-pill label:hover { border-color: var(--g600); color: var(--g700); background: var(--g50); }
.radio-pill input:checked + label {
  background: var(--g100);
  border-color: var(--g600);
  color: var(--g800);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(22,163,74,0.15);
}
.radio-pill label .pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-300); transition: background 0.18s;
}
.radio-pill input:checked + label .pill-dot { background: var(--g600); }

/* Section divider */
.section-divider {
  height: 1px; background: var(--gray-100);
  margin: 28px 0;
}

/* Form actions */
.form-actions {
  padding: 24px 32px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--gray-100);
}

.form-note {
  font-size: 12px; color: var(--gray-500);
  display: flex; align-items: center; gap: 6px;
}

.btn-submit {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--g600), var(--g800));
  color: white;
  border: none; border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(22,163,74,0.35);
  position: relative; overflow: hidden;
}
.btn-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22,163,74,0.45); }
.btn-submit:active { transform: translateY(0); }
.btn-submit svg { width: 18px; height: 18px; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Package summary card */
.pkg-summary {
  background: linear-gradient(160deg, var(--g800), var(--g900));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,74,47,0.3);
  animation: cardIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}

.pkg-header {
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.pkg-header::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(234,179,8,0.15), transparent);
}

.pkg-badge {
  display: inline-block;
  background: rgba(234,179,8,0.15);
  border: 1px solid rgba(234,179,8,0.3);
  color: var(--gold-bright);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  margin-bottom: 10px;
}

.pkg-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 6px;
}

.pkg-header .pkg-duration {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.pkg-header .pkg-duration svg { width: 14px; height: 14px; }

.pkg-price-row {
  padding: 16px 22px;
  display: flex; align-items: baseline; gap: 6px;
}
.pkg-price-row .price {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--gold-bright);
}
.pkg-price-row .unit { font-size: 13px; color: rgba(255,255,255,0.45); }

.pkg-features { padding: 0 22px 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pkg-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.pkg-feature .feat-check {
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(45,179,102,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pkg-feature .feat-check svg { width: 12px; height: 12px; color: var(--g500); }

/* Info card */
.info-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  overflow: hidden;
  animation: cardIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.18s both;
}

.info-card-header {
  padding: 16px 20px;
  background: var(--g50);
  border-bottom: 1px solid var(--g100);
  font-size: 14px; font-weight: 700; color: var(--g800);
  display: flex; align-items: center; gap: 8px;
}

.info-item {
  padding: 14px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.info-item:last-child { border-bottom: none; }
.info-item:hover { background: var(--g50); }

.info-item-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.info-item-icon.g    { background: var(--g100); }
.info-item-icon.gold { background: var(--gold-light); }
.info-item-icon.blue { background: #dbeafe; }
.info-item-icon svg  { width: 18px; height: 18px; }

.info-item-text .it-title { font-size: 13.5px; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.info-item-text .it-desc  { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* Contact floating */
.contact-card {
  background: linear-gradient(135deg, var(--gold-light), #fffbeb);
  border: 1.5px solid #fde68a;
  border-radius: 18px;
  padding: 18px 20px;
  animation: cardIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.26s both;
}

.contact-card h4 { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.contact-card h4 svg { width: 16px; height: 16px; }

.contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--gray-700); font-weight: 500;
  margin-bottom: 8px;
}
.contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 11px;
  background: #25d366;
  color: white; border: none; border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 700;
  cursor: pointer; margin-top: 12px;
  transition: all 0.18s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
  text-decoration: none;
}
.wa-btn:hover { background: #1fb556; transform: translateY(-1px); }
.wa-btn svg { width: 18px; height: 18px; }

/* Responsive */
@media (max-width: 820px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .field-grid.two-col { grid-template-columns: 1fr; }
  .topbar { padding: 0 16px; }
  .hero { padding: 40px 20px 60px; }
  .page-wrap { padding: 0 16px 48px; }
  .form-body { padding: 24px 20px; }
  .form-section-header { padding: 18px 20px; }
  .form-actions { padding: 18px 20px; flex-direction: column; align-items: stretch; }
  .btn-submit { justify-content: center; }
}

.help-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
}
