/* ========================================
   BOOKING PAGE STYLES
   Multi-step consultation booking wizard
   ======================================== */

:root {
  --booking-primary: #347235;
  --booking-primary-dark: #2d5a30;
  --booking-cream: #f9f6f1;
  --booking-warm-beige: #f3ede4;
  --booking-sand: #e8e0d4;
  --booking-text: #2c2c2c;
  --booking-text-light: #666;
}

/* Main Section */
.booking-section {
  min-height: 100vh;
  background: var(--booking-cream);
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.booking-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--booking-text);
  text-align: center;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Booking Wrapper */
.booking-section .booking-wrapper {
  display: flex !important;
  gap: 0;
  background: #fff !important;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
  min-height: 600px;
}

/* Steps Sidebar */
.booking-section .booking-steps {
  width: 260px !important;
  background: linear-gradient(180deg, var(--booking-primary-dark) 0%, var(--booking-primary) 100%) !important;
  padding: 3rem 1.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  border-right: none !important;
  flex-shrink: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.step:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}

.step.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.step.active .step-icon {
  background: #fff;
  color: var(--booking-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.step.active .step-label {
  color: #fff;
  font-weight: 700;
}

.step.completed .step-icon {
  background: #fff;
  color: var(--booking-primary);
}

.step.completed .step-label {
  color: rgba(255, 255, 255, 0.9);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Source Sans Pro', sans-serif;
}

/* Booking Content */
.booking-section .booking-content {
  flex: 1 !important;
  padding: 3rem 3.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 600px !important;
  position: relative;
  overflow: hidden;
  background: #fff !important;
}

/* Panel visibility - hidden panels */
.booking-panel {
  display: none !important;
}

/* Panel visibility - active panel */
.booking-panel.active {
  display: flex !important;
  flex-direction: column;
}

.panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--booking-text);
  margin-bottom: 2.5rem;
}

/* Service Selection */
.service-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-option {
  cursor: pointer;
}

.service-option input {
  display: none;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  border: 2px solid var(--booking-sand);
  border-radius: 20px;
  transition: all 0.3s ease;
  background: #fff;
}

.service-option:hover .service-card {
  border-color: var(--booking-primary);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(52, 114, 53, 0.12);
}

.service-option.selected .service-card,
.service-option input:checked + .service-card {
  border-color: var(--booking-primary);
  background: #fff;
  box-shadow: 0 15px 40px rgba(52, 114, 53, 0.15);
}

.service-image {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  object-fit: cover;
  border: none;
}

.service-info {
  flex: 1;
}

.service-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--booking-text);
  margin-bottom: 0.5rem;
}

.service-info p {
  font-size: 1.1rem;
  color: var(--booking-text-light);
}

.service-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--booking-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.service-option.selected .service-check,
.service-option input:checked + .service-card .service-check {
  opacity: 1;
  transform: scale(1);
}

/* Date & Time Section */
.datetime-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  flex: 1;
  align-items: start;
}

.calendar-section {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.calendar-nav {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--booking-warm-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--booking-text);
  font-size: 1.1rem;
}

.calendar-nav:hover {
  background: var(--booking-primary);
  color: #fff;
}

.calendar-month {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--booking-text);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--booking-text-light);
  padding: 0.75rem 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--booking-text);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled):not(.selected) {
  background: var(--booking-warm-beige);
  color: var(--booking-primary);
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.other-month {
  color: #ccc;
}

.calendar-day.selected {
  background: var(--booking-primary);
  color: #fff;
  font-weight: 700;
}

/* Time Slots */
.timeslots-section {
  border: none;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.timeslots-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--booking-text);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--booking-sand);
}

.timeslots-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.timeslots-container::-webkit-scrollbar {
  width: 4px;
}

.timeslots-container::-webkit-scrollbar-track {
  background: transparent;
}

.timeslots-container::-webkit-scrollbar-thumb {
  background: var(--booking-sand);
  border-radius: 4px;
}

