/* === KALENDARZ === */

#calendar {
    background: var(--bg-main);
    border-radius: 12px;
    padding: 12px;
}

/* dni */
.fc-daygrid-day {
    transition: background 0.15s ease;
}

.fc-daygrid-day:hover {
    background: rgba(0,0,0,0.03);
}

/* nagłówki */
.fc-col-header-cell {
    background: transparent;
    font-weight: 600;
    color: var(--text-main);
}

/* tytuł miesiąca */
.fc-toolbar-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.fc-event {
    border-radius: 6px;
    font-size: 0.85rem;
    padding: 2px 4px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

body.dark #calendar {
    background: #1e1e1e;
}

body.dark .fc-col-header-cell {
    color: #ddd;
}

body.dark .fc-daygrid-day:hover {
    background: rgba(255,255,255,0.05);
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    font-size: 0.85rem;
}

.calendar-legend span::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    background: currentColor;
}
