/* Style du conteneur du calendrier */
.ghem-calendar-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Style du calendrier */
#ghem-calendar {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* En-tête du calendrier */
.fc-header-toolbar {
    margin-bottom: 1.5em;
}

.fc-toolbar-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
}

/* Boutons de navigation */
.fc-button {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: capitalize;
}

.fc-button:not(:disabled):hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.fc-button-active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.fc-button-active:hover {
    background: #0069d9;
    border-color: #0062cc;
}

/* Jours de la semaine */
.fc-col-header-cell {
    background: #f8f9fa;
    padding: 10px 0;
    font-weight: 600;
    color: #495057;
    border: 1px solid #e9ecef;
}

/* Cellules des jours */
.fc-daygrid-day {
    border: 1px solid #e9ecef;
    padding: 4px;
}

.fc-day-today {
    background-color: #e6f7ff !important;
}

/* Événements */
.fc-event {
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 2px 0;
    font-size: 0.85em;
    cursor: pointer;
    background-color: #007bff;
    border-left: 4px solid #0056b3;
    color: white;
    transition: all 0.2s ease;
}

.fc-event:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fc-event-time {
    font-weight: 600;
    margin-right: 5px;
}

.fc-event-title {
    white-space: normal;
}

/* Vue liste */
.fc-list {
    border-radius: 8px;
    overflow: hidden;
}

.fc-list-day-cushion {
    background-color: #f8f9fa;
    padding: 8px 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .fc-header-toolbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .fc-toolbar-chunk:first-child {
        order: 2;
    }
    
    .fc-toolbar-chunk:last-child {
        order: 3;
    }
    
    .fc-toolbar-title {
        font-size: 1.2em;
    }
    
    .fc-button {
        padding: 4px 8px;
        font-size: 0.85em;
    }
}
