/* Global styles */
body {
  font-family: 'Segoe UI', sans-serif;
}

/* Calendar section */
#calendar {
  max-height: 100%;
  overflow: hidden;
}

/* Prevent FullCalendar from overflowing */
.fc {
  max-height: 100% !important;
  overflow: hidden !important;
}

/* Booking section layout */
.container .card {
  border-radius: 20px;
  overflow: hidden;
}

/* Slots container with horizontal scroll */
#slots {
    max-width: 100%;
    white-space: nowrap;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    scroll-behavior: auto;
    overflow-y: scroll;
    overflow-x: auto;
    max-height: 500px;
}

/* Time slot style */
#slots .slot {
  display: inline-block;         /* Horizontal alignment */
  padding: 10px 16px;
  margin-right: 10px;
  border: 2px solid #007bff;
  width:100%;
  cursor: pointer;
  color: #007bff;
  transition: 0.3s ease;
  font-weight: 500;
  background-color: white;
  white-space: nowrap;           /* Prevent text wrapping */
  text-align: center;
}

#slots .slot:hover,
#slots .slot.selected {
  background-color: #007bff;
  color: white;
}

#slots .slot.disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container .row {
    flex-direction: column;
  }

  #calendar {
    margin-bottom: 20px;
  }
}
 
/* FullCalendar day grid tweaks */
.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
  margin-bottom: unset !important;
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
  min-height: 10px !important;
}

#calendar .fc-col-header-cell a {
  color: #000 !important;
  text-decoration: none !important;
}

.fc-daygrid-day-top a {
  color: #000 !important;
  text-decoration: none !important;
}

.slot.selected {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}
.slot.disabled {
  pointer-events: none;
  opacity: 0.6;
}
