/* Booking page — calendar and confirmation modal */

.calendar {
  margin: 0.25rem 0 0.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.calendar-title {
  font-weight: 600;
  color: var(--gold-light);
  text-align: center;
  flex: 1;
}

.calendar-nav {
  min-width: 2.5rem;
  padding: 0.35rem 0.6rem;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-weekdays {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
}

.cal-empty {
  visibility: hidden;
}

.cal-day {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.cal-day:hover:not(:disabled) {
  border-color: rgba(216, 187, 112, 0.45);
  background: rgba(216, 187, 112, 0.08);
}

.cal-day.cal-selected {
  border-color: rgba(216, 187, 112, 0.75);
  background: rgba(216, 187, 112, 0.16);
  color: var(--gold-light);
  font-weight: 600;
}

.cal-day.cal-disabled,
.cal-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 100;
}

.booking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
  width: min(92vw, 28rem);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.booking-modal h3 {
  margin-bottom: 1rem;
}

.modal-summary {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.modal-summary strong {
  color: var(--text);
}

.modal-summary hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.35rem 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}
