/* booking-module: standalone styles (no legacy booking JS) */

.bm-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bm-step {
  flex: 1 1 180px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  display: flex;
  gap: 10px;
  align-items: center;
}

.bm-step .bm-step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(0, 0, 0, .06);
  color: rgba(0, 0, 0, .75);
}

.bm-step.is-active {
  border-color: rgba(25, 135, 84, .45);
  box-shadow: 0 0 0 4px rgba(25, 135, 84, .08);
}

.bm-step.is-active .bm-step-num {
  background: rgba(25, 135, 84, .12);
  color: #0f5132;
}

.bm-step .bm-step-title {
  font-weight: 800;
  letter-spacing: .01em;
}

.bm-step .bm-step-desc {
  font-size: 12px;
  color: rgba(0, 0, 0, .55);
}

.bm-card {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
}

.bm-card .bm-card-hd {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(0, 0, 0, .02);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bm-card .bm-card-bd {
  padding: 16px;
}

.bm-required::after {
  content: " *";
  color: #dc3545;
  font-weight: 800;
}

.bm-slot-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.bm-day {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  overflow: hidden;
}

.bm-day-hd {
  padding: 10px 12px;
  background: rgba(0, 0, 0, .02);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.bm-day-title {
  font-weight: 800;
}

.bm-day-sub {
  font-size: 12px;
  color: rgba(0, 0, 0, .55);
}

.bm-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
}

.bm-slot-btn {
  border: 1px solid rgba(0, 0, 0, .12);
  background: #f8f9fa;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.bm-slot-btn:hover {
  background: rgba(25, 135, 84, .08);
  border-color: rgba(25, 135, 84, .35);
}

.bm-slot-btn.is-selected {
  background: rgba(25, 135, 84, .14);
  border-color: rgba(25, 135, 84, .55);
  box-shadow: 0 0 0 3px rgba(25, 135, 84, .10);
}

.bm-slot-meta {
  color: rgba(0, 0, 0, .6);
  font-size: 12px;
}

.bm-muted {
  color: rgba(0, 0, 0, .55);
}

.bm-error {
  color: #b02a37;
  background: rgba(220, 53, 69, .08);
  border: 1px solid rgba(220, 53, 69, .25);
  border-radius: 12px;
  padding: 12px 14px;
}

.bm-ok {
  color: #0f5132;
  background: rgba(25, 135, 84, .10);
  border: 1px solid rgba(25, 135, 84, .25);
  border-radius: 12px;
  padding: 12px 14px;
}

.bm-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 576px) {
  .bm-step {
    flex: 1 1 100%;
  }
}

/* --- filter summary (sticky) --- */
.bm-filter-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bm-filter-bar__label {
  font-weight: 800;
  font-size: 13px;
  color: rgba(0, 0, 0, .65);
  margin-right: 4px;
}

.bm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  background: #f8f9fa;
}

.bm-chip__key {
  color: rgba(0, 0, 0, .55);
  font-size: 12px;
}

.bm-chip__clear {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(0, 0, 0, .45);
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}

.bm-chip__clear:hover {
  color: #dc3545;
}

.bm-chip.is-empty {
  color: rgba(0, 0, 0, .45);
  font-style: italic;
}

/* --- therapist cards (from bookingvC, adapted) --- */
.bm-therapist-showroom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 991.98px) {
  .bm-therapist-showroom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bm-therapist-showroom {
    grid-template-columns: 1fr;
  }
}

.bm-therapist-card {
  border: 2px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bm-therapist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
  border-color: rgba(0, 0, 0, .14);
}

.bm-therapist-card.is-selected {
  border-color: rgba(25, 135, 84, .55);
  box-shadow: 0 18px 40px rgba(25, 135, 84, .12);
}

.bm-therapist-card.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.bm-therapist-card.is-any {
  min-height: 120px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
}

