/* FullCalendar Dark Theme Overrides for Week/Day Views */
/* Add this file to fix white backgrounds in time grid views */

/* Time grid backgrounds */
.fc-timegrid-body,
.fc-timegrid-slot,
.fc-timegrid-axis,
.fc-timegrid-divider,
.fc-timegrid-col {
    background-color: #1a2438 !important;
    border-color: rgba(255, 214, 0, 0.1) !important;
}

/* Time labels */
.fc-timegrid-slot-label,
.fc-timegrid-slot-label-frame {
    color: #8b92a8 !important;
    border-color: rgba(255, 214, 0, 0.1) !important;
}

/* Day headers */
.fc-col-header-cell {
    background-color: rgba(26, 36, 56, 0.9) !important;
    border-color: rgba(255, 214, 0, 0.1) !important;
}

.fc-col-header-cell-cushion {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* All-day section */
.fc-timegrid-divider {
    background-color: rgba(26, 36, 56, 0.7) !important;
}

.fc-daygrid-day-frame {
    background-color: #1a2438 !important;
}

/* Today highlight */
.fc-timegrid-col.fc-day-today {
    background-color: rgba(255, 214, 0, 0.05) !important;
}

/* Events in time grid */
.fc-timegrid-event {
    border-radius: 4px !important;
}

.fc-timegrid-event .fc-event-main,
.fc-timegrid-event .fc-event-time,
.fc-timegrid-event .fc-event-title {
    color: white !important;
}

/* Now indicator */
.fc-timegrid-now-indicator-line {
    border-color: #ffd600 !important;
    border-width: 2px !important;
}

/* Remove all white backgrounds */
.fc-view,
.fc-view-harness,
.fc-view-harness-active,
.fc-scrollgrid,
.fc-scrollgrid-section,
.fc-scrollgrid-section-body,
.fc-scrollgrid-section-header {
    background-color: transparent !important;
}

/* Scrollbar */
.fc-scroller::-webkit-scrollbar {
    width: 8px;
}

.fc-scroller::-webkit-scrollbar-track {
    background: #2a3a5a;
}

.fc-scroller::-webkit-scrollbar-thumb {
    background: rgba(255, 214, 0, 0.3);
    border-radius: 4px;
}

.fc-scroller::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 214, 0, 0.5);
}