/* Krial — Pulsante di Recesso (art. 54-bis)
   Stile minimale, eredita la tipografia del tema.
   Contrasto ≥ 4.5:1 e focus visibile (WCAG 2.2 AA). */

.kr54-box {
	max-width: 720px;
	margin: 0 auto 2em;
}

.kr54-title {
	margin-bottom: 0.5em;
}

.kr54-subtitle {
	font-size: 1em;
	margin: 0 0 0.5em;
}

/* Pulsanti: elementi reali <button>/<a>, ben visibili. */
.kr54-button {
	display: inline-block;
	background: #1d2327;
	color: #ffffff !important;
	border: 2px solid #1d2327;
	border-radius: 4px;
	padding: 0.7em 1.4em;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.kr54-button:hover {
	background: #3c434a;
	border-color: #3c434a;
}

.kr54-button:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.kr54-button--conferma {
	background: #00753b;
	border-color: #00753b;
}

.kr54-button--conferma:hover {
	background: #008a45;
	border-color: #008a45;
}

/* Form */
.kr54-field {
	margin-bottom: 1em;
}

.kr54-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.kr54-form input[type="text"],
.kr54-form input[type="email"],
.kr54-form textarea {
	width: 100%;
	max-width: 420px;
	padding: 0.5em 0.65em;
	border: 1px solid #50575e;
	border-radius: 4px;
	font-size: 1em;
}

.kr54-form input:focus-visible,
.kr54-form textarea:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 1px;
}

.kr54-fieldset {
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 0.75em 1em;
}

.kr54-fieldset legend {
	font-weight: 600;
	padding: 0 0.4em;
}

.kr54-fieldset label {
	display: block;
	font-weight: 400;
	margin: 0.35em 0;
}

.kr54-item--escluso {
	opacity: 0.65;
}

.kr54-hint {
	display: block;
	font-size: 0.85em;
	color: #50575e;
}

.kr54-legal {
	font-size: 0.9em;
	color: #3c434a;
}

/* Honeypot: fuori schermo, non display:none (alcuni bot lo rilevano). */
.kr54-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Avvisi */
.kr54-notice {
	border-left: 4px solid #2271b1;
	background: #f0f6fc;
	padding: 0.8em 1em;
	margin-bottom: 1em;
}

.kr54-notice--error {
	border-left-color: #b32d2e;
	background: #fcf0f1;
}

.kr54-notice--success {
	border-left-color: #00753b;
	background: #edfaef;
}

/* Tabelle */
.kr54-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1em;
}

.kr54-table th,
.kr54-table td {
	text-align: left;
	padding: 0.6em 0.75em;
	border-bottom: 1px solid #dcdcde;
}

.kr54-declaration {
	margin: 1em 0;
}

.kr54-declaration pre {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 1em;
	white-space: pre-wrap;
	font-size: 0.85em;
}

/* Link nel footer: discreto ma leggibile e sempre raggiungibile. */
.kr54-footer-link {
	text-align: center;
	padding: 0.75em 1em;
	font-size: 0.9em;
}

.kr54-footer-link a {
	text-decoration: underline;
}