.timeslots-placeholder {
  color: var(--booking-text-light);
  font-size: 1rem;
  text-align: center;
  padding: 2rem 0;
}

.timeslot-group {
  margin-bottom: 0.75rem;
}

.timeslot-group-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--booking-text-light);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeslot {
  padding: 0.6rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--booking-text);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  background: transparent;
  letter-spacing: 0.2px;
}

.timeslot:hover {
  background: rgba(52, 114, 53, 0.1);
  color: var(--booking-primary);
}

.timeslot.selected {
  background: var(--booking-primary);
  color: #fff;
}

/* Form Styles */
.details-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--booking-text);
  margin-bottom: 0.6rem;
}

.form-group .required {
  color: #c94a4a;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--booking-sand);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--booking-primary);
  box-shadow: 0 0 0 3px rgba(52, 114, 53, 0.1);
  background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.phone-input {
  display: flex;
  gap: 0.75rem;
}

.phone-input select {
  width: 120px;
  flex-shrink: 0;
}

.phone-input input {
  flex: 1;
}

/* Summary */
.summary-content {
  text-align: center;
  padding: 2rem 0;
}

.summary-illustration {
  margin-bottom: 1.5rem;
  display: none;
}

.summary-illustration img {
  width: 150px;
  height: auto;
}

.summary-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--booking-text);
  margin-bottom: 1rem;
}

.summary-subtitle {
  color: var(--booking-text-light);
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.summary-details {
  max-width: 550px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.summary-customer {
  text-align: center;
  margin-bottom: 2rem;
}

.summary-label {
  display: block;
  font-size: 0.9rem;
  color: var(--booking-text-light);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--booking-text);
}

.summary-info-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  border-top: 1px solid var(--booking-sand);
  padding-top: 1.75rem;
}

.summary-item {
  text-align: center;
  flex: 1;
}

.summary-item:first-child {
  border-right: 1px solid var(--booking-sand);
  padding-right: 2rem;
}

/* Navigation */
.booking-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: auto;
  padding-top: 3rem;
  border-top: none;
}

.btn-back {
  padding: 1rem 1.75rem;
  background: transparent;
  border: 2px solid var(--booking-sand);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--booking-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-back:hover {
  color: var(--booking-primary);
  border-color: var(--booking-primary);
}

.btn-next {
  padding: 1rem 2rem;
  background: var(--booking-primary);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-next:hover {
  background: var(--booking-primary-dark);
  transform: translateY(-1px);
}

.btn-next:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .booking-content {
    padding: 3rem;
  }
}

@media (max-width: 900px) {
  .booking-section {
    min-height: auto;
  }

  .booking-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .booking-steps {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 1.5rem 1rem;
    border-right: none;
  }

  .step {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .step-label {
    font-size: 0.8rem;
  }

  .step-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .datetime-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .calendar-section,
  .timeslots-section {
    max-width: 100%;
  }

  .booking-content {
    padding: 2rem;
    min-height: auto;
  }

  .panel-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 600px) {
  .booking-content {
    padding: 1.5rem;
  }

  .panel-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .step-label {
    display: none;
  }

  .booking-steps {
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }

  .step {
    padding: 0.5rem;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .service-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .service-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .service-info h3 {
    font-size: 1.25rem;
  }

  .calendar-section,
  .timeslots-section {
    padding: 1.5rem;
  }

  .booking-nav {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .btn-next,
  .btn-back {
    width: 100%;
    justify-content: center;
  }

  .summary-details {
    padding: 1.5rem;
  }

  .summary-title {
    font-size: 1.75rem;
  }

  .summary-info-grid {
    flex-direction: column;
    gap: 1.25rem;
  }

  .summary-item:first-child {
    border-right: none;
    border-bottom: 1px solid var(--booking-sand);
    padding-right: 0;
    padding-bottom: 1.25rem;
  }
}

/* Confirmation Icon */
.confirmation-icon {
  width: 100px;
  height: 100px;
  background: var(--booking-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.confirmation-icon i {
  font-size: 2.75rem;
  color: #fff;
}

