/* MyBPO Bookings - Calendly-style layout, MyBPO dark/gold skin */

#mybpo-booking { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; }
#mybpo-booking *, #mybpo-booking *::before, #mybpo-booking *::after { box-sizing: border-box; }
#mybpo-booking [hidden] { display: none !important; }

/* ---- section shell around the widget (contact page) ---- */
.mybpo-bk-section {
  position: relative;
  overflow: hidden;
  background-color: #0c0c0c;
  background-image:
    radial-gradient(ellipse 75% 55% at 50% -5%, rgba(190, 140, 92, 0.16), transparent 65%),
    radial-gradient(ellipse 45% 40% at 90% 105%, rgba(190, 140, 92, 0.08), transparent 70%);
  border-top: 1px solid rgba(190, 140, 92, 0.22);
  padding: 76px 20px 92px;
  color: #F7F6F0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}
.mybpo-bk-wrap { max-width: 900px; margin: 0 auto; position: relative; }
.mybpo-bk-heading { text-align: center; margin-bottom: 38px; }
.mybpo-bk-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(190, 140, 92, 0.45);
  background: rgba(190, 140, 92, 0.08);
  color: #be8c5c;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.mybpo-bk-heading h2 {
  margin: 0 0 12px;
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #F7F6F0;
}
.mybpo-bk-gold { color: #be8c5c; }
.mybpo-bk-heading p { margin: 0 auto; max-width: 480px; color: #9aa3af; font-size: 16px; line-height: 1.6; }

.mybpo-bk-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  background: linear-gradient(180deg, #1b1916 0%, #151412 100%);
  border: 1px solid rgba(190, 140, 92, 0.45);
  border-radius: 18px;
  color: #F7F6F0;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 420px;
  box-shadow:
    0 20px 50px -12px rgba(190, 140, 92, 0.25),
    0 34px 90px -24px rgba(0, 0, 0, 0.65);
}
.mybpo-bk-card.has-times { grid-template-columns: 230px 1fr 210px; }

/* ---- left info panel ---- */
.mybpo-bk-info {
  padding: 24px 20px;
  border-right: 1px solid rgba(190, 140, 92, 0.25);
}
.mybpo-bk-brand {
  margin: 0 0 2px;
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  color: #be8c5c;
  font-size: 13px;
}
.mybpo-bk-info h3 {
  margin: 0 0 14px;
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  color: #F7F6F0;
}
.mybpo-bk-info ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mybpo-bk-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa3af;
  font-size: 13.5px;
  margin-bottom: 8px;
}
.mybpo-bk-info li svg { color: #be8c5c; flex: 0 0 auto; }
.mybpo-bk-blurb { color: #6b7280; font-size: 13px; line-height: 1.55; margin: 0; }

/* ---- middle: calendar ---- */
.mybpo-bk-cal { padding: 20px 22px 24px; }
.mybpo-bk-step {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 15px;
  color: #F7F6F0;
}
.mybpo-bk-monthnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mybpo-bk-monthnav span { font-size: 14.5px; font-weight: 600; }
.mybpo-bk-nav {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(190, 140, 92, 0.12);
  color: #be8c5c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.mybpo-bk-nav:hover:not(:disabled) { background: rgba(190, 140, 92, 0.28); }
.mybpo-bk-nav:disabled { opacity: .25; cursor: default; }

.mybpo-bk-dow, .mybpo-bk-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.mybpo-bk-dow span {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: #6b7280;
  padding: 6px 0;
}
.mybpo-bk-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-family: inherit;
  border: 0;
  background: none;
}
.mybpo-bk-cell.off { color: #4b5563; }
.mybpo-bk-cell.avail {
  background: rgba(190, 140, 92, 0.14);
  color: #be8c5c;
  font-weight: 700;
  cursor: pointer;
}
.mybpo-bk-cell.avail:hover { background: rgba(190, 140, 92, 0.3); }
.mybpo-bk-cell.avail.sel { background: #be8c5c; color: #0f0f0f; }

/* ---- right: times ---- */
.mybpo-bk-times {
  border-left: 1px solid rgba(190, 140, 92, 0.25);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mybpo-bk-times-empty p { color: #6b7280; font-size: 13px; }
.mybpo-bk-timeshead { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #F7F6F0; }
.mybpo-bk-timelist {
  overflow-y: auto;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  scrollbar-width: thin;
}
.mybpo-bk-time {
  width: 100%;
  padding: 11px 8px;
  border-radius: 8px;
  border: 1px solid rgba(190, 140, 92, 0.5);
  background: none;
  color: #be8c5c;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.mybpo-bk-time:hover { border-color: #be8c5c; background: rgba(190, 140, 92, 0.1); }
.mybpo-bk-timerow { display: flex; gap: 6px; }
.mybpo-bk-time.picked {
  flex: 1;
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: #F7F6F0;
  cursor: default;
  display: flex; align-items: center; justify-content: center;
}
.mybpo-bk-confirm {
  flex: 1;
  border: 0;
  border-radius: 8px;
  background: #be8c5c;
  color: #0f0f0f;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.mybpo-bk-confirm:hover { background: #e0bfa0; }

/* ---- form step ---- */
.mybpo-bk-formwrap { padding: 20px 24px 26px; position: relative; }
.mybpo-bk-back {
  position: absolute;
  top: 16px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(190, 140, 92, 0.5);
  background: none;
  color: #be8c5c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mybpo-bk-back:hover { background: rgba(190, 140, 92, 0.15); }
.mybpo-bk-chosen {
  display: block;
  margin: 0 0 16px;
  color: #9aa3af;
  font-size: 14px;
  line-height: 1.6;
}
.mybpo-bk-chosen svg { color: #be8c5c; vertical-align: -2px; }
.mybpo-bk-chosen strong { color: #F7F6F0; }
.mybpo-bk-local { color: #6b7280; font-size: 12.5px; }

.mybpo-bk-form { max-width: 440px; }
.mybpo-bk-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  color: #9aa3af;
}
.mybpo-bk-form input, .mybpo-bk-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  background: #0f0f0f;
  color: #F7F6F0;
  font: inherit;
  font-size: 14px;
}
.mybpo-bk-form input:focus, .mybpo-bk-form textarea:focus { outline: none; border-color: #be8c5c; }
.mybpo-bk-form textarea { resize: vertical; }
.mybpo-bk-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; opacity: 0; }

.mybpo-bk-submit {
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: #be8c5c;
  color: #0f0f0f;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}
.mybpo-bk-submit:hover { background: #e0bfa0; }
.mybpo-bk-submit:disabled { opacity: .6; cursor: default; }
.mybpo-bk-err { color: #f87171; margin: 10px 0 0; font-size: 14px; }
.mybpo-bk-loading { color: #9aa3af; }

/* ---- done ---- */
.mybpo-bk-done {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
}
.mybpo-bk-check {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(190, 140, 92, 0.18);
  color: #be8c5c;
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
}
.mybpo-bk-done h3 {
  margin: 0 0 10px;
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-size: 26px;
  color: #F7F6F0;
}
.mybpo-bk-done p { color: #9aa3af; margin: 6px auto; max-width: 420px; }
.mybpo-bk-done strong { color: #be8c5c; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .mybpo-bk-card, .mybpo-bk-card.has-times { grid-template-columns: 1fr; }
  .mybpo-bk-info {
    border-right: 0;
    border-bottom: 1px solid rgba(190, 140, 92, 0.25);
    padding: 18px 20px 14px;
  }
  .mybpo-bk-info h3 { margin-bottom: 8px; font-size: 21px; }
  .mybpo-bk-info ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
  .mybpo-bk-info li { margin-bottom: 0; }
  .mybpo-bk-blurb { display: none; }
  .mybpo-bk-times { border-left: 0; border-top: 1px solid rgba(190, 140, 92, 0.25); }
  .mybpo-bk-timelist {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .mybpo-bk-timerow { grid-column: 1 / -1; }
  .mybpo-bk-cal { padding: 16px; }
}
