.mb__booking_modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
@media (max-width: 767px) {
  .mb__booking_modal_overlay {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow: hidden;
    height: 100dvh;
  }
}
.mb__booking_modal_overlay.opened {
  opacity: 1;
  visibility: visible;
}
.mb__booking_modal_overlay.opened .mb__booking_modal {
  transform: scale(1);
  animation: fadeIn 0.25s ease-in-out;
}
.mb__booking_modal_overlay .mb__booking_modal {
  position: relative;
  position: relative;
  background: #fff;
  border-radius: 10px;
  width: 90%;
  height: min(600px, 100dvh);
  max-width: 800px;
  max-height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .mb__booking_modal_overlay .mb__booking_modal {
    width: 100% !important;
    height: 100dvh !important;
    max-width: 100% !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
.mb__booking_modal_overlay .mb__booking_modal .modal-footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  text-align: right;
  padding: 15px;
  background: #fff;
  border-top: 1px solid #ddd;
  z-index: 10000 !important;
}
@media (max-width: 767px) {
  .mb__booking_modal_overlay .mb__booking_modal .modal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    bottom: env(safe-area-inset-bottom, 0px);
    bottom: constant(safe-area-inset-bottom, 0px);
    padding: 15px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(15px + constant(safe-area-inset-bottom, 0px));
    width: 100%;
    box-sizing: border-box;
  }
}
.mb__booking_modal_overlay .mb__booking_modal .mb__time-slot-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 15px;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__time-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__time-slot:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__time-slot.selected {
  background-color: #f0f2ff;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
}
.mb__booking_modal_overlay .mb__booking_modal .mb__time-slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__time-slot .mb__slot-time {
  font-size: 0.95rem;
  font-weight: 500;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__time-slot .mb__slot-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #666;
  background-color: #f1f1f1;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}
.mb__booking_modal_overlay .mb__booking_modal .nextMonthDay:nth-last-child(-n+7) {
  display: none;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-calendar {
  width: 100% !important;
  box-shadow: none !important;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-rContainer {
  width: 100%;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-innerContainer {
  border: none !important;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  width: 100% !important;
  border: none !important;
  gap: 4px;
}
.mb__booking_modal_overlay .mb__booking_modal .dayContainer {
  display: contents !important;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.flatpickr-disabled, .mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.prevMonthDay {
  background-color: #f7f7f7;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-day {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  line-height: 2.2rem;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  border-radius: 8px !important;
  border: 1px solid #ddd !important;
  color: #333 !important;
  font-weight: 500;
  transition: all 0.2s ease;
  line-height: 2.2rem;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-day:hover {
  background: #f8f8f8 !important;
  border-color: #ccc !important;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.selected, .mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.startRange, .mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.endRange, .mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.selected.inRange, .mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.startRange.inRange, .mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.endRange.inRange {
  border: 1px solid #3a7afe !important;
  background-color: #f0f4ff !important;
  box-shadow: 0 0 0 2px rgba(58, 122, 254, 0.15);
  color: #1a1a1a !important;
}
.mb__booking_modal_overlay .mb__booking_modal .flatpickr-day.today:not(.selected) {
  border-bottom: 1px solid #3a7afe !important;
}
@media (max-width: 767px) {
  .mb__booking_modal_overlay .mb__booking_modal {
    box-shadow: none;
    transform: scale(1);
  }
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_close {
  position: absolute;
  top: 0;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: 100;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_close:hover {
  color: #000;
}
.mb__booking_modal_overlay .mb__booking_modal #mb__modal_main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}
@media (max-width: 767px) {
  .mb__booking_modal_overlay .mb__booking_modal #mb__modal_main {
    padding-bottom: 70px;
  }
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body {
  padding: 20px;
  text-align: center;
}
@media (max-width: 767px) {
  .mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body {
    padding: 15px;
  }
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body.booking_side {
  text-align: left;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body .product_name {
  font-size: 18px;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body .mb__desc-toggle {
  display: inline-block;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  background: none;
  border: none;
  color: #3a7afe;
  text-decoration: underline;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body .mb__desc-toggle {
    display: none;
  }
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body .product_description {
  display: none;
  font-weight: 100;
  text-align: left;
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body .product_description.expanded {
  display: block;
}
@media (min-width: 768px) {
  .mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body .product_description {
    display: block;
  }
}
.mb__booking_modal_overlay .mb__booking_modal .mb__booking_modal_body .product_image {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  display: inline-block;
  margin-bottom: 15px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.mb__row {
  display: flex;
  flex-wrap: wrap;
}
.mb__row .mb__col {
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}
.mb__row .mb__col, .mb__row .mb__col-12 {
  width: 100%;
}
@media (min-width: 992px) {
  .mb__col-lg-6 {
    flex: 0 0 50%;
    width: 50%;
  }
  .mb__col-lg-12 {
    flex: 0 0 100%;
    width: 100%;
  }
  .mb__col-lg-4 {
    flex: 0 0 33.3333%;
    width: 33.3333%;
  }
  .mb__col-lg-3 {
    flex: 0 0 25%;
    width: 25%;
  }
  .mb__col-lg-8 {
    flex: 0 0 66.6666%;
    width: 66.6666%;
  }
}
@media (min-width: 768px) {
  .mb__col-md-6 {
    flex: 0 0 50%;
    width: 50%;
  }
  .mb__col-md-12 {
    flex: 0 0 100%;
    width: 100%;
  }
}
@media (min-width: 576px) {
  .mb__col-sm-6 {
    flex: 0 0 50%;
    width: 50%;
  }
  .mb__col-sm-12 {
    flex: 0 0 100%;
    width: 100%;
  }
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #7b7b7b;
  border-radius: 50%;
  animation: spin 0.7s ease-in-out infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.mb__btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
.mb__modal_spinner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
