.fc-event {
    cursor: pointer;
    transition: transform 0.1s;
}
.fc-event:hover {
    transform: scale(1.02);
    filter: brightness(0.9);
}

.slotera-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.5); 
}
.slotera-modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px; 
    border: 1px solid #888; 
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.slotera-close {
    color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer;
}

.fc-col-header-cell-cushion {
    text-decoration: none !important;
}

a.fc-event, .fc-event-main, .fc-event-title {
    text-decoration: none !important;
    color: inherit !important;
}

.slotera-full-event {
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.2) 10px,
        transparent 10px,
        transparent 20px
    ) !important;
    
    border-color: #555 !important;
    opacity: 0.8;
    cursor: not-allowed !important;
}

.slotera-event-capacity {
    font-size: 0.85em;
    opacity: 0.9;
    margin-top: 1px;
    font-weight: 600;
}

.fc-event-main {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start; /* Centre le contenu verticalement */
    overflow: hidden !important; /* Coupe tout ce qui dépasse */
    padding: 1px 2px !important; /* Réduit les marges intérieures */
    line-height: 1.1 !important; /* Rapproche les lignes de texte */
    margin-top: 2px;
}

.fc-event-time {
    font-size: 0.75em !important; /* Plus petit */
    margin-bottom: 0 !important;
}

.fc-event-title {
    font-size: 0.85em !important;
    font-weight: bold;
    white-space: nowrap; /* Empêche le retour à la ligne */
    overflow: hidden;
    text-overflow: ellipsis; /* Ajoute "..." si le nom est trop long */
}
