/* FullCalendar custom styles */
.calendar-container {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* Calendar header */
.fc-header-toolbar {
  margin-bottom: 20px !important;
}

.fc-toolbar-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #333 !important;
}

.fc-button-primary {
  background-color: #667eea !important;
  border-color: #667eea !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
}

.fc-button-primary:hover {
  background-color: #5a6fd8 !important;
  border-color: #5a6fd8 !important;
}

.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
  background-color: #4c63d2 !important;
  border-color: #4c63d2 !important;
}

/* Calendar grid */
.fc-theme-standard td,
.fc-theme-standard th {
  border-color: #e5e7eb !important;
}

.fc-daygrid-day {
  min-height: 120px !important;
}

.fc-daygrid-day-number {
  font-weight: 600 !important;
  color: #374151 !important;
  padding: 8px !important;
}

.fc-day-today {
  background-color: #f0f9ff !important;
}

.fc-day-today .fc-daygrid-day-number {
  background-color: #3b82f6 !important;
  color: white !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Events */
.fc-event {
  border: none !important;
  border-radius: 6px !important;
  margin: 2px !important;
  padding: 4px 6px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.fc-event:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.fc-event-main {
  padding: 0 !important;
}

.fc-event-title {
  font-weight: 600 !important;
  font-size: 12px !important;
  color: white !important;
  margin-bottom: 2px !important;
}

.fc-event-details {
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.2 !important;
}

.fc-event-trainer,
.fc-event-location,
.fc-event-spots {
  margin-bottom: 1px !important;
}

/* Day headers */
.fc-col-header-cell {
  background-color: #f9fafb !important;
  font-weight: 600 !important;
  color: #374151 !important;
  padding: 12px 8px !important;
}

/* Other month days */
.fc-daygrid-day.fc-day-other .fc-daygrid-day-number {
  color: #9ca3af !important;
}

/* Responsive */
@media (max-width: 768px) {
  .calendar-container {
    padding: 16px;
    margin-top: 16px;
  }
  
  .fc-toolbar {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .fc-toolbar-title {
    font-size: 20px !important;
  }
  
  .fc-daygrid-day {
    min-height: 80px !important;
  }
  
  .fc-event-title {
    font-size: 11px !important;
  }
  
  .fc-event-details {
    font-size: 9px !important;
  }
}