/* Login WIDO - form sul sito (eredita font e colori del tema) */
.lw-form { max-width: 420px; margin: 0 auto 1.5em; }
.lw-form p { margin: 0 0 1em; }
.lw-form label { display: block; font-weight: 600; margin-bottom: .3em; }
.lw-form input[type="email"],
.lw-form input[type="password"] { width: 100%; box-sizing: border-box; padding: .6em .7em; }
.lw-form .lw-nota { display: block; font-size: .85em; opacity: .75; margin-top: .25em; }
.lw-form .lw-ricordami label { display: inline; font-weight: normal; }
.lw-form button { cursor: pointer; padding: .7em 1.4em; }
.lw-form .lw-link { font-size: .9em; }
.lw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lw-avviso { max-width: 420px; margin: 0 auto 1em; padding: .8em 1em; border-left: 4px solid #d63638; background: #fcf0f1; color: #1d2327; }
.lw-avviso.lw-ok { border-color: #00a32a; background: #edfaef; }

/* Riquadro doppio [login_wido]: due pulsanti grandi Accedi / Registrati */
.lw-doppio { max-width: 420px; margin: 0 auto 1.5em; }
.lw-doppio .lw-form { margin-bottom: 0; }
.lw-pulsanti { display: none; gap: .5em; margin-bottom: 1.2em; }
.lw-doppio.lw-js .lw-pulsanti { display: flex; }
.lw-pulsanti button {
	flex: 1; cursor: pointer; padding: .9em 1em; font-size: 1.05em; font-weight: 700;
	border: 2px solid currentColor; border-radius: 6px; background: transparent; color: inherit; opacity: .6;
}
.lw-pulsanti button[aria-selected="true"] { opacity: 1; background: #1d2327; border-color: #1d2327; color: #fff; }
.lw-doppio.lw-js .lw-pannello { display: none; }
.lw-doppio.lw-js[data-lw-attivo="accesso"] [data-lw-pannello="accesso"],
.lw-doppio.lw-js[data-lw-attivo="registrazione"] [data-lw-pannello="registrazione"] { display: block; }
.lw-doppio:not(.lw-js) [data-lw-pannello="registrazione"] { margin-top: 2em; }
.lw-prima-volta { margin-top: 1.2em; padding-top: 1em; border-top: 1px solid rgba(0,0,0,.12); font-weight: 600; }

/* Avviso pagina riservata */
.lw-avviso.lw-info { border-color: #2271b1; background: #f0f6fc; }

/* Password dimenticata (sotto il form Accedi) */
.lw-form.lw-reset { margin-top: 1.4em; padding-top: 1.2em; border-top: 1px solid rgba(0,0,0,.12); }
.lw-reset-titolo { font-weight: 600; margin-bottom: .5em; }
.lw-reset-titolo label { display: inline; margin: 0; }
.lw-reset-riga { display: flex; gap: .5em; }
.lw-reset-riga input[type="email"] { flex: 1; min-width: 0; width: auto; }
.lw-reset-riga button { white-space: nowrap; }
.lw-reset-nota { font-size: .85em; opacity: .8; margin: .5em 0 0; }
.lw-reset-nota.lw-reset-ok { color: #00a32a; opacity: 1; font-weight: 600; }
.lw-reset-nota.lw-reset-errore { color: #d63638; opacity: 1; font-weight: 600; }
.lw-prima-volta { max-width: 420px; margin-left: auto; margin-right: auto; }

/* Occhiolino "Mostra password" (con !important per non prendere lo stile pulsanti del tema) */
.lw-pass { position: relative; display: block; }
.lw-form .lw-pass input { padding-right: 2.8em !important; }
.lw-form button.lw-occhio {
	position: absolute; right: .35em; top: 50%; transform: translateY(-50%);
	background: none !important; border: 0 !important; box-shadow: none !important;
	padding: .3em !important; margin: 0 !important; min-width: 0 !important;
	color: #50575e !important; line-height: 0; cursor: pointer; opacity: .75;
}
.lw-form button.lw-occhio:hover, .lw-form button.lw-occhio:focus { opacity: 1; }
