/* Pulsante di Recesso 54-bis - stile frontend */

.rec54-box {
	max-width: 640px;
	margin: 1.5em 0;
}

.rec54-titolo {
	margin-bottom: .6em;
}

.rec54-intro {
	margin: 0 0 1.2em;
	color: #444;
}

.rec54-form .rec54-campo {
	margin: 0 0 1.1em;
	display: flex;
	flex-direction: column;
}

.rec54-form label {
	font-weight: 600;
	margin-bottom: .3em;
}

.rec54-form input[type="text"],
.rec54-form input[type="email"],
.rec54-form input[type="number"],
.rec54-form select,
.rec54-form textarea {
	width: 100%;
	padding: .6em .7em;
	border: 1px solid #c7c7c7;
	border-radius: 6px;
	font-size: 1em;
	box-sizing: border-box;
}

.rec54-form input:focus,
.rec54-form select:focus,
.rec54-form textarea:focus {
	outline: none;
	border-color: #2c6ecb;
	box-shadow: 0 0 0 2px rgba(44, 110, 203, .18);
}

.rec54-help {
	font-size: .85em;
	color: #6b6b6b;
	margin-top: .3em;
}

.rec54-req {
	color: #c0392b;
}

.rec54-checkbox label {
	font-weight: 400;
	flex-direction: row;
	display: flex;
	align-items: flex-start;
	gap: .5em;
}

.rec54-checkbox input {
	margin-top: .25em;
}

.rec54-pulsante {
	display: inline-block;
	background: #1f1f1f;
	color: #fff;
	padding: .75em 1.4em;
	border: none;
	border-radius: 8px;
	font-size: 1em;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease;
}

.rec54-pulsante:hover,
.rec54-pulsante:focus {
	background: #2c6ecb;
	color: #fff;
}

.rec54-submit-btn {
	width: 100%;
}

.rec54-nota-legale {
	font-size: .82em;
	color: #6b6b6b;
	margin-top: 1.2em;
	line-height: 1.5;
}

/* Honeypot: nascosto agli utenti, visibile ai bot. */
.rec54-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Avvisi */
.rec54-avviso {
	padding: .9em 1.1em;
	border-radius: 8px;
	margin-bottom: 1.3em;
	line-height: 1.5;
}

.rec54-avviso-ok {
	background: #e7f6ec;
	border: 1px solid #a3d9b6;
	color: #1d6b3a;
}

.rec54-avviso-errore {
	background: #fdeaea;
	border: 1px solid #f0b4b4;
	color: #a32424;
}

.rec54-avviso-info {
	background: #eef3fb;
	border: 1px solid #b8cdee;
	color: #234b8a;
}

.rec54-pulsante-wrap {
	margin-top: 1em;
}

/* --- Schermata di conferma (passo 2) --- */
.rec54-riepilogo {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
}

.rec54-riepilogo th,
.rec54-riepilogo td {
	text-align: left;
	padding: .6em .7em;
	border-bottom: 1px solid #e3e3e3;
	vertical-align: top;
}

.rec54-riepilogo th {
	width: 38%;
	font-weight: 600;
	color: #444;
}

.rec54-conferma-dichiarazione {
	font-weight: 600;
	margin: 0 0 1.1em;
}

.rec54-azioni-conferma {
	display: flex;
	align-items: center;
	gap: 1.2em;
	flex-wrap: wrap;
}

.rec54-conferma-btn {
	background: #1d6b3a;
}

.rec54-conferma-btn:hover,
.rec54-conferma-btn:focus {
	background: #15512c;
}

.rec54-link-indietro {
	color: #555;
	text-decoration: underline;
	font-size: .92em;
}

/* --- Avviso esclusione recesso sulla scheda prodotto (art. 59) --- */
.rec54-avviso-prodotto {
	margin: 1em 0;
	padding: .8em 1em;
	background: #fff7e6;
	border: 1px solid #f0d28a;
	border-radius: 8px;
	font-size: .9em;
	line-height: 1.5;
	color: #6b4e00;
}