.bm-therapist-card__photo {
  height: 180px;
  background: #f9f6f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bm-therapist-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-therapist-card__info {
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.bm-therapist-card__name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.bm-therapist-card__meta {
  font-size: 12px;
  color: rgba(0, 0, 0, .65);
  line-height: 1.5;
}

.bm-therapist-card__specialty {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.bm-therapist-role-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  background: rgba(25, 135, 84, .12);
  box-shadow: inset 0 0 0 1px rgba(25, 135, 84, .35);
  vertical-align: middle;
}

.bm-therapist-card__calendar {
  padding: 12px 14px 14px;
  margin-top: auto;
}

.bm-tcal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.bm-tcal__month {
  font-weight: 800;
  font-size: 13px;
}

.bm-tcal__legend {
  font-size: 11px;
  color: rgba(0, 0, 0, .55);
}

.bm-tcal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 11px;
}

.bm-tcal__dow {
  font-weight: 700;
  color: rgba(0, 0, 0, .5);
  text-align: center;
}

.bm-tcal__day {
  text-align: center;
  padding: 5px 0;
  border-radius: 999px;
  line-height: 1;
  user-select: none;
}

.bm-tcal__day.is-out {
  color: rgba(0, 0, 0, .2);
}

.bm-tcal__day.is-available {
  background: rgba(25, 135, 84, .12);
  box-shadow: inset 0 0 0 1px rgba(25, 135, 84, .4);
  font-weight: 800;
  cursor: pointer;
}

.bm-tcal__day.is-available:hover {
  background: rgba(25, 135, 84, .22);
}

.bm-tcal__day.is-selected-date {
  background: rgba(25, 135, 84, .28);
  box-shadow: inset 0 0 0 2px rgba(25, 135, 84, .65);
}

.bm-tcal__day.is-today {
  box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .55);
}

/* --- date strip --- */
.bm-date-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.bm-date-toolbar__title {
  font-weight: 800;
  font-size: 15px;
}

.bm-date-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 575.98px) {
  .bm-date-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
  }
}

.bm-date-cell {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  background: #fff;
  cursor: default;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.bm-date-cell.is-available {
  cursor: pointer;
  border-color: rgba(25, 135, 84, .35);
  background: rgba(25, 135, 84, .06);
}

.bm-date-cell.is-available:hover {
  background: rgba(25, 135, 84, .12);
}

.bm-date-cell.is-selected {
  border-color: rgba(25, 135, 84, .65);
  background: rgba(25, 135, 84, .16);
  box-shadow: 0 0 0 3px rgba(25, 135, 84, .12);
}

.bm-date-cell.is-empty {
  opacity: .35;
  background: #f8f9fa;
}

.bm-date-cell__dow {
  font-size: 11px;
  color: rgba(0, 0, 0, .5);
}

.bm-date-cell__num {
  font-size: 18px;
  font-weight: 800;
}

.bm-date-cell__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(25, 135, 84, .75);
}

/* --- day slots panel --- */
.bm-schedule-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 767.98px) {
  .bm-schedule-row {
    grid-template-columns: 1fr;
  }
}

.bm-service-panel {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  padding: 16px;
  background: #f9f6f2;
}

.bm-service-panel__title {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
}

.bm-day-slots-panel {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.bm-day-slots-panel__title {
  font-weight: 800;
  margin-bottom: 12px;
}

.bm-time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bm-time-btn {
  border: 1px solid rgba(0, 0, 0, .12);
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-width: 72px;
  text-align: center;
}

.bm-time-btn:hover {
  background: rgba(25, 135, 84, .08);
  border-color: rgba(25, 135, 84, .35);
}

.bm-time-btn.is-selected {
  background: rgba(25, 135, 84, .16);
  border-color: rgba(25, 135, 84, .55);
  box-shadow: 0 0 0 3px rgba(25, 135, 84, .10);
}

.bm-time-btn__sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(0, 0, 0, .55);
  margin-top: 2px;
}

/* --- picked summary --- */
.bm-picked-card {
  border: 1px solid rgba(25, 135, 84, .35);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(25, 135, 84, .06);
  margin-top: 16px;
}

.bm-picked-card.is-empty {
  border-color: rgba(0, 0, 0, .1);
  background: rgba(0, 0, 0, .02);
}

.bm-picked-card__title {
  font-weight: 800;
  font-size: 13px;
  color: #0f5132;
  margin-bottom: 6px;
}

.bm-picked-card.is-empty .bm-picked-card__title {
  color: rgba(0, 0, 0, .45);
}
