/* Public demo booking — matches parkme-web-app /book styles */
.book-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.book-header {
  margin-bottom: 1.25rem;
}

.book-title {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
}

.book-lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: #334155;
}

.book-muted {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.book-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.book-card--narrow {
  max-width: 420px;
  margin: 0 auto;
}

.book-card--success {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.book-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1rem;
  align-items: start;
}

.book-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.book-calendar-month-label {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
}

.book-calendar-nav-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 1.35rem;
  line-height: 1;
  color: #334155;
  cursor: pointer;
}

.book-calendar-nav-btn:hover:not(:disabled) {
  background: #e2e8f0;
}

.book-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.book-calendar-weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
}

.book-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.book-calendar-day {
  position: relative;
  aspect-ratio: 1;
  min-height: 2.75rem;
  padding: 0.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  cursor: pointer;
}

.book-calendar-day--muted {
  color: #94a3b8;
  background: #fafafa;
}

.book-calendar-day--available:not(:disabled):hover {
  background: #e3f2fd;
  border-color: #90caf9;
}

.book-calendar-day--today {
  box-shadow: inset 0 0 0 2px #2563eb;
}

.book-calendar-day--selected {
  background: #2563eb;
  color: #fff;
  border-color: #1d4ed8;
}

.book-calendar-day--selected .book-calendar-day-dot {
  background: #fff;
}

.book-calendar-day:disabled {
  opacity: 0.45;
  cursor: default;
  background: #f1f5f9;
}

.book-calendar-day-num {
  font-size: 0.95rem;
  line-height: 1.2;
}

.book-calendar-day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.book-slots-panel {
  min-height: 280px;
}

.book-slots-heading {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.book-slot-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.book-slot-chip {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
}

.book-slot-chip-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  line-height: 1.3;
}

.book-slot-chip-host {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

.book-slot-chip:hover {
  background: #eff6ff;
  border-color: #2563eb;
}

.book-back {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  background: none;
  color: #2563eb;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
}

.book-back:hover {
  text-decoration: underline;
}

.book-selected-time {
  margin: 0 0 1.25rem;
  line-height: 1.5;
  color: #334155;
}

.book-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: #334155;
}

.book-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.book-btn-primary {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.book-btn-primary:hover {
  background: #1d4ed8;
}

.book-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.book-meet-link {
  margin: 1rem 0;
}

.error-message {
  color: #b91c1c;
  font-size: 0.95rem;
}

.loading {
  color: #64748b;
}

@media (max-width: 768px) {
  .book-calendar-layout {
    grid-template-columns: 1fr;
  }

  .book-slots-panel {
    min-height: auto;
  }
}
