/* ============================================================
   WPBAT GrowthCore — Public Booking Embed CSS
   ============================================================ */

.wbt-gc-booking-embed {
  max-width: 520px;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 15px;
  color: #0d1117;
  line-height: 1.5;
}

.wbt-gc-booking-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #0d1117;
}

/* Steps */
.wbt-gc-booking-step { display: block; }
.wbt-gc-booking-step--hidden { display: none; }

.wbt-gc-booking-step-label {
  font-size: 14px;
  font-weight: 600;
  color: #3a3f47;
  margin: 0 0 14px;
}

.wbt-gc-booking-back {
  background: none;
  border: none;
  padding: 0 0 12px;
  color: #007fff;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.wbt-gc-booking-back:hover { text-decoration: underline; }

/* Mini calendar */
.wbt-gc-bc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wbt-gc-bc-title {
  font-size: 14px;
  font-weight: 600;
  color: #0d1117;
}

.wbt-gc-bc-nav {
  background: none;
  border: 1.5px solid #e2e5ea;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s;
}

.wbt-gc-bc-nav:hover { border-color: #007fff; color: #007fff; }

.wbt-gc-bc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.wbt-gc-bc-day-lbl {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 0;
}

.wbt-gc-bc-day {
  height: 36px;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  color: #0d1117;
  transition: background .12s, color .12s;
  font-weight: 500;
}

.wbt-gc-bc-day:hover:not(:disabled) { background: #e6f2ff; color: #007fff; }

.wbt-gc-bc-day--past {
  color: #c8cdd2;
  cursor: not-allowed;
}

.wbt-gc-bc-day--selected {
  background: #007fff !important;
  color: #fff !important;
  font-weight: 700;
}

/* Slots */
.wbt-gc-booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.wbt-gc-booking-slot {
  padding: 9px 16px;
  border: 1.5px solid #e2e5ea;
  border-radius: 8px;
  background: #fff;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  color: #0d1117;
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}

.wbt-gc-booking-slot:hover { border-color: #007fff; color: #007fff; background: #e6f2ff; }

.wbt-gc-booking-slot--selected {
  border-color: #007fff;
  background: #007fff;
  color: #fff;
}

.wbt-gc-booking-loading,
.wbt-gc-booking-no-slots,
.wbt-gc-booking-error {
  font-size: 13.5px;
  color: #6b7280;
  margin: 12px 0 0;
}

.wbt-gc-booking-error { color: #ef4444; }

/* Contact form */
.wbt-gc-booking-form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wbt-gc-booking-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wbt-gc-booking-field label {
  font-size: 13px;
  font-weight: 600;
  color: #3a3f47;
}

.wbt-gc-booking-field input {
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid #e2e5ea;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #0d1117;
  background: #fff;
  transition: border-color .15s;
  outline: none;
}

.wbt-gc-booking-field input:focus { border-color: #007fff; box-shadow: 0 0 0 3px rgba(0,127,255,.1); }

.wbt-gc-booking-submit {
  height: 46px;
  background: #007fff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  margin-top: 4px;
}

.wbt-gc-booking-submit:hover:not(:disabled) { background: #0051a8; }
.wbt-gc-booking-submit:disabled { opacity: .6; cursor: not-allowed; }

/* Confirmation */
.wbt-gc-booking-confirmed {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px 0;
}

.wbt-gc-booking-confirmed h4 {
  font-size: 20px;
  font-weight: 700;
  color: #16a34a;
  margin: 0;
}

.wbt-gc-booking-confirmed p {
  font-size: 14px;
  color: #3a3f47;
  max-width: 360px;
  line-height: 1.65;
  margin: 0;
}
