
/* Bungkus utama form agar center */
.udt-form-widget {
  display: flex;
  justify-content: center; /* horizontal center */
  width: 100%;
}

/* Batasi lebar form agar tidak terlalu lebar */
.udt-wedding-form.multi-step {
  max-width: 300px;
  width: 100%;
  margin: 0 auto; /* auto margin = center */
}

/* ==== Multi-step form ==== */
/* Step container */
.step {
  width: 100%;
  display: none; /* default sembunyi */
  animation: fadeStep 0.3s ease;
}
.step.active {
  display: block; /* step aktif muncul */
}

@keyframes fadeStep {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.udt-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px auto 35px;
}
.udt-progress-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.udt-progress-step.active {
  background: #2a5dff;
}
.udt-progress-step.completed {
  background: #2a5dff;
  opacity: 0.8;
}
.udt-progress-line {
  flex: 1;
  height: 2px;
  background: #ccc;
  margin: 0 10px;
}

/* Header */
.udt-form-header {
  text-align: center;
  margin-bottom: 20px;
}
.udt-form-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}
.udt-form-desc {
  color: #555;
  font-size: 15px;
}

/* Form row */
.udt-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.udt-form-row label {
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}
.udt-form-row input,
.udt-form-row textarea,
.udt-form-row select {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  width: 100%;
  transition: all 0.25s ease;
}
.udt-form-row input:focus,
.udt-form-row textarea:focus,
.udt-form-row select:focus {
  outline: none;
  border-color: #25a79a;
  box-shadow: 0 0 0 2px rgba(37,167,154,0.15);
}

/* Grid 2 kolom untuk Pukul + Zona Waktu */
.udt-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Responsif: jadi 1 kolom di mobile */
@media (max-width: 600px) {
  .udt-two {
    grid-template-columns: 1fr;
  }
}

/* Tombol container → selalu center */
.udt-actions {
  display: flex;
  justify-content: center;   /* tombol center */
  align-items: center;
  margin-top: 20px;
  gap: 14px;                 /* jarak antar tombol */
}

/* Tombol dasar */
.udt-actions .udt-btn-submit,
.udt-actions .udt-btn-outline {
  flex: 0 0 auto;
  min-width: 140px;        /* ukuran konsisten */
  max-width: 220px;
  width: auto;
  text-align: center;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Tombol Next / Submit */
.udt-btn-submit {
  background: #25a79a;
  color: #fff;
  border: 1px solid #25a79a;
}
.udt-btn-submit:hover {
  background: #1ba39c;
  border-color: #1ba39c;
}

/* Tombol Back */
.udt-btn-outline {
  border: 1px solid #25a79a;
  background: transparent;
  color: #25a79a;
}
.udt-btn-outline:hover {
  background: #25a79a;
  color: #fff;
}
