.booking-therapist-picker {
  display: grid;
  gap: 10px;
  margin: 2px 0 18px;
}

.booking-therapist-picker > label {
  display: grid;
  gap: 7px;
  color: #14342e;
  font-size: 13px;
  font-weight: 750;
}

.booking-therapist-picker select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd8cc;
  border-radius: 3px;
  padding: 10px 12px;
  background: #fff;
  color: #14342e;
  font: inherit;
}

.booking-therapist-preview {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px solid #d5e4d3;
  background: #f3f8f1;
  padding: 18px;
}

.booking-therapist-preview[hidden] {
  display: none;
}

.booking-therapist-photo,
.booking-therapist-photo-fallback {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border: 1px solid #bdd2ba;
  border-radius: 50%;
  background: #e2eee0;
  color: #456944;
  object-fit: cover;
  overflow: hidden;
}

.booking-therapist-photo-fallback {
  font-size: 42px;
}

/* The preview script switches between the real photo and this fallback.
   Keep the inactive element out of layout even though the photo styles set
   an explicit display value above. */
.booking-therapist-photo[hidden],
.booking-therapist-photo-fallback[hidden] {
  display: none;
}

/* Booking remains compact when a clinic has many active therapists. */
.booking-confirm-dialog [hidden]{display:none!important}
.booking-form .booking-customer-note{display:grid;gap:8px;margin:18px 0 6px}
.booking-customer-note textarea{width:100%;min-height:92px;resize:vertical;line-height:1.65}
.therapist-picker-tools{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;align-items:end;margin-bottom:12px}
.booking-form .therapist-picker-tools label{display:grid;gap:7px;margin:0;min-width:0;font-size:12px}
.therapist-picker-tools :is(input,select){width:100%;min-width:0;padding:11px 12px}
.therapist-picker-count{font-size:12px;color:#62756a;line-height:1.7;margin:0 0 12px}
.therapist-options-scroll{padding:3px;outline-offset:2px;overscroll-behavior:contain}
.therapist-picker-many{max-height:380px;overflow:auto;scrollbar-gutter:stable}
.therapist-picker-many .therapist-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.therapist-picker-many .therapist-option-face{padding:15px 8px;gap:8px}
.therapist-picker-many .therapist-option-face>img,.therapist-picker-many .therapist-option-fallback{width:72px;height:72px;border-width:3px}
.therapist-picker-many .therapist-option-face strong{font-size:12px}
.therapist-picker-empty{grid-column:1/-1;padding:14px}
.therapist-picker-more{margin-top:12px;width:100%}
.booking-note-details{margin-top:8px;font-size:12px;line-height:1.7;max-width:360px;text-align:left;font-weight:400;white-space:normal}
.booking-note-details summary{color:#3d6751;cursor:pointer;font-weight:600}
.booking-note-details p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;color:#425b4d}
@media(max-width:620px){.therapist-picker-tools{grid-template-columns:minmax(0,1fr) 125px;gap:8px}.therapist-picker-many{max-height:340px}.therapist-picker-many .therapist-options{grid-template-columns:repeat(2,minmax(0,1fr))}.therapist-picker-many .therapist-option-face>img,.therapist-picker-many .therapist-option-fallback{width:68px;height:68px}}

.booking-therapist-cards .therapist-selection-note{margin:0 0 12px}
.therapist-search-field{position:relative;display:block;min-width:0}.therapist-search-field>.ui-icon{width:18px;height:18px;position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#6c8173;pointer-events:none}#booking-confirm-dialog .therapist-search-field input{padding-left:36px;padding-right:40px}.therapist-search-field input::-webkit-search-cancel-button{display:none}.booking-form .therapist-search-clear{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:6px;background:transparent;color:#62756a;cursor:pointer}.booking-form .therapist-search-clear:hover{background:#edf3e9;color:#193d32}.booking-form .therapist-search-clear:focus-visible{outline:2px solid #779c61;outline-offset:1px}@media(max-width:480px){.therapist-picker-tools{grid-template-columns:minmax(0,1fr);gap:12px}}

.therapist-search-control{display:grid;gap:7px;min-width:0}

.therapist-search-clear>.ui-icon{width:14px;height:14px}

.calendar-day.calendar-unavailable,.customer-hour-unavailable,.hour-unavailable{background:#eff1ee!important;border:1px solid #d9dfd6!important;color:#788272!important}.overview-day.calendar-unavailable{background:#eff1ee!important;border-color:#d9dfd6!important;color:#788272!important}
