/* ... (tous les styles précédents) ... */

/* --- Styles pour la vue Calendrier --- */
.month-header {
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 300;
    font-size: 1.8em;
    color: var(--primary-color);
}

.event-item {
    display: flex;
    margin: 1rem 0;
    align-items: stretch;
}

.event-item.event-deleted .event-details {
    background-color: #f9f9f9;
    text-decoration: line-through;
    opacity: 0.7;
}

.event-date {
    flex: 0 0 60px;
    text-align: center;
    background-color: var(--light-gray);
    padding: 10px 5px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.event-date .day {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}
.event-date .weekday {
    font-size: 0.9em;
    text-transform: uppercase;
    color: #666;
}

.event-details {
    flex-grow: 1;
    margin-left: 1rem;
    padding: 0.8rem 1rem;
    border-left: 5px solid; /* La couleur sera définie inline */
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-left-width: 5px;
    border-radius: 0 4px 4px 0;
}

.event-info {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.event-title {
    font-weight: bold;
    font-size: 1.1em;
}

.event-period {
    font-style: italic;
    color: #555;
}

.status-badge { display: inline-block; padding: 2px 8px; font-size: 0.8em; border-radius: 10px; color: white; vertical-align: middle; }
.status-new { background-color: #5cb85c; }
.status-deleted { background-color: #777; }

.event-participants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.participant-initials {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
}
.event-item.event-continuation .event-details {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.event-item.event-continuation .event-date {
    opacity: 0.8;
}
.button-delete { background-color: var(--danger-color); color: white; }
.button-delete:hover { background-color: #c9302c; }

/* NOUVEAU STYLE */
.button-purge { background-color: #333; color: white; }
.button-purge:hover { background-color: #000; }

.form-actions a {
    color: var(--dark-gray);
    margin-left: 1rem;
    background-color: #eee;
}
/* --- Fin styles Calendrier --- */