body {
  background: var(--sage);
  padding: 40px 16px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.portal-wrapper {
  width: 100%;
  max-width: 960px;
}

.header-card {
  text-align: center;
}

.logo {
  width: 120px;
  margin-bottom: 12px;
}

.slogan {
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

/* Calendar styling */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 0;
}

.cal-nav-btn {
  background: var(--sage-dark);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}

.cal-nav-btn:hover {
  background: #5f7a5d;
}

#monthDisplay {
  font-weight: bold;
  min-width: 180px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.calendar-day-btn {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #dde3d7;
  border-radius: 6px;
  background: #f9faf7;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.calendar-day-btn:not(:disabled):hover {
  background: #eef2eb;
  border-color: var(--sage-dark);
}

.calendar-day-btn.selected {
  background: var(--sage-dark);
  color: white;
  border-color: var(--sage-dark);
}

.calendar-day-btn:disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* Time slot styling */
#timeslotsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.timeslot-btn {
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid #dde3d7;
  background: #f9faf7;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.timeslot-btn:hover {
  background: #eef2eb;
  border-color: var(--sage-dark);
}

.timeslot-btn.selected {
  background: var(--sage-dark);
  color: white;
  border-color: var(--sage-dark);
}

#bookingCard {
  display: none;
}