/* === BOOK PAGE === */

/* Hero */
.book-hero {
  padding: 120px 32px 48px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-dim);
}
.book-hero-inner { max-width: 680px; margin: 0 auto; }
.book-hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 16px;
  line-height: 1.15;
}
.book-hero-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
}
.book-trust-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.book-trust-item {
  font-size: 0.875rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.book-trust-icon { color: var(--accent); font-weight: 700; }

/* Layout */
.book-flow-section { padding: 56px 24px 0; }
.book-flow-inner { max-width: 760px; margin: 0 auto; }

/* Step indicator */
.book-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}
.book-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.book-step.book-step-active { opacity: 1; }
.book-step.book-step-done { opacity: 0.7; }
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.book-step.book-step-active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.book-step.book-step-done .step-num {
  background: var(--accent-3);
  border-color: var(--accent-3);
  color: #fff;
}
.step-label { font-size: 0.875rem; font-weight: 600; color: var(--text-2); }
.book-step.book-step-active .step-label { color: var(--text); }
.book-step-divider {
  flex: 1;
  height: 1px;
  background: var(--border-dim);
  margin: 0 16px;
  max-width: 80px;
}

/* Panel */
.book-panel { margin-bottom: 48px; }

/* No slots */
.book-no-slots {
  padding: 40px;
  text-align: center;
  background: var(--bg-2);
  border-radius: 12px;
  border: 1px solid var(--border-dim);
  color: var(--text-2);
}
.book-no-slots a { color: var(--accent); }

/* Slot picker hint */
.book-panel-hint {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: 20px;
}

/* Slot groups */
.slot-groups { display: flex; flex-direction: column; gap: 28px; }
.slot-day-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}
.slot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.slot-chip {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--border-dim);
  background: var(--bg-3);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.slot-chip:hover:not([disabled]) {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}
.slot-chip:active:not([disabled]) { transform: translateY(0); }
.slot-chip-taken {
  opacity: 0.32;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Selected slot display */
.book-selected-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(37, 99, 235, 0.1);
  border: 1.5px solid rgba(37, 99, 235, 0.4);
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  flex-wrap: wrap;
}
.book-selected-icon { font-size: 1.1rem; }
.book-change-slot {
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-dim);
  color: var(--text-2);
  font-size: 0.8125rem;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.15s, color 0.15s;
}
.book-change-slot:hover { border-color: var(--accent); color: var(--text); }

/* Book form field styles (mirrors strategy-form but unscoped) */
.book-form .form-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.book-form .form-row-2 { flex-direction: row; }
.book-form .form-row-2 > * { flex: 1; min-width: 0; }
.book-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.book-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.4;
}
.book-form input,
.book-form select,
.book-form textarea {
  background: var(--bg-3);
  border: 1.5px solid var(--border-dim);
  border-radius: 8px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  padding: 11px 14px;
  width: 100%;
  transition: border-color 0.15s;
  outline: none;
}
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus { border-color: var(--accent); }
.book-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.book-form select option { background: var(--bg-3); color: var(--text); }
.book-form textarea { resize: vertical; min-height: 88px; }
.book-form input::placeholder,
.book-form textarea::placeholder { color: var(--text-3); }

.book-submit-btn {
  display: block;
  width: 100%;
  padding: 15px 28px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}
.book-submit-btn:hover:not(:disabled) { background: var(--accent-2); transform: translateY(-1px); }
.book-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #f87171;
  line-height: 1.5;
}

/* Success panel */
.book-success-panel { text-align: center; padding: 48px 16px; }
.book-success-icon {
  width: 64px; height: 64px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
  color: var(--green);
}
.book-success-headline {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.book-success-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.book-success-slot {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.book-success-note {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-bottom: 28px;
}
.book-success-back { display: inline-flex; }

/* Sidebar value props */
.book-sidebar-section { padding: 48px 24px 72px; }
.book-sidebar-inner { max-width: 760px; margin: 0 auto; }
.book-sidebar-props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.book-prop {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px solid var(--border-dim);
}
.book-prop-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.2; margin-top: 2px; }
.book-prop strong { display: block; font-size: 0.9375rem; margin-bottom: 4px; color: var(--text); }
.book-prop p { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; margin: 0; }

/* Active nav state */
.header-nav-active { color: var(--accent) !important; }

/* Responsive */
@media (max-width: 680px) {
  .book-hero { padding: 100px 20px 40px; }
  .book-form .form-row-2 { flex-direction: column; }
  .book-sidebar-props { grid-template-columns: 1fr; }
  .book-steps { margin-bottom: 24px; }
  .book-selected-slot { font-size: 0.875rem; }
  .slot-chip { padding: 8px 14px; font-size: 0.875rem; }
  .book-flow-inner, .book-sidebar-inner { max-width: 100%; }
}
