/* Booking flow — matches the SimplyAi design system */
.bk-page {
  min-height: 100vh;
  background: var(--parchment);
  padding: 120px 0 80px;
}
.bk-page .dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 24, 22, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.4;
  pointer-events: none;
}
.bk-shell {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
}
.bk-hero {
  text-align: center;
  margin-bottom: 48px;
}
.bk-hero h1 {
  font-family: "Newsreader", serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.bk-hero h1 em {
  font-style: italic;
  color: var(--clay);
}
.bk-hero p {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  color: var(--dusk);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.bk-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 40px;
  overflow: hidden;
}
.bk-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.bk-title {
  font-family: "Newsreader", serif;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}
.bk-sub {
  font-family: "Inter Tight", sans-serif;
  color: var(--dusk);
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 32px;
}

/* Event-type picker (step 0) */
.bk-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.bk-event-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.bk-event-card:hover {
  border-color: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.bk-event-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 4px;
}
.bk-event-duration {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  padding: 4px 8px;
  border: 1px solid var(--clay);
  border-radius: 999px;
}
.bk-event-default {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.bk-event-card h3 {
  font-family: "Newsreader", serif;
  font-size: 22px;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 0;
}
.bk-event-card p {
  color: var(--dusk);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.bk-event-cta {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.05em;
  margin-top: 6px;
}
html[data-theme="dark"] .bk-event-card {
  background: #1f1c19;
  border-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .bk-event-card h3 { color: #f4ede1; }

/* Step indicator pill update for 3-step flow already supported by .bk-eyebrow */

/* Make the details form select look like the inputs */
.bk-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%234A4842' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
html[data-theme="dark"] .bk-field select {
  background-color: #1f1c19;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23C4BAA4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.bk-pretty {
  font-family: "Newsreader", serif;
  font-size: 22px;
  color: var(--clay);
  margin-bottom: 32px;
  font-style: italic;
}
.bk-back {
  background: none;
  border: none;
  font-family: "Inter Tight", sans-serif;
  font-size: 13px;
  color: var(--stone);
  cursor: pointer;
  margin-bottom: 24px;
  padding: 0;
}
.bk-back:hover {
  color: var(--clay);
}
.bk-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 16px;
}
@media (max-width: 720px) {
  .bk-split {
    grid-template-columns: 1fr;
  }
  .bk-card {
    padding: 28px 20px;
  }
}
.bk-days-label {
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.bk-days-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bk-days-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.bk-days-header .bk-days-label { margin-bottom: 0; }
.bk-days-pager { display: inline-flex; gap: 6px; }
.bk-days-pager button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.12s var(--ease), border-color 0.12s var(--ease), color 0.12s var(--ease), transform 0.12s var(--ease);
}
.bk-days-pager button:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
  transform: translateY(-1px);
}
.bk-days-pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
html[data-theme="dark"] .bk-days-pager button { background: #1f1c19; border-color: rgba(255,255,255,0.18); color: #f4ede1; }
html[data-theme="dark"] .bk-days-pager button:hover:not(:disabled) { background: #f4ede1; color: #1a1816; border-color: #f4ede1; }
.bk-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--parchment-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: "Inter Tight", sans-serif;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  text-align: left;
}
.bk-day:hover {
  border-color: var(--line-strong);
  transform: translateX(2px);
}
.bk-day.is-selected {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.bk-day.is-selected .bk-day-count {
  color: rgba(255, 255, 255, 0.6);
}
.bk-day-date {
  font-size: 14px;
  font-weight: 500;
}
.bk-day-count {
  font-size: 11px;
  color: var(--stone);
  font-family: "JetBrains Mono", monospace;
}
.bk-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.bk-slot {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  color: var(--ink);
}
.bk-slot:hover {
  border-color: var(--clay);
  color: var(--clay);
}
.bk-slot.is-selected {
  background: var(--clay);
  color: white;
  border-color: var(--clay);
}
.bk-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.bk-form {
  margin-top: 24px;
}
.bk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .bk-grid-2 {
    grid-template-columns: 1fr;
  }
}
.bk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bk-field-full {
  grid-column: 1 / -1;
}
.bk-field span {
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.bk-field input,
.bk-field textarea {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: "Inter Tight", sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s var(--ease);
}
.bk-field input:focus,
.bk-field textarea:focus {
  border-color: var(--clay);
}
.bk-field textarea {
  resize: vertical;
  font-family: "Inter Tight", sans-serif;
}
.bk-consent {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  align-items: flex-start;
  font-family: "Inter Tight", sans-serif;
  font-size: 13px;
  color: var(--dusk);
  line-height: 1.5;
}
.bk-consent input {
  margin-top: 3px;
  accent-color: var(--clay);
}
.bk-confirmed .bk-actions {
  justify-content: flex-start;
}
.bk-confirmed-note {
  font-family: "Inter Tight", sans-serif;
  color: var(--dusk);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}
.bk-loading,
.bk-error,
.bk-empty {
  font-family: "Inter Tight", sans-serif;
  padding: 32px 0;
  color: var(--stone);
  text-align: center;
}
.bk-error strong {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.bk-error-inline {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(184, 85, 46, 0.08);
  color: var(--clay-deep);
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
}

/* Dark mode */
html[data-theme="dark"] .bk-card { background: #1f1c19; border-color: rgba(255,255,255,0.06); }
html[data-theme="dark"] .bk-title,
html[data-theme="dark"] .bk-hero h1 { color: #f4ede1; }
html[data-theme="dark"] .bk-sub,
html[data-theme="dark"] .bk-confirmed-note,
html[data-theme="dark"] .bk-hero p { color: #b5ae9f; }
html[data-theme="dark"] .bk-day { background: #2a2622; color: #f4ede1; border-color: rgba(255,255,255,0.05); }
html[data-theme="dark"] .bk-day.is-selected { background: #f4ede1; color: #1a1816; border-color: #f4ede1; }
html[data-theme="dark"] .bk-day.is-selected .bk-day-count { color: rgba(26, 24, 22, 0.6); }
html[data-theme="dark"] .bk-slot { background: #2a2622; color: #f4ede1; border-color: rgba(255,255,255,0.05); }
html[data-theme="dark"] .bk-field input,
html[data-theme="dark"] .bk-field textarea { background: #2a2622; color: #f4ede1; border-color: rgba(255,255,255,0.08); }
