/* ==========================================================
   Appointment booking (/book-appointment) + manage page
   Dark + lime look, same family as the pricing page.
   ========================================================== */
.bk-page {
  --bk-bg: #0a0a0a;
  --bk-card: #121214;
  --bk-line: rgba(255,255,255,.08);
  --bk-text: rgba(255,255,255,.85);
  --bk-muted: rgba(255,255,255,.55);
  --bk-accent: #A0FF27;
  min-height: 70vh;
  padding: 140px 0 110px;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(160,255,39,.12) 0%, rgba(160,255,39,0) 70%),
    radial-gradient(700px 500px at 90% 100%, rgba(160,255,39,.08) 0%, rgba(160,255,39,0) 70%),
    var(--bk-bg);
  color: var(--bk-text);
}

/* ---------- heading ---------- */
.bk-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.bk-badge {
  display: inline-block;
  position: relative;
  margin-bottom: 16px;
  padding-inline-start: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #A0FF27;
}
.bk-badge::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}
.bk-heading { margin-bottom: 14px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; line-height: 1.1; color: #fff; }
.bk-heading span {
  font-family: var(--tp-ff-playfair, serif);
  font-style: italic;
  background: linear-gradient(90deg, #C6FF5C 0%, #A0FF27 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bk-subheading { margin: 0; font-size: 17px; color: var(--bk-muted); }

/* ---------- buttons ---------- */
.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid #A0FF27;
  border-radius: 999px;
  background: #A0FF27;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.bk-btn:hover { background: #fff; border-color: #fff; color: #0a0a0a; }
.bk-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.bk-btn-outline:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.bk-btn-danger { background: #e5484d; border-color: #e5484d; color: #fff; }
.bk-btn-danger:hover { background: #c93a3f; border-color: #c93a3f; color: #fff; }
.bk-link { border: 0; padding: 0; background: none; color: #A0FF27; font-weight: 600; text-decoration: underline; cursor: pointer; }
.bk-link-danger { color: #ff7b7f; }

/* ---------- meeting type chooser ---------- */
.bk-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 28px 24px;
  overflow: hidden;
  border: 1px solid var(--bk-line);
  border-radius: 20px;
  background: var(--bk-card);
  color: var(--bk-text);
  transition: transform .3s ease, border-color .3s ease;
}
.bk-type-card::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 5px; background: var(--bk-accent); }
.bk-type-card:hover { transform: translateY(-6px); border-color: var(--bk-accent); color: var(--bk-text); }
.bk-type-card h3 { margin: 14px 0 10px; font-size: 22px; font-weight: 600; color: #fff; }
.bk-type-card p { margin-bottom: 18px; font-size: 14px; line-height: 1.6; color: var(--bk-muted); }
.bk-type-duration, .bk-type-location { font-size: 14px; color: var(--bk-muted); }
.bk-type-duration i, .bk-type-location i { width: 18px; color: var(--bk-accent); }
.bk-type-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--bk-accent); }

.bk-empty { max-width: 560px; margin: 0 auto; padding: 50px 24px; border: 1px dashed rgba(255,255,255,.18); border-radius: 20px; text-align: center; }

/* ---------- widget ---------- */
.bk-widget {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--bk-line);
  border-radius: 24px;
  background: var(--bk-card);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.bk-info { position: relative; padding: 32px; border-inline-end: 1px solid var(--bk-line); }
.bk-info::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 100%; height: 4px; background: var(--bk-accent); }
.bk-link-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--bk-muted); }
.bk-link-back:hover { color: #fff; }
.bk-host { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--bk-muted); }
.bk-title { margin-bottom: 22px; font-size: 26px; font-weight: 700; line-height: 1.25; color: #fff; }
.bk-meta { margin: 0 0 20px; padding: 0; list-style: none; }
.bk-meta li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 15px; font-weight: 500; color: var(--bk-text); word-break: break-word; }
.bk-meta li i { width: 18px; margin-top: 4px; flex-shrink: 0; color: var(--bk-accent); text-align: center; }
.bk-meta-selected { color: var(--bk-accent) !important; }
.bk-meta-lg li { font-size: 16px; }
.bk-meta .is-struck { text-decoration: line-through; opacity: .6; }
.bk-desc { padding-top: 18px; border-top: 1px solid var(--bk-line); font-size: 14px; line-height: 1.7; color: var(--bk-muted); }

.bk-main { position: relative; padding: 32px; }
.bk-step { display: none; }
.bk-step.is-active { display: block; animation: bkFade .3s ease; }
@keyframes bkFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bk-step-title { margin-bottom: 22px; font-size: 20px; font-weight: 600; color: #fff; }

.bk-calendar-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; }
.bk-calendar-wrap.has-times { grid-template-columns: minmax(0, 1fr) 220px; }

.bk-cal-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 18px; }
.bk-cal-month { min-width: 170px; text-align: center; font-size: 16px; font-weight: 600; color: #fff; }
.bk-cal-nav {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(160,255,39,.12);
  color: #A0FF27;
  cursor: pointer;
  transition: background .2s ease;
}
.bk-cal-nav:hover:not(:disabled) { background: rgba(160,255,39,.25); }
.bk-cal-nav:disabled { background: transparent; color: rgba(255,255,255,.2); cursor: default; }
.bk-cal-weekdays, .bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bk-cal-weekdays { margin-bottom: 8px; }
.bk-cal-weekdays span { text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--bk-muted); }
.bk-cal-body { position: relative; }
.bk-day {
  position: relative;
  width: 100%;
  max-width: 48px;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.28);
  font-size: 15px;
  font-weight: 500;
  cursor: default;
}
.bk-day.is-blank { visibility: hidden; }
.bk-day.is-available {
  background: color-mix(in srgb, var(--bk-accent) 14%, transparent);
  color: var(--bk-accent);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.bk-day.is-available:hover { background: color-mix(in srgb, var(--bk-accent) 28%, transparent); transform: scale(1.05); }
.bk-day.is-selected, .bk-day.is-selected:hover { background: var(--bk-accent); color: #0a0a0a; }
.bk-day.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}
.bk-cal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,18,20,.6);
}
.bk-cal-loading[hidden] { display: none; }
.bk-cal-empty { margin-top: 16px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.04); text-align: center; font-size: 14px; color: var(--bk-muted); }
.bk-cal-empty p { margin-bottom: 8px; }
.bk-next-available { border: 0; background: none; color: #A0FF27; font-weight: 600; cursor: pointer; }

.bk-tz { margin-top: 24px; }
.bk-tz label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--bk-muted); }
.bk-tz-select, .bk-field input, .bk-field select, .bk-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease;
}
.bk-tz-select option, .bk-field select option { color: #111; }
.bk-tz-select:focus, .bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { border-color: #A0FF27; }

.bk-times-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bk-times-date { font-size: 14px; font-weight: 600; color: #fff; }
.bk-format { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); }
.bk-format button { padding: 4px 10px; border: 0; border-radius: 999px; background: none; color: var(--bk-muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.bk-format button.is-active { background: #fff; color: #0a0a0a; }
.bk-times-list { display: flex; flex-direction: column; gap: 8px; max-height: 390px; padding-inline-end: 4px; overflow-y: auto; }
.bk-time-row { display: flex; gap: 8px; }
.bk-time, .bk-time-next {
  flex: 1 1 0;
  min-height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.bk-time { border: 1px solid color-mix(in srgb, var(--bk-accent) 55%, transparent); background: transparent; color: var(--bk-accent); }
.bk-time:hover { border-color: var(--bk-accent); border-width: 2px; }
.bk-time-next { display: none; border: 0; background: var(--bk-accent); color: #0a0a0a; }
.bk-time-row.is-selected .bk-time { border-color: transparent; background: rgba(255,255,255,.14); color: #fff; }
.bk-time-row.is-selected .bk-time-next { display: block; animation: bkFade .2s ease; }

.bk-alert { margin-top: 16px; padding: 12px 16px; border: 1px solid rgba(229,72,77,.4); border-radius: 12px; background: rgba(229,72,77,.1); color: #ffb3b5; font-size: 14px; }
.bk-alert[hidden] { display: none; }
.bk-back-btn { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 0; border: 0; background: none; color: var(--bk-muted); font-size: 14px; cursor: pointer; }
.bk-back-btn:hover { color: #fff; }

.bk-field { margin-bottom: 18px; }
.bk-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--bk-muted); }
.bk-field textarea { min-height: 100px; resize: vertical; }
.bk-error { display: block; min-height: 0; margin-top: 4px; font-size: 12px; color: #ff7b7f; }
.bk-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--bk-accent);
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease;
}
.bk-submit:hover { filter: brightness(1.1); }
.bk-submit:disabled { opacity: .7; cursor: wait; }

.bk-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(160,255,39,.25);
  border-top-color: #A0FF27;
  border-radius: 50%;
  animation: bkSpin .8s linear infinite;
}
.bk-spinner-sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(10,10,10,.25); border-top-color: #0a0a0a; }
@keyframes bkSpin { to { transform: rotate(360deg); } }

/* ---------- manage page ---------- */
.bk-flash { max-width: 760px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 14px; font-size: 14px; }
.bk-flash-success { border: 1px solid rgba(160,255,39,.4); background: rgba(160,255,39,.1); color: #d9ffab; }
.bk-flash-error { border: 1px solid rgba(229,72,77,.4); background: rgba(229,72,77,.1); color: #ffb3b5; }
.bk-manage { max-width: 760px; margin: 0 auto; }
.bk-manage-head { margin-bottom: 26px; text-align: center; }
.bk-manage-head h1 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: #fff; }
.bk-manage-head p { margin: 0; color: var(--bk-muted); }
.bk-manage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #A0FF27;
  color: #0a0a0a;
  font-size: 26px;
}
.bk-manage-icon.is-cancelled { background: #e5484d; color: #fff; }
.bk-manage-icon.is-pending { background: #FFB701; color: #0a0a0a; }
.bk-manage-icon.is-muted { background: rgba(255,255,255,.1); color: #fff; }
.bk-manage-card { padding: 32px; border: 1px solid var(--bk-line); border-radius: 22px; background: var(--bk-card); }
.bk-manage-title { margin-bottom: 20px; font-size: 22px; font-weight: 600; color: #fff; }
.bk-manage-card a { color: #A0FF27; }
.bk-manage-card .bk-btn { color: #0a0a0a; }
.bk-manage-card .bk-btn-outline { color: #fff; }
.bk-manage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.bk-manage-change { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--bk-line); font-size: 14px; color: var(--bk-muted); }
.bk-cancel-form { margin-top: 18px; }
.bk-reschedule { max-width: 1100px; margin: 40px auto 0; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .bk-page { padding: 110px 0 80px; }
  .bk-widget { grid-template-columns: 1fr; }
  .bk-info { border-inline-end: 0; border-bottom: 1px solid var(--bk-line); }
  .bk-calendar-wrap.has-times { grid-template-columns: 1fr; }
  .bk-times-list { max-height: none; }
}
@media (max-width: 575px) {
  .bk-info, .bk-main, .bk-manage-card { padding: 22px 18px; }
  .bk-cal-weekdays, .bk-cal-grid { gap: 3px; }
  .bk-day { font-size: 14px; }
  .bk-submit { width: 100%; }
}
