/* Custom Calendar Styles */
.calendar {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fffbf0;
  border: 1px solid #dddbf0;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-size: 1.1em;
  width: 320px;
  max-width: none;
}

.calendar-nav {
  cursor: pointer;
  user-select: none;
  font-size: 1.2em;
  padding: 0 10px;
  transition: color 0.3s ease;
}

.calendar-nav:hover:not(.disabled) {
  color: #3b5c71;
}

.calendar-nav.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

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

.calendar-day {
  text-align: center;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px;
  font-size: 0.9em;
}

.calendar-day:hover:not(.disabled):not(.booked-out):not(.closed):not(.blocked) {
  background-color: #cccbf0;
}

.calendar-day.selected {
  background-color: #3b5c71;
  color: #fffbf0;
}

.calendar-day.selected:hover {
  background-color: #344753;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.weekday {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  padding: 5px;
  font-size: 0.9em;
}

.calendar-day.booked-out {
  background-color: #ffcccc;
  color: #999;
  cursor: not-allowed;
}

.calendar-day.disabled,
.calendar-day.closed,
.calendar-day.past,
.calendar-day.holiday-past {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.blocked {
  color: #ccc;
  cursor: not-allowed;
  text-decoration: line-through;
}

