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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f5f3ef;
  color: #1a1a1a;
  min-height: 100vh;
}

/* HEADER */
header {
  background: #1a1a1a;
  color: white;
  padding: 1rem 1.5rem;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto;
}
.logo-icon { font-size: 1.8rem; }
.logo-title { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.5px; }
.logo-sub { font-size: 0.75rem; color: #aaa; letter-spacing: 1px; }

/* PROGRESS */
.progress-wrap { height: 4px; background: #ddd; }
.progress-bar {
  height: 100%;
  background: #1D9E75;
  transition: width 0.4s ease;
  width: 0%;
}

/* CONTAINER */
.container {
  max-width: 560px;
  margin: 2rem auto;
  padding: 0 1rem 4rem;
}

/* STEPS */
.step { display: none; animation: fadeIn 0.3s ease; }
.step.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-sub { color: #666; margin-bottom: 1.5rem; font-size: 0.9rem; }

/* BAHASA */
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.lang-btn {
  padding: 1rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.15s;
}
.lang-btn:hover { border-color: #1D9E75; background: #f0fdf7; }

/* FIELDS */
.field-group { margin-bottom: 1rem; }
.field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.3rem;
}
.field-group input,
.field-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  background: white;
  transition: border 0.15s;
}
.field-group input:focus,
.field-group select:focus { border-color: #1D9E75; outline: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.radio-row { display: flex; gap: 1.5rem; margin-top: 0.3rem; }
.radio-row label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; font-size: 0.95rem; }

.info-box {
  background: #f0fdf7;
  border: 1px solid #9FE1CB;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: #085041;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* GUEST CARD */
.guest-card {
  background: white;
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.guest-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1D9E75;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

/* BUTTONS */
.btn-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.btn-pri {
  flex: 1;
  padding: 0.8rem;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-pri:hover { background: #333; }
.btn-pri:disabled { background: #aaa; cursor: not-allowed; }
.btn-sec {
  padding: 0.8rem 1.2rem;
  background: white;
  color: #444;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-sec:hover { background: #f5f5f5; }

/* SUMMARY */
.summary-box {
  background: white;
  border: 1.5px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.sum-section { padding: 0.75rem 1rem; border-bottom: 1px solid #f0f0f0; }
.sum-section:last-child { border-bottom: none; }
.sum-row { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 0.9rem; }
.sum-row span:first-child { color: #666; }
.sum-row span:last-child { font-weight: 500; }

.checkbox-wrap { margin-bottom: 1rem; }
.checkbox-wrap label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.4;
}

/* SUKSES */
.success-icon {
  width: 64px; height: 64px;
  background: #1D9E75;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: white;
  margin: 1.5rem auto 1rem;
}

.reg-id-box {
  background: white;
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.reg-id-label { font-size: 0.8rem; color: #666; margin-bottom: 0.3rem; }
.reg-id-value { font-size: 1.3rem; font-weight: 700; color: #1D9E75; letter-spacing: 1px; }

.wa-btn {
  display: block;
  text-align: center;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 0.75rem;
}
.wa-btn:hover { background: #20ba5a; }

/* LOADING */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 999; gap: 1rem;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid #eee;
  border-top-color: #1D9E75;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f5f3ef;
  color: #1a1a1a;
  min-height: 100vh;
}

/* HEADER */
header {
  background: #1a1a1a;
  color: white;
  padding: 1rem 1.5rem;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto;
}
.logo-icon { font-size: 1.8rem; }
.logo-title { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.5px; }
.logo-sub { font-size: 0.75rem; color: #aaa; letter-spacing: 1px; }

/* PROGRESS */
.progress-wrap { height: 4px; background: #ddd; }
.progress-bar {
  height: 100%;
  background: #1D9E75;
  transition: width 0.4s ease;
  width: 0%;
}

/* CONTAINER */
.container {
  max-width: 560px;
  margin: 2rem auto;
  padding: 0 1rem 4rem;
}

/* STEPS */
.step { display: none; animation: fadeIn 0.3s ease; }
.step.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-sub { color: #666; margin-bottom: 1.5rem; font-size: 0.9rem; }

/* BAHASA */
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.lang-btn {
  padding: 1rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.15s;
}
.lang-btn:hover { border-color: #1D9E75; background: #f0fdf7; }

/* FIELDS */
.field-group { margin-bottom: 1rem; }
.field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.3rem;
}
.field-group input,
.field-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  background: white;
  transition: border 0.15s;
}
.field-group input:focus,
.field-group select:focus { border-color: #1D9E75; outline: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.radio-row { display: flex; gap: 1.5rem; margin-top: 0.3rem; }
.radio-row label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; font-size: 0.95rem; }

.info-box {
  background: #f0fdf7;
  border: 1px solid #9FE1CB;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: #085041;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* GUEST CARD */
.guest-card {
  background: white;
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.guest-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1D9E75;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

/* BUTTONS */
.btn-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.btn-pri {
  flex: 1;
  padding: 0.8rem;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-pri:hover { background: #333; }
.btn-pri:disabled { background: #aaa; cursor: not-allowed; }
.btn-sec {
  padding: 0.8rem 1.2rem;
  background: white;
  color: #444;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-sec:hover { background: #f5f5f5; }

/* SUMMARY */
.summary-box {
  background: white;
  border: 1.5px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.sum-section { padding: 0.75rem 1rem; border-bottom: 1px solid #f0f0f0; }
.sum-section:last-child { border-bottom: none; }
.sum-row { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 0.9rem; }
.sum-row span:first-child { color: #666; }
.sum-row span:last-child { font-weight: 500; }

.checkbox-wrap { margin-bottom: 1rem; }
.checkbox-wrap label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.4;
}

/* SUKSES */
.success-icon {
  width: 64px; height: 64px;
  background: #1D9E75;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: white;
  margin: 1.5rem auto 1rem;
}

.reg-id-box {
  background: white;
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.reg-id-label { font-size: 0.8rem; color: #666; margin-bottom: 0.3rem; }
.reg-id-value { font-size: 1.3rem; font-weight: 700; color: #1D9E75; letter-spacing: 1px; }

.wa-btn {
  display: block;
  text-align: center;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 0.75rem;
}
.wa-btn:hover { background: #20ba5a; }

/* LOADING */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 999; gap: 1rem;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid #eee;
  border-top-color: #1D9E75;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}