﻿body .blazored-toast-container {
    z-index: 9999 !important;
}

body .blazored-toast {
    z-index: 10000 !important;
}
.fc-event-time {
    display:none;
}

#calendar {
    margin-top: 1rem;
}

#calendar .fc {
    color: #27313f;
}

#calendar .fc-toolbar {
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

#calendar .fc-toolbar-title {
    color: #1f2937;
    font-size: 1.35rem;
    font-weight: 600;
}

#calendar .fc-button {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: none;
    color: #334155;
    font-weight: 600;
}

#calendar .fc-button:hover,
#calendar .fc-button:focus {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

#calendar .fc-button-primary:not(:disabled).fc-button-active,
#calendar .fc-button-primary:not(:disabled):active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

#calendar .fc-multimonth {
    border: 0;
    gap: 1rem;
    justify-content: flex-start;
}

#calendar .fc-multimonth-month {
    background: #ffffff;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 0;
    overflow: hidden;
    width: calc((100% - 2rem) / 3) !important;
}

#calendar .fc-multimonth-title {
    background: #f8fafc;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.65rem 0.75rem;
}

#calendar .fc-multimonth-header-table {
    border: 0;
}

#calendar .fc-daygrid-body,
#calendar .fc-daygrid-body table {
    width: 100% !important;
}

#calendar .fc-col-header-cell {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

#calendar .fc-daygrid-day {
    background: #ffffff;
    border-color: #e2e8f0;
}

#calendar .fc-daygrid-day-frame {
    border: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 72px;
    overflow: hidden;
    position: relative;
}

#calendar .fc-daygrid-day-number {
    color: #334155;
    font-weight: 600;
    padding: 0.35rem 0.45rem 0.15rem;
}

#calendar .fc-day-other {
    background: #f8fafc;
}

#calendar .fc-day-today {
    background: #eff6ff;
}

#calendar .fc-daygrid-day-events {
    flex: 1 1 auto;
    margin: 0 0.25rem 0.25rem;
    min-height: 0;
    position: relative;
}

#calendar .fc-daygrid-event-harness {
    max-width: 100%;
    position: relative;
}

#calendar .fc-daygrid-event {
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    display: block;
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 2px;
    max-width: 100%;
    padding: 2px 4px;
}

#calendar .fc-event-main {
    min-width: 0;
}

#calendar .fc-event-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#calendar .fc-multimonth .fc-daygrid-day-frame {
    min-height: 54px;
}

#calendar .fc-multimonth .fc-daygrid-day-number {
    padding: 0.25rem 0.35rem 0.1rem;
}

#calendar .fc-multimonth .fc-daygrid-event {
    font-size: 0.68rem;
    padding: 1px 3px;
}

#calendar .fc-popover {
    border: 1px solid #d8dee8;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
}

@media (max-width: 1200px) {
    #calendar .fc-multimonth-month {
        flex-basis: calc((100% - 1rem) / 2);
        width: calc((100% - 1rem) / 2) !important;
    }
}

@media (max-width: 768px) {
    #calendar .fc-multimonth-month {
        flex-basis: 100%;
        width: 100% !important;
    }
}

.staff-summary-table {
    width:65%;
    line-height: normal;
}
.fc-toolbar-chunk {
    display: flex;
    gap: 0.35rem;
}
