/* === CALENDRIER - STYLE PRINCIPAL === */

/* Conteneur */
#calendar {
    background: rgba(255, 248, 231, 0.05);
    border-radius: 8px;
    min-height: 500px;
}

/* Fond général */
.fc {
    background-color: #1E3B6E !important;
    color: #FFF8E7;
    font-family: 'Rubik', sans-serif;
}

/* En-têtes des colonnes (jours) */
.fc-col-header-cell {
    background-color: #204E8A !important;
    color: #FFF8E7;
    font-weight: 500;
    padding: 8px 0;
}

/* Cellules des jours */
.fc-daygrid-day {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(32, 78, 138, 0.5) !important;
}

/* Jour courant - mise en évidence */
.fc-day-today {
    background-color: rgba(212, 175, 55, 0.2) !important;
    border: 2px solid #D4AF37 !important;
}

/* === BOUTONS === */
.fc-button {
    background-color: #3A6BB0 !important;
    border-color: #3A6BB0 !important;
    color: #FFF8E7 !important;
    font-weight: 400 !important;
    font-size: 0.9em !important;
    padding: 4px 10px !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
    margin: 2px !important;
    transition: all 0.2s ease;
}

/* Bouton "aujourd'hui" */
.fc-today-button {
    background-color: #4A7BC0 !important;
    border-color: #4A7BC0 !important;
}

/* Bouton actif (vue sélectionnée) */
.fc-button-active {
    background-color: #5A8BD0 !important;
    border-color: #5A8BD0 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Survol */
.fc-button:hover:not(.fc-button-active) {
    background-color: #4A7BC0 !important;
    border-color: #4A7BC0 !important;
    transform: translateY(-1px);
}

/* Désactivé */
.fc-button:disabled {
    background-color: #2A4B80 !important;
    border-color: #2A4B80 !important;
    opacity: 0.6;
}

/* === TITRE === */
.fc-toolbar-title {
    color: #D4AF37;
    font-weight: 500;
    font-size: 1.3em !important;
}

/* === REPÈRE HEURE COURANTE === */
.fc-timegrid-now-indicator-line {
    border-color: #D4AF37 !important;
    border-width: 2px !important;
}

.fc-timegrid-now-indicator-arrow {
    border-top-color: #8B1A1A !important;
}

/* === ÉVÉNEMENTS === */
.fc-event {
    background-color: #204E8A !important;
    border-color: #204E8A !important;
    color: #FFF8E7 !important;
    padding: 2px 4px;
    border-radius: 3px;
}

.fc-event:hover {
    background-color: #2A5B9F !important;
    border-color: #2A5B9F !important;
}

/* === RESPONSIVE === */
@media (max-width: 699px) {
    #calendar {
        margin: 10px 5px;
        padding: 10px;
        min-height: 400px;
    }
    
    .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .fc-toolbar-title {
        font-size: 1.1em !important;
        order: -1;
    }
    
    .fc-button {
        font-size: 0.85em !important;
        padding: 3px 8px !important;
    }
}