/* Consultation type chooser — mobile-first bottom sheet */

.booking-choice-overlay {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 28, 22, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.booking-choice-overlay[hidden] {
  display: none !important;
}

.booking-choice-sheet {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px 20px 16px 16px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  animation: bookingSheetIn 0.28s ease;
}

@keyframes bookingSheetIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-choice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 8px;
}

.booking-choice-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark, #1f2a24);
  margin: 0;
  line-height: 1.3;
}

.booking-choice-close {
  flex-shrink: 0;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-dark, #1f2a24);
}

.booking-choice-lead {
  margin: 0 18px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5a6b62;
}

.booking-choice-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px 18px;
}

.booking-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-light, #f7f9f6);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  min-height: 44px;
}

.booking-choice-card:active {
  transform: scale(0.99);
}

.booking-choice-card--online:focus-visible,
.booking-choice-card--offline:focus-visible {
  outline: 2px solid var(--primary, #7fa650);
  outline-offset: 2px;
}

.booking-choice-card--online:hover {
  border-color: rgba(127, 166, 80, 0.45);
  box-shadow: 0 6px 20px rgba(127, 166, 80, 0.12);
}

.booking-choice-card--offline:hover {
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.1);
}

.booking-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 2px;
}

.booking-choice-card--online .booking-choice-icon {
  background: rgba(127, 166, 80, 0.15);
  color: var(--primary, #6b8f3e);
}

.booking-choice-card--offline .booking-choice-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
}

.booking-choice-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark, #1f2a24);
}

.booking-choice-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5a6b62;
}

.booking-choice-step[hidden] {
  display: none !important;
}

.booking-choice-head--form {
  align-items: center;
}

.booking-choice-head--form h2 {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
}

.booking-choice-back {
  flex-shrink: 0;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-dark, #1f2a24);
}

.booking-offline-therapy {
  margin: 0 18px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(127, 166, 80, 0.12);
  color: #3d5230;
  font-size: 0.88rem;
  font-weight: 600;
}

.booking-offline-form {
  padding: 0 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(58vh, 420px);
  overflow-y: auto;
}

.booking-offline-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking-offline-field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark, #1f2a24);
}

.booking-offline-field span em {
  color: #c0392b;
  font-style: normal;
}

.booking-offline-field input,
.booking-offline-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
}

.booking-offline-field input:focus,
.booking-offline-field textarea:focus {
  outline: none;
  border-color: var(--primary, #7fa650);
  box-shadow: 0 0 0 3px rgba(127, 166, 80, 0.15);
}

.booking-offline-error {
  margin: 0;
  font-size: 0.85rem;
  color: #c0392b;
}

.booking-offline-error[hidden] {
  display: none !important;
}

.booking-offline-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  margin-top: 4px;
}

.booking-offline-submit:hover {
  background: #1ebe57;
}

.booking-choice-sheet {
  max-height: min(92vh, 640px);
  display: flex;
  flex-direction: column;
}

@media (min-width: 520px) {
  .booking-choice-overlay {
    align-items: center;
    padding: 20px;
  }

  .booking-choice-sheet {
    border-radius: 18px;
    width: min(480px, 100%);
  }
}
