/* Calendar Styles */
#calendarContainer {
    /* Override default dark background for the calendar itself */
    background-color: #212529 !important; 
    color: #f8f9fa;
    border: 1px solid #0d6efd; /* Primary color border */
}

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

.calendar-header h4 {
    color: #0d6efd; /* Primary color for month/year */
    font-weight: bold;
}

.calendar-header button {
    background-color: transparent;
    border: none;
    color: #f8f9fa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.calendar-header button:hover {
    color: #0d6efd; /* Primary color on hover */
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.day-name {
    font-weight: bold;
    color: #adb5bd; /* Light gray for day names */
    padding: 5px 0;
}

.calendar-day {
    padding: 10px 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    position: relative;
    background-color: #343a40; /* Darker background for days */
    color: #f8f9fa;
    font-weight: 500;
}

.calendar-day:hover {
    background-color: #495057;
    transform: scale(1.05);
}

.calendar-day.inactive {
    color: #6c757d; /* Muted color for days outside the current month */
    background-color: #212529;
    cursor: default;
}

.calendar-day.inactive:hover {
    background-color: #212529;
    transform: none;
}

.calendar-day.today {
    border: 2px solid #ffc107; /* Warning color for today */
    font-weight: bold;
}

.calendar-day.has-event {
    background-color: #0d6efd; /* Primary color for event days */
    color: white;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.calendar-day.has-event:hover {
    background-color: #0b5ed7;
}

/* Event Tooltip/Modal Styles (Optional, for future use) */
.event-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: #ffc107; /* Warning color dot */
    border-radius: 50%;
}
