/**
 * Platinn — Styles pour les champs custom dans la modale événement
 */

.platinn-form-separator {
	margin: 15px 0;
	border: none;
	border-top: 2px solid #00a99d;
	opacity: 0.3;
}

.platinn-form-row {
	margin-bottom: 10px;
}

.platinn-form-row label {
	font-weight: 600;
	font-size: 13px;
	color: #555;
	margin-bottom: 5px;
	display: block;
}

.platinn-form-row label small {
	font-weight: 400;
	color: #999;
}

.platinn-form-row select,
.platinn-form-row input[type="number"],
.platinn-form-row textarea {
	width: 100%;
}

/* ─── Toggle switch ─────────────────────────────────────── */

.platinn-toggle-wrap {
	padding-top: 4px;
}

.platinn-toggle {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 26px;
	cursor: pointer;
}

.platinn-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.platinn-toggle__slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 26px;
	transition: 0.3s;
}

.platinn-toggle__slider::before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 3px;
	bottom: 3px;
	background-color: #fff;
	border-radius: 50%;
	transition: 0.3s;
}

.platinn-toggle input:checked + .platinn-toggle__slider {
	background-color: #00a99d;
}

.platinn-toggle input:checked + .platinn-toggle__slider::before {
	transform: translateX(22px);
}

/* ─── Rôles checkboxes ──────────────────────────────────── */

.platinn-roles-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	padding: 8px 0;
}

.platinn-role-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #555 !important;
	cursor: pointer;
	white-space: nowrap;
}

.platinn-role-item input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.platinn-role-all {
	width: 100%;
	padding-bottom: 4px;
	border-bottom: 1px solid #eee;
	margin-bottom: 2px;
	font-weight: 600 !important;
	color: #00a99d !important;
}
