/* ================= BASE (match homepage) ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fff7fa;
  color: #3e2c4e;
  padding: 30px 20px;
}

/* Page title */
h1 {
  text-align: center;
  font-size: 34px;
  margin: 10px 0 25px;
  color: #3e2c4e;
}

/* ================= FORM CONTAINER ================= */
form#bookingForm {
  max-width: 750px;
  margin: 0 auto;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(170, 120, 200, 0.12);
  border: 1px solid rgba(207, 168, 232, 0.35);
}

/* ================= STEPS ================= */
.step { display: none; }
.step.active { display: block; }

.step h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #6A1EB1;
}

h3 {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 16px;
  color: #4b3a5a;
}

#selectedServiceName,
#timesContainer,
#addonsContainer,
#sizesContainer,
#lengthsContainer {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* ================= INPUTS ================= */
label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select {
  width: 100%;
  padding: 11px 12px;
  margin-top: 6px;
  margin-bottom: 14px;
  border: 1px solid rgba(106, 30, 177, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(106, 30, 177, 0.5);
  box-shadow: 0 0 0 4px rgba(207, 168, 232, 0.25);
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #6A1EB1;
}

/* Option cards */
#sizesContainer label,
#lengthsContainer label,
#timesContainer label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(207, 168, 232, 0.25);
  margin: 10px 0;
  cursor: pointer;
}

#sizesContainer label:hover,
#lengthsContainer label:hover,
#timesContainer label:hover {
  border-color: rgba(106, 30, 177, 0.35);
  box-shadow: 0 10px 30px rgba(170, 120, 200, 0.10);
}

/* ================= BUTTONS ================= */

/* Base */
button {
  border-radius: 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 18px;
  margin-top: 10px;
  margin-right: 10px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* NEXT + CONFIRM */
button.next,
button[type="submit"] {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #6A1EB1, #CFA8E8);
  box-shadow: 0 10px 25px rgba(106, 30, 177, 0.18);
}

button.next:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(106, 30, 177, 0.22);
}

/* BACK */
button.back {
  background: transparent;
  color: #6A1EB1;
  border: 1px solid rgba(106, 30, 177, 0.35);
  box-shadow: none;
}

button.back:hover {
  background: rgba(207, 168, 232, 0.18);
  transform: translateY(-1px);
}

/* Disabled */
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Back left, Next right */
.step button.next,
.step button[type="submit"] {
  float: right;
}
.step::after {
  content: "";
  display: block;
  clear: both;
}

/* ================= SUMMARY ================= */
#summary {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(207, 168, 232, 0.28);
  padding: 16px 18px;
  border-radius: 18px;
  margin: 14px 0;
  line-height: 1.6;
}

#totalPrice {
  color: #6A1EB1;
  font-weight: 700;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  form#bookingForm {
    padding: 20px 16px;
    border-radius: 18px;
  }

  h1 { font-size: 28px; }

  button {
    width: 100%;
    margin-right: 0;
  }
}