/* ============================================================
   LENDOLOGY COACHING BOOKING — Scoped under .bk
   ============================================================ */

.bk {
  font-family: 'DM Sans', sans-serif;
  color: #0d1b2a;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ============ MAIN LAYOUT ============ */
.bk .stage {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.bk .crumb {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #718096;
  margin-bottom: 20px;
}

.bk .crumb .active { color: #12253a; }

.bk .card {
  background: #fff;
  border: 1px solid rgba(18,37,58,.14);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 560px;
}

@media (max-width: 768px) {
  .bk .card {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* ============ MEETING SIDEBAR ============ */
.bk .sidebar {
  background: #0c1d2e;
  color: white;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bk .sidebar::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(30,220,170,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.bk .broker-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1edcaa;
  margin-bottom: 8px;
}

.bk .broker-name { font-size: 20px; font-weight: 800; line-height: 1.1; margin-bottom: 4px; }
.bk .broker-cred { color: rgba(255,255,255,0.55); font-size: 12px; margin-bottom: 20px; }
.bk .meeting-title { font-size: 18px; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }

.bk .meeting-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; position: relative; z-index: 2; }
.bk .meta-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.75); }
.bk .meta-icon { width: 16px; height: 16px; flex-shrink: 0; stroke: #1edcaa; fill: none; stroke-width: 1.5; }

.bk .meeting-desc {
  color: rgba(255,255,255,0.6);
  font-size: 12.5px;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  position: relative;
  z-index: 2;
}

/* ============ STEP PANEL ============ */
.bk .panel { padding: 32px; overflow-y: auto; }
@media (max-width: 768px) { .bk .panel { overflow-y: visible; } }

.bk .step-head { margin-bottom: 24px; }
.bk .step-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #17b38a; margin-bottom: 8px; }
.bk .step-title { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; line-height: 1.15; color: #12253a; margin-bottom: 6px; }
.bk .step-sub { color: #4a5568; font-size: 14px; }

/* ============ CALENDAR ============ */
.bk .cal-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.bk .cal-month { font-size: 17px; font-weight: 800; color: #12253a; }
.bk .cal-nav { display: flex; gap: 4px; }
.bk .cal-arrow { background: transparent; border: 1px solid rgba(18,37,58,.08); width: 34px; height: 34px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #12253a; transition: all 0.15s; }
.bk .cal-arrow:hover { background: #f5f7fa; border-color: rgba(18,37,58,.14); }
.bk .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk .cal-dow { font-size: 11px; font-weight: 700; color: #718096; text-align: center; padding: 8px 0; letter-spacing: 0.06em; }

.bk .cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #0d1b2a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}

.bk .cal-day.available { background: #e6fdf5; color: #12253a; font-weight: 600; }
.bk .cal-day.available:hover { background: #1edcaa; color: #12253a; }
.bk .cal-day.weekend-appt { background: transparent; border: 1px dashed rgba(18,37,58,.08); color: #718096; }
.bk .cal-day.weekend-appt:hover { border-color: #17b38a; color: #12253a; }
.bk .cal-day.unavailable { color: #c5c8cd; cursor: not-allowed; pointer-events: none; }
.bk .cal-day.past { color: #d5d8dd; cursor: not-allowed; pointer-events: none; }
.bk .cal-day.today { border-color: #12253a; }
.bk .cal-day.selected { background: #12253a; color: white; font-weight: 600; }

.bk .cal-legend { display: flex; gap: 16px; margin-top: 18px; font-size: 11px; font-weight: 600; color: #718096; letter-spacing: 0.04em; }
.bk .legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }

/* ============ TIME SLOTS ============ */
.bk .selected-date-banner { background: #f5f7fa; border: 1px solid rgba(18,37,58,.08); border-left: 3px solid #1edcaa; padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.bk .selected-date-banner .date-text { font-size: 16px; font-weight: 700; color: #12253a; }
.bk .selected-date-banner .change-btn { background: transparent; border: none; color: #17b38a; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.bk .selected-date-banner .change-btn:hover { text-decoration: underline; }

.bk .slots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk .slot { background: white; border: 1px solid rgba(18,37,58,.08); border-radius: 6px; padding: 12px 14px; font-size: 14px; font-weight: 500; color: #12253a; cursor: pointer; text-align: left; transition: all 0.12s; display: flex; justify-content: space-between; align-items: center; }
.bk .slot:hover { border-color: #12253a; background: #f5f7fa; }
.bk .slot.selected { border-color: #17b38a; background: #e6fdf5; }
.bk .slot-meta { font-size: 10px; font-weight: 600; color: #718096; letter-spacing: 0.04em; }
.bk .timezone-note { margin-top: 18px; font-size: 11px; font-weight: 600; color: #718096; display: flex; justify-content: space-between; }
.bk .slots-loading, .bk .slots-empty { text-align: center; padding: 40px 0; color: #718096; font-size: 14px; }

/* ============ FORM ============ */
.bk .form-group { margin-bottom: 18px; }
.bk .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk label { display: block; font-size: 12px; font-weight: 600; color: #12253a; margin-bottom: 5px; }
.bk label .required { color: #17b38a; margin-left: 2px; }
.bk label .optional { font-weight: 400; color: #718096; margin-left: 6px; font-size: 11px; }

.bk input[type="text"],
.bk input[type="email"],
.bk input[type="tel"],
.bk select,
.bk textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(18,37,58,.08);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #0d1b2a;
  background: #f5f7fa;
  transition: border-color 0.15s;
}

.bk input:focus, .bk select:focus, .bk textarea:focus { outline: none; border-color: #1edcaa; background: white; }
.bk textarea { resize: vertical; min-height: 70px; }
.bk select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312253a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

.bk .radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk .radio-card { border: 1.5px solid rgba(18,37,58,.08); border-radius: 8px; padding: 12px 14px; cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 10px; background: #f5f7fa; }
.bk .radio-card:hover { border-color: rgba(18,37,58,.14); }
.bk .radio-card.selected { border-color: #1edcaa; background: #e6fdf5; }
.bk .radio-card input { display: none; }
.bk .radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(18,37,58,.14); flex-shrink: 0; position: relative; }
.bk .radio-card.selected .radio-dot { border-color: #17b38a; }
.bk .radio-card.selected .radio-dot::after { content: ''; position: absolute; inset: 3px; background: #17b38a; border-radius: 50%; }
.bk .radio-label { font-size: 14px; font-weight: 500; color: #12253a; }

.bk .confidentiality { background: #f5f7fa; border: 1px solid rgba(18,37,58,.08); border-radius: 8px; padding: 14px 16px; margin: 20px 0; font-size: 12.5px; color: #4a5568; line-height: 1.6; display: flex; gap: 10px; }
.bk .conf-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: #17b38a; fill: none; stroke-width: 1.5; }

/* ============ BUTTONS ============ */
.bk .action-row { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(18,37,58,.08); }
.bk .btn { font-family: inherit; font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 999px; cursor: pointer; transition: all 0.17s; border: none; }
.bk .btn-primary { background: #1edcaa; color: #12253a; }
.bk .btn-primary:hover { background: #17b38a; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30,220,170,.3); }
.bk .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.bk .btn-ghost { background: transparent; color: #718096; padding: 10px 16px; }
.bk .btn-ghost:hover { color: #12253a; }

/* ============ CONFIRMATION ============ */
.bk .confirm-stage { padding: 32px 24px; text-align: center; background: white; }
.bk .confirm-mark { width: 64px; height: 64px; margin: 0 auto 24px; background: #e6fdf5; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.bk .confirm-mark::after { content: ''; position: absolute; inset: -6px; border: 1px solid #1edcaa; border-radius: 50%; opacity: 0.4; }
.bk .confirm-mark svg { width: 28px; height: 28px; stroke: #17b38a; fill: none; stroke-width: 2.5; }
.bk .confirm-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: #12253a; margin-bottom: 8px; line-height: 1.1; }
.bk .confirm-sub { color: #4a5568; font-size: 15px; margin-bottom: 32px; }

.bk .booking-summary { background: #f5f7fa; border: 1px solid rgba(18,37,58,.08); border-radius: 14px; padding: 24px 28px; text-align: left; max-width: 440px; margin: 0 auto 32px; }
.bk .summary-title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #17b38a; margin-bottom: 14px; }
.bk .summary-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(18,37,58,.08); font-size: 13px; }
.bk .summary-row:last-child { border-bottom: none; }
.bk .summary-label { color: #718096; }
.bk .summary-value { color: #12253a; font-weight: 600; }

.bk .prep-list { max-width: 480px; margin: 0 auto 28px; text-align: left; }
.bk .prep-title { font-size: 18px; font-weight: 800; color: #12253a; margin-bottom: 14px; text-align: center; }
.bk .prep-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(18,37,58,.08); align-items: flex-start; }
.bk .prep-item:last-child { border-bottom: none; }
.bk .prep-num { color: #17b38a; font-size: 13px; font-weight: 700; flex-shrink: 0; width: 22px; }
.bk .prep-text { color: #0d1b2a; font-size: 13px; line-height: 1.55; }
.bk .prep-text strong { color: #12253a; font-weight: 700; }

.bk .confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.bk .btn-cal { background: white; border: 1px solid rgba(18,37,58,.08); color: #12253a; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: inherit; }
.bk .btn-cal:hover { border-color: #12253a; }

.bk .reschedule-note { font-size: 12px; color: #718096; padding-top: 20px; border-top: 1px solid rgba(18,37,58,.08); max-width: 440px; margin: 0 auto; }
.bk .reschedule-note a { color: #12253a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============ STEP TRANSITIONS ============ */
.bk .step { display: none; animation: bk-fadeIn 0.25s ease; }
.bk .step.active { display: block; }
@keyframes bk-fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ============ TOAST ============ */
.bk .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: #12253a; color: white; padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 1000; transition: transform 0.3s; max-width: 480px; text-align: center; }
.bk .toast.show { transform: translateX(-50%) translateY(0); }
.bk .toast.error { background: #c0392b; }

/* ============ MOBILE ============ */
@media (max-width: 768px) {
  .bk .stage { padding: 20px 12px 48px; }
  .bk .sidebar { padding: 20px; min-height: auto; }
  .bk .panel { padding: 24px 16px; max-height: none; }
  .bk .step-title { font-size: 1.3rem; }
  .bk .cal-legend { flex-wrap: wrap; gap: 10px; }
  .bk .slots-grid { grid-template-columns: 1fr; }
  .bk .form-row { grid-template-columns: 1fr; }
  .bk .radio-group { grid-template-columns: 1fr; }
  .bk .action-row { flex-direction: column-reverse; gap: 10px; }
  .bk .action-row .btn { width: 100%; text-align: center; }
  .bk .confirm-stage { padding: 32px 16px; }
  .bk .confirm-actions { flex-direction: column; }
  .bk .btn-cal { justify-content: center; }
  .bk .timezone-note { flex-direction: column; gap: 4px; }
}
