/*
 * The signup form. Filled in on a phone at the desk, so one column first and large
 * targets. Colours come from the theme: text in currentColor, errors in the one red
 * this plugin keeps for things that are actually wrong.
 */
.core-signup{max-width:40rem;margin:0 auto;}
.core-signup__grid{display:grid;grid-template-columns:1fr;gap:0 1.25rem;}
@media (min-width:600px){
	.core-signup__grid{grid-template-columns:1fr 1fr;}
	.core-signup__field--codice_fiscale,
	.core-signup__field--address,
	.core-signup__field--email{grid-column:1 / -1;}
}
.core-signup__field{margin:0 0 1rem;display:flex;flex-direction:column;gap:.35rem;}
.core-signup__field label{font-weight:600;}
.core-signup__field input{
	width:100%;box-sizing:border-box;min-height:2.9rem;padding:.6rem .75rem;font-size:1rem;
	border:1px solid color-mix(in srgb,currentColor 35%,transparent);border-radius:.4rem;
	background:transparent;color:inherit;
}
.core-signup__field input:focus-visible{outline:2px solid currentColor;outline-offset:2px;}
.core-signup__field--codice_fiscale input{text-transform:uppercase;letter-spacing:.06em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;}
.core-signup .is-invalid input{border-color:#b32d2e;border-width:2px;}
.core-signup__error{color:#b32d2e;font-size:.9rem;}
.core-signup__alert{margin:0 0 1.25rem;padding:.75rem 1rem;border-left:4px solid #b32d2e;background:color-mix(in srgb,#b32d2e 8%,transparent);}
.core-signup__consents{border:0;padding:0;margin:.5rem 0 1.25rem;}
.core-signup__consents legend{font-weight:600;margin-bottom:.5rem;}
.core-signup__consent{margin:0 0 .6rem;}
.core-signup__consent label{display:flex;gap:.6rem;align-items:flex-start;line-height:1.4;}
.core-signup__consent input{width:1.25rem;height:1.25rem;flex:none;margin-top:.1rem;}
.core-signup__req{color:#b32d2e;}
.core-signup__submit{min-height:3rem;padding-inline:1.5rem;font-size:1rem;cursor:pointer;}
.core-signup__note{font-size:.9rem;opacity:.75;}
.core-signup .cf-turnstile{margin:0 0 1rem;}
/* Off-screen rather than display:none, which some bots know to skip. */
.core-signup__trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;}
.core-signup--done{padding:1.25rem;border-left:4px solid currentColor;}

/* The member's declaration: the legal text, then the one box that accepts it. */
.core-signup__declaration{padding:1rem 1.1rem;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:4px;margin:0 0 1rem;}
.core-signup__declaration.is-invalid{border-color:#b32d2e;}
.core-signup__declaration-text{margin:0 0 .6rem;font-size:.85rem;line-height:1.5;max-height:14rem;overflow:auto;}
.core-signup__declaration-link{margin:0 0 .6rem;font-size:.85rem;}
