/* book.css — the public /book page (Calendly-style picker against the
   founder's Google Calendar free/busy). Styled to match the landing page:
   the same "ask avi." wordmark (Gabarito 900, ink, coral dot), the same
   cream ground and fixed hex palette, and Gabarito headings — fixed hex,
   like landing.css, so the design holds in dark mode too. */
.bk {
  min-height: 100vh;
  background: #f7f2e9;
  color: #241f19;
  padding: 48px 16px 64px;
  box-sizing: border-box;
  font-family: 'Gabarito', system-ui, -apple-system, sans-serif;
}
.bk-top {
  max-width: 560px;
  margin: 0 auto 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
/* The landing-page wordmark: Gabarito 900, tight tracking, ink, coral dot. */
.bk-brand {
  font-family: 'Gabarito', system-ui, -apple-system, sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #241f19;
  text-decoration: none;
  transition: opacity 0.15s;
}
.bk-brand:hover { opacity: 0.75; }
.bk-dot { color: #c2603e; }
.bk-top-meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7c6a;
}
.bk-card {
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.bk-card > div { padding: 28px; }
.bk-card .bk-loading,
.bk-card .bk-unavailable { padding: 40px 28px; }

.bk-title {
  margin: 0 0 4px;
  font-family: 'Gabarito', system-ui, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #241f19;
}
.bk-sub {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b5d48;
  max-width: 460px;
}
.bk-sub a { color: #c2603e; }
.bk-sub:last-child { margin-bottom: 0; }

.bk-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--avi-mute);
  font-size: 14px;
}
.bk-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--avi-line);
  border-top-color: #c2603e;
  border-radius: 50%;
  animation: bk-spin 0.8s linear infinite;
}
@keyframes bk-spin { to { transform: rotate(360deg); } }

.bk-picker .bk-days {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 4px;
}
.bk-day-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--avi-ink);
}
.bk-slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.bk-slot {
  background: #fff;
  border: 1px solid #c2603e;
  color: #c2603e;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.bk-slot:hover { background: #c2603e; color: #fff; }

.bk-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bk-picked {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--avi-line);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #241f19;
}
.bk-change {
  margin-left: auto;
  background: none;
  border: none;
  color: #c2603e;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}
.bk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bk-field > span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7c6a;
}
.bk-consent {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.bk-consent input { width: auto; margin-top: 3px; }
.bk-consent span { font-size: 13px; line-height: 1.5; text-transform: none; letter-spacing: normal; font-weight: 400; }
.bk-field input,
.bk-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--avi-line);
  background: #fff;
  color: #241f19;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.bk-field input:focus,
.bk-field textarea:focus { border-color: #c2603e; }
.bk-error {
  margin: 0;
  font-size: 13px;
  color: var(--avi-red);
}
.bk-confirm {
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #c2603e;
  cursor: pointer;
}
.bk-confirm:disabled { opacity: 0.7; cursor: wait; }

.bk-done .bk-sub { margin-bottom: 8px; }
.bk-meet { margin: 0; }
.bk-meet a {
  font-size: 14px;
  color: #c2603e;
  font-weight: 600;
}

/* Post-booking retention block ("Keep Avi in your corner") — shown by
   book-provider.js after a successful booking. */
.bk-retention {
  margin-top: 18px;
  padding: 16px 18px;
  background: #f7f2e9;
  border: 1px solid var(--avi-line);
  border-radius: 10px;
}
.bk-retention-title {
  margin: 0 0 10px;
  font-weight: 700;
  color: #241f19;
}
.bk-retention-steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b5d48;
}
.bk-retention-steps strong { color: #241f19; }
.bk-inline {
  display: inline;
  white-space: nowrap;
  font-size: 12.5px;
  color: #8a7c6a;
}
.bk-inline input { width: auto; margin: 0 2px; vertical-align: -1px; }
.bk-notif-wrap { display: inline; }

@media (max-width: 600px) {
  .bk { padding: 24px 12px 48px; }
  .bk-card > div { padding: 22px 18px; }
}