/* ==========================================================================
   Booking Page Styles - Hayden Creek Luxe Salon
   ========================================================================== */

/* -------------------------------------------------------------------------
   Booking Page Layout
   ------------------------------------------------------------------------- */

.booking-page {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  min-height: 100vh;
  background-color: var(--color-cream);
}

/* -------------------------------------------------------------------------
   Page Header
   ------------------------------------------------------------------------- */

.booking-header {
  text-align: center;
  margin-bottom: var(--space-10);
  padding-top: var(--space-8);
}

.booking-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--font-medium);
  color: var(--color-black);
  margin-bottom: var(--space-4);
}

.booking-header__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-warm-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* -------------------------------------------------------------------------
   Form Container
   ------------------------------------------------------------------------- */

.booking-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

/* -------------------------------------------------------------------------
   Form Elements
   ------------------------------------------------------------------------- */

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--submit {
  margin-top: var(--space-4);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.form-label .required {
  color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-warm-gray);
  opacity: 0.7;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7355' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 16px;
  padding-right: var(--space-10);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* -------------------------------------------------------------------------
   Submit Button
   ------------------------------------------------------------------------- */

.btn--full {
  width: 100%;
  justify-content: center;
  gap: var(--space-2);
}

.btn--full svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.btn--full:hover svg {
  transform: translateX(4px);
}

.form-note {
  font-size: var(--text-sm);
  color: var(--color-warm-gray);
  text-align: center;
  margin-top: var(--space-3);
}

/* -------------------------------------------------------------------------
   Contact Alternative
   ------------------------------------------------------------------------- */

.booking-alternative {
  text-align: center;
  margin-top: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-warm-gray);
}

.booking-alternative a {
  color: var(--color-accent);
  font-weight: var(--font-semibold);
  transition: color var(--transition-base);
}

.booking-alternative a:hover {
  color: var(--color-charcoal);
}

/* -------------------------------------------------------------------------
   Success Page
   ------------------------------------------------------------------------- */

.booking-success {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-16) var(--space-8);
}

.booking-success__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 115, 85, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-accent);
}

.booking-success__icon svg {
  width: 40px;
  height: 40px;
}

.booking-success__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-medium);
  color: var(--color-black);
  margin-bottom: var(--space-4);
}

.booking-success__message {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-warm-gray);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.booking-success__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   Responsive Adjustments
   ------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .booking-header__title {
    font-size: var(--text-4xl);
  }

  .booking-form-container {
    padding: var(--space-8);
  }
}

@media (max-width: 576px) {
  .booking-header__title {
    font-size: var(--text-3xl);
  }

  .booking-form-container {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: var(--space-3);
  }
}
