#bmb-wizard {
  max-width: 1040px;
  max-height: 1050px;
  margin: 24px auto;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #d7dee6;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 18px 38px rgba(7, 31, 55, 0.08);
  overflow: scroll !important;
}

#bmb-wizard .bmb-progress {
  margin-bottom: 18px;
}

#bmb-wizard .bmb-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #0891b2);
  transition: width 0.25s ease;
}

#bmb-wizard #stepContainer {
  align-items: stretch;
}

#bmb-wizard #stepContainer > * {
  display: flex;
  flex-direction: column;
}

#bmb-wizard .card {
  border: 1px solid #dde6ef;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(8, 27, 50, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

#bmb-wizard .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(8, 27, 50, 0.13);
}

#bmb-wizard .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

#bmb-wizard .card-content {
  padding: 12px 14px 14px;
}

#bmb-wizard .card-content h4 {
  margin: 0 0 6px;
  color: #0f172a;
}

#bmb-wizard .card-content p {
  margin: 0;
  color: #475569;
}

#bmb-wizard .price {
  margin-top: 8px;
  display: inline-block;
  font-weight: 600;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  padding: 4px 10px;
}

#bmb-wizard .bmb-scroll-host {
  height: 100%;
  max-height: none;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  overscroll-behavior: contain;
}

#bmb-wizard #partnerList,
#bmb-wizard #machineList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

#bmb-wizard .bmb-scroll-host::-webkit-scrollbar {
  width: 10px;
}

#bmb-wizard .bmb-scroll-host::-webkit-scrollbar-thumb {
  background: #c7d4e2;
  border-radius: 999px;
}

#bmb-wizard #summary {
  margin-top: 10px;
}

#bmb-wizard .bmb-summary-card {
  border: 1px solid #dbe5ee;
  border-radius: 12px;
  padding: 14px;
  background: #ffffff;
}

#bmb-wizard .bmb-summary-card p {
  margin: 0 0 8px;
}

#bmb-wizard .bmb-summary-card p:last-child {
  margin-bottom: 0;
}

#bmb-wizard .bmb-coupon-wrap {
  margin-top: 12px;
  border: 1px solid #dbe5ee;
  border-radius: 12px;
  padding: 12px;
  background: #f8fafc;
}

#bmb-wizard .bmb-coupon-wrap label {
  display: block;
  margin-bottom: 6px;
}

#bmb-wizard .bmb-coupon-wrap input {
  width: 100%;
  max-width: 340px;
  border: 1px solid #c7d4e2;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
}

#bmb-wizard .bmb-coupon-wrap small {
  display: block;
  margin-top: 6px;
  color: #475569;
}

#bmb-wizard .slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

#bmb-wizard .slot-pill {
  border: 1px solid #c5d4e3;
  background: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.18s ease;
}

#bmb-wizard .slot-pill:hover {
  border-color: #0284c7;
  color: #075985;
}

#bmb-wizard .slot-pill.selected {
  border-color: #0284c7;
  background: #e0f2fe;
  color: #075985;
}

#bmb-wizard #confirmBtn,
#bmb-wizard #bookBtn {
  border: 0;
  border-radius: 11px;
  padding: 12px 15px;
  font-weight: 600;
  background: linear-gradient(90deg, #0f766e, #0891b2);
  color: #fff;
  box-shadow: 0 9px 22px rgba(8, 66, 89, 0.24);
  margin-top: 18px;
  width: 100%;
  cursor: pointer;
}

#bmb-wizard #confirmBtn:disabled,
#bmb-wizard #bookBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#bmb-wizard .no-date-msg {
  color: #475569;
}

.bmb-orderpay-coupon {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #dbe5ee;
  border-radius: 12px;
  background: #f8fafc;
}

.bmb-orderpay-coupon p {
  margin: 0 0 8px;
}

.bmb-orderpay-coupon p:last-child {
  margin-bottom: 0;
}

.bmb-orderpay-coupon input {
  width: 100%;
  max-width: 320px;
  border: 1px solid #c7d4e2;
  border-radius: 10px;
  padding: 10px 12px;
}

@media (max-width: 768px) {
  #bmb-wizard {
    margin: 14px 0;
    border-radius: 12px;
    padding: 14px;
  }

  #bmb-wizard .card img {
    height: 140px;
  }

  #bmb-wizard .bmb-scroll-host {
    height: 100%;
    max-height: none;
  }
}
