/* Styles spécifiques à l’onglet "Mes événements" */

.my-event-created {
    border-left: 4px solid #198754;
}

.event-item.my-event-locked {
    border-left: 4px solid #0d6efd; /* US12-06 : priorité au verrouillage. */
}

.my-event-closed {
    background-color: #d1e7dd;
}

.my-event-overdue {
    background-color: #f8d7da;
}

.subscribed-date-cell {
    background-color: #f8f9fa;
    text-align: left !important;
    font-family: monospace;
}

.slot-action-menu {
    z-index: 2000;
}

.event-detail-view {
    padding: 16px 0 24px;
}

.event-detail-toolbar {
    display: flex;
    justify-content: flex-start;
    margin: 8px 0 16px;
}

.event-detail-grid {
    display: grid;
    gap: 24px;
}

.event-detail-grid.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.event-detail-grid.vertical {
    grid-template-columns: 1fr;
}

.event-detail-col {
    min-width: 0;
}

.event-detail-planning {
    max-height: 60vh;
    overflow: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.event-detail-planning .avail-table {
    margin-bottom: 0;
}

.planning-header-btn {
    margin-left: 5px;
    min-width: 22px;
}
/* US12-02 : indiquer visuellement les slots non cliquables pour un événement LOCKED. */
.event-locked td.avail-slot-toggle {
    cursor: pointer;
}

.event-action-btn {
    flex: 1 1 180px;
}

/* EPIC10 : menu déroulant sur les badges de participants. */
.participant-status-badge {
    cursor: pointer;
}

.participant-status-caret {
    margin-left: 4px;
    font-size: 0.75em;
    opacity: 0.8;
}

.participant-action-menu {
    z-index: 2000;
}
