/* Dépend de bioetlocal-formulaire-structure (styles .acf-form communs) */

/* ── Table événements : colonnes et scroll ───────────────────────────────── */
.fev-events-table {
	table-layout: fixed;
	width:        100%;
}

.fev-events-table .fev-col-dates  { width: 220px; }
.fev-events-table .fev-col-statut { width: 90px; }
.fev-events-table .fev-col-actions { width: 160px; }

.fev-events-table .ec-table-title {
	overflow:      hidden;
	text-overflow: ellipsis;
	white-space:   nowrap;
}

/* ── Dates empilées ──────────────────────────────────────────────────────── */
.fev-dates {
	font-size: .8rem;
}

.fev-date-row {
	display:     flex;
	align-items: center;
	gap:         4px;
	white-space: nowrap;
	overflow:    hidden;
	text-overflow: ellipsis;
}

.fev-dates-more {
	margin-top: 4px;
}

.fev-dates-more summary {
	cursor:      pointer;
	color:       #D2097A;
	font-size:   .75rem;
	font-weight: 600;
	list-style:  none;
	user-select: none;
}

.fev-dates-more summary::-webkit-details-marker { display: none; }

.fev-dates-more summary::before {
	content: '▸ ';
}

.fev-dates-more[open] summary::before {
	content: '▾ ';
}

.fev-dates-more .fev-date-row {
	margin-top: 3px;
	color:      #555;
}

/* ── Repeater ACF dates : style bloc ────────────────────────────────────── */
.acf-form .acf-field[data-name="dates"] .acf-row {
	border-left: 3px solid color-mix(in srgb, #D2097A 35%, transparent);
	padding-left: 12px;
	margin-bottom: 12px;
}

/* ── Switch ON : couleur rose ────────────────────────────────────────────── */
.acf-form .acf-switch.-on {
	background: var(--rose);
	border-color: var(--rose);
}
