@charset "UTF-8";
.fc {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  /* Griser les dates passées */
}
.fc h2 {
  font-size: 1.5rem !important;
}
.fc h2::after {
  display: none !important;
}
.fc a {
  color: #000;
}
.fc .fc-day-past {
  background-color: #f0f0f0;
  opacity: 0.5;
}
.fc .fc-day-future.fc-day-sun {
  background-color: #f0f0f0;
  opacity: 0.5;
}
.fc .fc-daygrid-day.fc-day-today {
  background-color: rgba(246, 255, 0, 0.5);
  opacity: 1;
}
.fc .fc-highlight {
  background-color: rgba(0, 140, 255, 0.5);
  color: #fff;
}
.fc .fc-event.fc-event-partial {
  background-color: transparent;
  border: 5px dashed rgba(255, 162, 0, 0.5);
  opacity: 1;
}
.fc .fc-event.fc-event-occupied {
  background-color: rgba(255, 162, 0, 0.5);
  opacity: 1;
}
.fc .fc-view-harness {
  height: 400px !important;
}
@media (max-width: 768px) {
  .fc .fc-view-harness .fc-dayGridYear-view .fc-col-header-cell-cushion {
    font-size: 1.2rem;
  }
}
.fc .fc-view-harness .fc-dayGridYear-view .fc-daygrid-day-frame {
  height: 60px !important;
  min-height: unset !important;
}
@media (max-width: 768px) {
  .fc .fc-view-harness .fc-dayGridYear-view .fc-daygrid-day-frame .fc-daygrid-month-start {
    font-size: 1rem;
  }
}
.fc .fc-event-occupied {
  background-color: rgba(255, 162, 0, 0.5);
}
.fc .fc-event-partial {
  background-color: transparent;
  border: 5px dashed rgba(255, 162, 0, 0.5);
}
.fc .fc-day-future.fc-day-sun.fc-day-sunday-disabled {
  background-color: #f0f0f0;
  opacity: 0.5;
}
.fc .fc-day-future.fc-day-sun.fc-day-sunday-available {
  background-color: #fff;
  opacity: 1;
}

#selection-tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 998;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -100%);
  margin-top: -10px;
}
#selection-tooltip .tooltip-content {
  text-align: center;
}
#selection-tooltip .tooltip-content strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
#selection-tooltip .tooltip-content small {
  opacity: 0.8;
  font-size: 10px;
}

#info-tooltip {
  position: fixed;
  background: rgba(220, 53, 69, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 999;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -100%);
  margin-top: -10px;
}

.fc-legend {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}
.fc-legend h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
}
.fc-legend .legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.fc-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6c757d;
}
.fc-legend .legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}
.fc-legend .legend-color.fc-day-today {
  background-color: rgba(246, 255, 0, 0.5);
}
.fc-legend .legend-color.fc-highlight {
  background-color: rgba(0, 140, 255, 0.5);
}
.fc-legend .legend-color.fc-day-disabled {
  background-color: #f0f0f0;
  opacity: 0.5;
}
.fc-legend .legend-color.fc-day {
  background-color: #fff;
}
.fc-legend .legend-color.fc-event-day {
  background-color: rgba(255, 162, 0, 0.5);
}
.fc-legend .legend-color.fc-event-partial {
  background-color: transparent;
  border: 3px dashed rgba(255, 162, 0, 0.5);
}