/* Booking pop-up on the clinic pages — the dialog shell as on smprive.com
   (locations/show → inline-booking-modal). The steps inside are the booking
   page (booking-page.css + booking.css) in its compact, embedded form. */
.lbm-overlay {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: flex-start; justify-content: center; overflow-y: auto;
  background: rgba(20, 30, 50, .55); padding: 2rem 1rem;
}
.lbm-overlay.open { display: flex; }
.lbm-overlay--busy { z-index: 1000; align-items: center; }
body.lbm-open { overflow: hidden; }

.lbm-modal {
  background: #fff; border-radius: 10px; width: 100%; max-width: 980px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, .25); position: relative; margin: auto; overflow: hidden;
}

.lbm-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid #eef2f7;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.lbm-header h3 {
  margin: 0 !important; border: 0 !important; padding: 0 !important;
  font-size: 22px !important; line-height: 1.25; color: var(--color-heading, #163d6c);
  font-family: 'Lato', sans-serif; font-weight: 700;
}
.lbm-price { margin-top: .35rem; font-size: 14px; color: #4a5568; }
.lbm-close {
  background: transparent; border: 0; font-size: 30px; line-height: 1; color: #6b7280;
  cursor: pointer; padding: 0 .25rem; flex: 0 0 auto;
}
.lbm-close:hover { color: #1f2937; }

/* The booking page, compacted for the dialog */
.lbm-modal .booking-page { min-height: 0; background: #fff; }
.lbm-modal .booking-page .wrap { padding-inline: 24px; }
.lbm-modal .booking-page .flow { padding: 20px 0 28px; }
.lbm-modal .booking-page .flow form { gap: 20px; }
.lbm-modal .booking-page .done { padding: 24px 0 32px; }
.lbm-modal .booking-page .done__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 599px) {
  .lbm-overlay { padding: 0; }
  .lbm-modal { border-radius: 0; min-height: 100%; }
  .lbm-modal .booking-page .wrap { padding-inline: 16px; }
}
