/* Booking Page Specific Styles */
.booking-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.booking-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.booking-hero h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.booking-hero p {
  color: hsl(var(--muted-foreground));
  font-size: 1.0625rem;
}

.booking-form {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem;
  box-shadow: 0 10px 40px hsla(var(--foreground), 0.08);
}

/* Fieldset Styles */
.form-fieldset {
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    to bottom,
    hsl(var(--background)),
    hsl(var(--background) / 0.5)
  );
}

.fieldset-legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--primary));
  padding: 0 0.75rem;
}

.fieldset-legend i {
  width: 20px;
  height: 20px;
}

.form-fieldset .form-group:last-of-type {
  margin-bottom: 0;
}

.radio-group-label {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.radio-group-label:first-of-type {
  margin-top: 0;
}
.form-group {
  margin-bottom: 1rem;
}

.form-group label,
.radio-group-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}

.form-group input::placeholder {
  color: hsl(var(--muted-foreground));
}

/* Radio Button Groups as Buttons */
.radio-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.radio-button {
  position: relative;
  flex-grow: 1;
}

.radio-button input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-button label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.radio-button input[type="radio"]:checked + label {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.radio-button label:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary) / 0.5);
}

.radio-button input[type="radio"]:checked + label:hover {
  background: hsl(var(--primary) / 0.9);
}

textarea {
  resize: vertical;
  min-height: 50px;
}

.error-message {
  color: hsl(0 84% 60%);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
}

.error-message.show {
  display: block;
}

.form-group input.error,
.form-group select.error {
  border-color: hsl(0 84% 60%);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

.btn-reset {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.btn-reset:hover {
  background: hsl(var(--muted) / 0.7);
}

.btn-submit {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-submit:hover {
  background: hsl(var(--primary) / 0.9);
}

.auto-fill-badge {
  display: none;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--primary));
  font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
  .booking-container {
    padding: 6rem 1rem 2rem;
  }
  .booking-form {
    padding: 1rem;
  }

  .radio-buttons {
    grid-template-columns: 1fr;
  }

  textarea {
    min-height: 100px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions button {
    text-align: center;
    display: flex;
    justify-content: center;
  }
}
