/* Formulaire de contact iut.fr — complète les styles UIkit du thème. */

.iutfr-contact__form .uk-form-label {
	font-weight: 600;
}

.iutfr-contact__obligatoire {
	color: #d0021b;
}

.iutfr-contact__aide-champ {
	margin: 0.25rem 0 0;
}

.iutfr-contact__erreur {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	font-weight: 600;
}

.iutfr-contact__erreur[hidden] {
	display: none;
}

.iutfr-contact__notice {
	margin-bottom: 1.5rem;
}

.iutfr-contact__notice:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.iutfr-contact__notice-texte {
	margin: 0;
	font-weight: 600;
}

.iutfr-contact__notice-liste {
	margin: 0.75rem 0 0;
}

.iutfr-contact__consentement {
	border: 0;
	padding: 0;
	margin-left: 0;
	margin-right: 0;
}

.iutfr-contact__consentement legend {
	padding: 0;
	margin-bottom: 0.5rem;
}

.iutfr-contact__case {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	cursor: pointer;
}

.iutfr-contact__case .uk-checkbox {
	flex: 0 0 auto;
	margin-top: 0.2em;
}

/* Pot de miel : hors écran pour les humains, rempli par les robots. */
.iutfr-contact__pot-de-miel {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.iutfr-contact__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.iutfr-contact__attente[hidden] {
	display: none;
}

.iutfr-contact__form[aria-busy="true"] [data-iutfr-envoyer] {
	opacity: 0.6;
	pointer-events: none;
}

/* Lien dans la case de consentement : distinguable du texte (RGAA 10.x). */
.iutfr-contact__case a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* Le focus (résumé d'erreurs, liens d'ancre) ne doit pas passer sous l'en-tête fixe. */
.iutfr-contact__notice,
.iutfr-contact .uk-input,
.iutfr-contact .uk-textarea,
.iutfr-contact .uk-checkbox {
	scroll-margin-top: 130px;
}

/* Textes d'aide : pas de uk-text-muted (gris #90929d du thème à 3,1:1, forcé en !important) ; ici 6:1 sur fond blanc. */
.iutfr-contact__aide,
.iutfr-contact__aide-champ,
.iutfr-contact__optionnel,
.iutfr-contact__attente {
	color: #5c5f6b;
}

.iutfr-contact__optionnel {
	font-weight: normal;
}

/* Widget Cloudflare Turnstile. */
.iutfr-contact__turnstile .cf-turnstile {
	min-height: 65px;
}
