
/* Amélioration affichage Planning général */
.fc .fc-daygrid-event {
    white-space: normal !important;
    align-items: flex-start !important;
    padding: 4px 5px !important;
    line-height: 1.25 !important;
    min-height: auto !important;
}

.fc .fc-daygrid-event .fc-event-title,
.fc .fc-daygrid-event .fc-event-main,
.fc .fc-daygrid-event .fc-event-main-frame {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.25 !important;
}

.fc .fc-event-time {
    font-weight: 700 !important;
    margin-right: 4px !important;
}

.fc .fc-list-event-title,
.fc .fc-list-event-time {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.fc .fc-daygrid-day-frame {
    min-height: 115px !important;
}

.fc .fc-daygrid-day-events {
    margin-bottom: 4px !important;
}

.fc .fc-daygrid-more-link {
    font-weight: 700 !important;
    padding: 3px 5px !important;
}

/* Mobile : vue planning plus lisible */
@media (max-width: 768px) {
    .fc .fc-toolbar {
        gap: 8px !important;
    }

    .fc .fc-toolbar-title {
        font-size: 1.05rem !important;
        line-height: 1.2 !important;
    }

    .fc .fc-button {
        padding: 5px 7px !important;
        font-size: 0.78rem !important;
    }

    .fc .fc-list-event-title,
    .fc .fc-list-event-time {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }

    .fc .fc-daygrid-event {
        font-size: 0.76rem !important;
        padding: 3px 4px !important;
    }

    .fc .fc-daygrid-day-number {
        font-size: 0.85rem !important;
    }
}

@import url('planning_design_colors.css');
