/* Sacel Recesso — stile pagina /recesso. Volutamente neutro, eredita i font del tema. */

.sacel-recesso-wrap,
.sacel-recesso-info {
	max-width: 720px;
	margin: 0 auto 24px;
}

.sacel-recesso-info {
	background: #f4f8ff;
	border: 1px solid #cfe0fb;
	border-radius: 8px;
	padding: 18px 20px;
}
.sacel-recesso-info h3 {
	margin-top: 0;
}
.sacel-recesso-info p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.55;
}

.sacel-recesso-steps {
	list-style: none;
	display: flex;
	gap: 10px;
	padding: 0;
	margin: 0 0 18px;
	counter-reset: none;
}
.sacel-recesso-steps li {
	flex: 1;
	text-align: center;
	padding: 10px 8px;
	border-radius: 6px;
	background: #eef0f3;
	color: #6b7280;
	font-weight: 600;
	font-size: 14px;
}
.sacel-recesso-steps li.is-current {
	background: #1d4ed8;
	color: #fff;
}
.sacel-recesso-steps li.is-done {
	background: #d1fae5;
	color: #065f46;
}

.sacel-recesso-errors {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}
.sacel-recesso-errors ul {
	margin: 0;
	padding-left: 18px;
}

.sacel-field {
	margin-bottom: 16px;
}
.sacel-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
}
.sacel-field input[type="text"],
.sacel-field input[type="email"],
.sacel-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}
.sacel-field .req {
	color: #b32d2e;
}
.sacel-hint {
	display: block;
	font-size: 13px;
	color: #6b7280;
	margin-top: 4px;
}
.sacel-privacy label {
	font-weight: 400;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

/* Honeypot: nascosto agli umani, presente per i bot. */
.sacel-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 0;
	overflow: hidden;
}

.sacel-actions {
	margin-top: 20px;
}
.sacel-actions-final {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.sacel-btn {
	cursor: pointer;
}
.sacel-btn-confirm {
	font-weight: 700;
}
.sacel-btn[disabled] {
	opacity: .6;
	cursor: not-allowed;
}
.sacel-back {
	text-decoration: none;
}

.sacel-summary-table {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0;
}
.sacel-summary-table th,
.sacel-summary-table td {
	text-align: left;
	padding: 9px 10px;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}
.sacel-summary-table th {
	width: 38%;
	color: #374151;
	font-weight: 600;
}
.sacel-items {
	margin: 6px 0 16px;
	padding-left: 20px;
}
.sacel-items .qty {
	color: #6b7280;
}
.sacel-final-note {
	background: #fffbeb;
	border: 1px solid #fde68a;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
}

.sacel-recesso-result {
	text-align: center;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 26px;
}
.sacel-recesso-result .sacel-ok-icon {
	font-size: 42px;
	color: #16a34a;
	margin: 4px 0;
}
.sacel-recesso-result .sacel-summary-table {
	text-align: left;
	max-width: 460px;
	margin: 16px auto 0;
}
.sacel-warn {
	color: #92400e;
	background: #fffbeb;
	border: 1px solid #fde68a;
	padding: 10px 14px;
	border-radius: 6px;
	margin-top: 14px;
}

.sacel-recesso-notice {
	border-radius: 8px;
	padding: 22px;
}
.sacel-notice-error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
}
.sacel-notice-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
}
