/* Product page « Pour qui ? » block — see HX_Participants_Frontend. Same
   visual language as .hx-slot-selector (hx-slot-selector.css). */
.hx-participants {
	margin: 16px 0;
	max-width: 420px;
}

.hx-participants-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 8px;
}

.hx-participant-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border: 1px solid rgba(31, 13, 92, 0.2);
	border-radius: 8px;
	cursor: pointer;
}

.hx-participant-option:has(input:checked) {
	border-color: #1f0d5c;
	background: rgba(31, 13, 92, 0.05);
}

.hx-participant-option input {
	margin: 0;
	flex-shrink: 0;
}

.hx-participant-option span {
	flex: 1;
}

.hx-participant-remove {
	background: none;
	border: none;
	color: #b3261e;
	cursor: pointer;
	font-size: 14px;
	padding: 0;
}

.hx-participant-add-toggle {
	background: none;
	border: none;
	color: #1f0d5c;
	cursor: pointer;
	font-weight: 600;
	padding: 4px 0;
	text-decoration: underline;
}

.hx-participant-add-form {
	margin-top: 8px;
	padding: 12px;
	border: 1px solid rgba(31, 13, 92, 0.2);
	border-radius: 8px;
}

.hx-participant-add-form[hidden] {
	display: none;
}

.hx-participant-add-fields {
	display: grid;
	gap: 8px;
	margin-bottom: 10px;
}

.hx-participant-add-fields label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
}

.hx-participant-add-fields input {
	padding: 8px 10px;
	border: 1px solid rgba(31, 13, 92, 0.3);
	border-radius: 6px;
	font-size: 16px;
}

.hx-participant-add-error {
	color: #b3261e;
	margin: 0 0 8px;
}

.hx-participants-hint {
	margin: 8px 0 0;
	font-size: 14px;
	opacity: 0.75;
}

.hx-participants-hint:empty {
	display: none;
}

/* Same amber box as .hx-slot-variation-hint. */
.hx-participants-warning {
	margin-top: 8px;
	font-size: 15px;
	padding: 10px 14px;
	background: #fdf6e0;
	border: 1px solid #f0dfa0;
	border-radius: 8px;
	color: #6b5410;
}
