/*------------------------------------------------------------------
[App Calendar Page CSS]

Template:       DashQ - Multipurpose Bootstrap 5 HTML Admin & Dashboard Template
Version:        1.0.0
Last change:    03 April, 2026
-------------------------------------------------------------------*/
h2.fc-toolbar-title {
    font-size: var(--base-font-size) + 4px !important;
}

.calendar .body-sidebar .fc .fc-daygrid-day-frame {
    height: 32px;
}

.calendar .body-sidebar .fc .fc-daygrid-day-top {
    justify-content: center;
}

.calendar .body-sidebar .fc .fc-button {
    box-shadow: none;
    background: transparent;
    border: 0;
    color: var(--bs-gray-500);
    padding: 0;
    height: 26px;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-card a {
    color: inherit;
    text-decoration: none;
}

.calendar-card table tr th {
    background-color: var(--app-border);
}

.calendar-card table tr th a {
    font-size: 14px;
}

.fc .fc-button-primary {
    background: rgba(var(--bs-primary-rgb), .1);
    color: var(--bs-primary);
    border-color: rgba(var(--bs-primary-rgb), .1);
    font-size: 14px;
}

.fc .fc-button-primary.fc-button-active {
    background: rgba(var(--bs-primary-rgb), 1) !important;
    border-color: rgba(var(--bs-primary-rgb), 1) !important;
}

.fc-theme-standard .fc-scrollgrid,
.fc-theme-standard td,
.fc-theme-standard th {
    border-color: var(--app-border);
}

.fc-v-event .fc-event-main-frame {
    color: var(--bs-black);
}

.fc .fc-daygrid-day:hover,
.fc .fc-daygrid-day.fc-day-today {
    background: rgba(var(--bs-primary-rgb), .2);
    cursor: pointer;
}

.fc .fc-toolbar.fc-header-toolbar{
    width: 100%;
    margin-bottom: 8px;
}

@media (max-width: 575.98px) {
    .fc-toolbar-title {
        display: none;
    }

    .calendar-card table tr th a {
        font-size: 12px;
    }
}


.attendance-calendar .fc-daygrid-day-events{
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.attendance-calendar .fc-daygrid-day-events a{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-inline: 2px;
}