#calendar {
    --fc-border-color: #e2e8f0;
    --fc-today-bg-color: #fff8e7;
    color: #27364a;
    font-family: Arial, sans-serif;
}
#calendar .fc-toolbar {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px !important;
}
#calendar .fc-toolbar-title {
    color: #25364b;
    font-size: 1.15rem;
    font-weight: 700;
}
#calendar .fc-button-primary {
    border-color: #263b53;
    background: #263b53;
    border-radius: 7px;
    box-shadow: none;
    font-weight: 600;
}
#calendar .fc-button-primary:hover,
#calendar .fc-button-primary:not(:disabled).fc-button-active,
#calendar .fc-button-primary:focus {
    border-color: #b98a35;
    background: #b98a35;
    box-shadow: none;
}
#calendar .fc-col-header-cell {
    background: #f5f7fa;
}
#calendar .fc-col-header-cell-cushion {
    padding: 10px 4px;
    color: #5c6878;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}
#calendar .fc-daygrid-day-number {
    padding: 8px;
    color: #344256;
    font-size: .85rem;
    text-decoration: none;
}
#calendar .fc-day-other .fc-daygrid-day-number {
    color: #a5afbc;
}
#calendar .fc-day-today .fc-daygrid-day-number {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #b98a35;
    color: #fff;
}
#calendar .fc-daygrid-day-frame {
    min-height: 94px;
}
#calendar .fc-daygrid-event {
    margin: 2px 4px;
    border: 0;
    border-radius: 5px;
    padding: 2px 4px;
    color: #fff;
    font-size: .73rem;
    text-decoration: none;
}
#calendar .fc-event-title,
#calendar .fc-event-time {
    color: inherit;
    font-weight: 600;
}
#calendar .fc-list {
    border-color: var(--fc-border-color);
    border-radius: 8px;
    overflow: hidden;
}
#calendar .fc-list-day-cushion {
    background: #f5f7fa;
}
#calendar .fc-list-day-text,
#calendar .fc-list-day-side-text {
    color: #344256;
    text-decoration: none;
}
@media (max-width: 640px) {
    #calendar { padding: 10px !important; }
    #calendar .fc-toolbar-title { font-size: 1rem; }
    #calendar .fc-daygrid-day-frame { min-height: 64px; }
    #calendar .fc-daygrid-event { font-size: .64rem; }
    #calendar .fc-col-header-cell-cushion { font-size: .65rem; }
}
