/* StartNews Notifiche - lato lettore - 1.3.0.0 */

.snp-invito {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 99990;
	width: calc(100% - 32px);
	max-width: 420px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	background: #ffffff;
	color: #10202b;
	border-radius: 12px;
	border-top: 4px solid #F97316;
	box-shadow: 0 10px 30px -8px rgba(10, 82, 120, .35), 0 2px 6px rgba(16, 32, 43, .12);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	transform: translate(-50%, 140%);
	opacity: 0;
	transition: transform .35s ease, opacity .35s ease;
}
.snp-invito.snp-vis { transform: translate(-50%, 0); opacity: 1; }

.snp-invito-icona {
	flex: 0 0 40px;
	height: 40px;
	border-radius: 50%;
	background: #0a5278;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.snp-invito-corpo { flex: 1; min-width: 0; }
.snp-invito-testo { margin: 0 0 10px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.snp-invito-azioni { display: flex; gap: 8px; }
.snp-invito-azioni button {
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	padding: 8px 16px;
	cursor: pointer;
	border: 0;
}
.snp-si { background: #F97316; color: #fff; }
.snp-si:hover { background: #ea650c; }
.snp-no { background: transparent; color: #55676f; }
.snp-no:hover { color: #10202b; }

.snp-toast {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 99991;
	max-width: calc(100% - 32px);
	padding: 10px 16px;
	border-radius: 8px;
	background: #0a5278;
	color: #fff;
	font: 600 14px/1.4 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	transform: translate(-50%, 20px);
	opacity: 0;
	transition: transform .3s ease, opacity .3s ease;
}
.snp-toast.snp-vis { transform: translate(-50%, 0); opacity: 1; }

.snp-pulsante {
	font: 600 15px/1.2 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	background: #0a5278;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 10px 18px;
	cursor: pointer;
}
.snp-pulsante[data-snp-stato="attive"] { background: #55676f; }
.snp-pulsante:disabled { opacity: .6; cursor: default; }

@media (prefers-reduced-motion: reduce) {
	.snp-invito, .snp-toast { transition: none; }
}

/* Riquadro in fondo agli articoli (1.2.0.0) */
.snp-riquadro {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 28px 0 8px;
	padding: 16px 18px;
	background: #eef5fa;
	border: 1px solid #cfe2ee;
	border-left: 4px solid #F97316;
	border-radius: 10px;
	color: #10202b;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.45;
}
.snp-riquadro[hidden] { display: none; }
.snp-riquadro-icona {
	flex: 0 0 38px;
	height: 38px;
	border-radius: 50%;
	background: #0a5278;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
}
.snp-riquadro-corpo { flex: 1; min-width: 0; }
.snp-riquadro p, .entry-content .snp-riquadro p { margin: 0; }
.snp-riquadro-titolo { font-weight: 700; font-size: 16px; color: #0a5278; }
.snp-riquadro .snp-riquadro-testo, .entry-content .snp-riquadro .snp-riquadro-testo { margin-top: 4px; font-size: 14.5px; color: #33454f; }
.snp-riquadro-bottone {
	margin-top: 12px;
	font: 600 15px/1.2 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	background: #F97316;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 10px 18px;
	cursor: pointer;
}
.snp-riquadro-bottone:hover { background: #ea650c; }
.snp-riquadro-bottone:disabled { opacity: .6; cursor: default; }
.snp-riquadro-link {
	display: inline-block;
	margin-top: 10px;
	font-weight: 600;
	font-size: 14.5px;
	color: #0a5278;
	text-decoration: underline;
}
.snp-r-bloccate { border-left-color: #8496a0; }
.snp-r-fatto { border-left-color: #14713f; background: #e9f6ee; border-color: #c4e5d0; }
.snp-r-fatto .snp-riquadro-icona { background: #14713f; }
.snp-r-fatto .snp-riquadro-titolo { color: #14713f; }

/* Dispositivi con nome (1.3.0.0) */
.snp-codice { margin-top: 6px; font-size: 13px; color: #55676f; font-family: ui-monospace, Consolas, monospace; }
.snp-riquadro .snp-codice { margin-top: 8px; }
.snp-invito-sotto { margin: -4px 0 10px; font-size: 14px; line-height: 1.4; color: #33454f; }
