/* ==========================================================================
   WEH Area Utente – pagina di login di WordPress nello stile del sito (1.0.8)
   Pannello illustrato a sinistra (sopra, sul telefono), modulo in una card a destra.
   Palette: magenta #B8146F, rosa #FF69B4, verde #2A4840, lime #DCE35B. Font DM Sans + IBM Plex Serif.
   ========================================================================== */
body.login {
	--m: #B8146F; --p: #FF69B4; --g: #2A4840; --lime: #DCE35B; --pink-t: #FDEAF3; --line: #F1E3EA;
	--serif: "IBM Plex Serif", Georgia, serif;
	min-height: 100vh; margin: 0; font-family: "DM Sans", system-ui, sans-serif; color: var(--g);
	background: radial-gradient(circle, rgba(184, 20, 111, .12) 1.4px, transparent 1.8px) 0 0 / 22px 22px, #FFF6FA !important;
}
body.login * { box-sizing: border-box; }

/* --- Pannello illustrato ---------------------------------------------------- */
.weh-lg-side {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(150deg, var(--m) 0%, #D23C8C 55%, var(--p) 100%);
}
/* Cerchio a puntini e filo lime in basso, come le title bar del sito */
.weh-lg-side::before {
	content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .45) 2px, transparent 2.6px) 0 0 / 14px 14px;
}
.weh-lg-side::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 6px; background: linear-gradient(90deg, var(--lime), #fff 60%, var(--lime)); opacity: .9; }
.weh-lg-side-in { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; padding: 56px 56px 0; }
.weh-lg-kick {
	display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0 0 26px; padding: 5px 16px 5px 5px;
	font-size: 14px; font-weight: 600; color: var(--g); background: #fff; border-radius: 999px; box-shadow: 0 10px 24px -14px rgba(42, 72, 64, .5);
}
.weh-lg-kick span { padding: 4px 11px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--g); background: var(--lime); border-radius: 999px; }
.weh-lg-title { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 50px); font-weight: 700; line-height: 1.08; }
.weh-lg-title em { position: relative; z-index: 0; font-style: italic; font-weight: 600; color: #fff; white-space: nowrap; }
.weh-lg-title em::after { content: ""; position: absolute; right: -4px; bottom: .08em; left: -4px; z-index: -1; height: .34em; background: var(--lime); opacity: .85; border-radius: 4px; }
.weh-lg-text { max-width: 30ch; margin: 0 0 18px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.weh-lg-list { margin: 0; padding: 0; list-style: none; }
.weh-lg-list li { position: relative; margin: 0 0 8px; padding-left: 28px; font-size: 15px; font-weight: 600; }
.weh-lg-list li::before {
	content: "✓"; position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 19px; height: 19px;
	font-size: 11px; font-weight: 700; color: var(--g); background: var(--lime); border-radius: 50%;
}
.weh-lg-img { display: block; width: min(80%, 380px); height: auto; margin: auto auto 0; filter: drop-shadow(0 22px 26px rgba(42, 72, 64, .35)); }

/* --- Modulo -------------------------------------------------------------- */
body.login #login { width: 100%; max-width: 440px; margin: 0 auto !important; padding: 48px 20px 32px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
/* Il tema mette «Password dimenticata?» e «Torna a…» su una riga, ai due lati: qui uno sotto l'altro, centrati */
body.login #nav,
body.login #backtoblog { float: none !important; display: block !important; width: 100% !important; }
body.login #login h1 { margin: 0 0 22px; }
body.login #login h1 a {
	width: 220px; height: 38px; margin: 0 auto; background: url("../../../uploads/2026/01/Heater_LogoWEH_25.png") center / contain no-repeat !important;
	text-indent: -9999px; overflow: hidden;
}
.weh-lg-head { margin: 0 0 16px; text-align: center; }
.weh-lg-h { margin: 0 0 6px; font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--g); }
.weh-lg-sub { margin: 0; font-size: 15px; color: #5b6b66; }
.weh-lg-sub a { font-weight: 700; color: var(--m) !important; text-decoration: none; border-bottom: 2px solid var(--lime); }
.weh-lg-sub a:hover { color: var(--g) !important; }

body.login form {
	position: relative; margin: 0 !important; padding: 26px 26px 22px !important; overflow: hidden;
	background: #fff !important; border: 1px solid var(--line) !important; border-radius: 24px !important;
	box-shadow: 0 30px 60px -30px rgba(42, 72, 64, .35), 0 12px 26px -16px rgba(184, 20, 111, .25) !important;
}
body.login form::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--m), var(--p) 55%, var(--lime)); }
body.login form label { margin-bottom: 6px; font-size: 14px !important; font-weight: 600 !important; color: var(--g) !important; }
body.login form .input,
body.login input[type="text"],
body.login input[type="email"],
body.login input[type="password"] {
	min-height: 48px; margin: 0 0 16px !important; padding: 10px 14px !important; font-family: inherit; font-size: 16px !important; color: var(--g) !important;
	background: #FFFBFD !important; border: 1.5px solid var(--line) !important; border-radius: 14px !important; box-shadow: none !important; transition: border-color .2s, box-shadow .2s;
}
body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus { border-color: var(--m) !important; box-shadow: 0 0 0 4px rgba(184, 20, 111, .14) !important; outline: none !important; }
body.login .wp-pwd { position: relative; }
body.login .wp-pwd .input { padding-right: 52px !important; }
body.login .button.wp-hide-pw { top: 4px !important; right: 4px !important; width: 40px !important; height: 40px !important; min-height: 0 !important; color: var(--m) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.login .button.wp-hide-pw .dashicons { color: var(--m) !important; }
body.login .forgetmenot { float: none !important; margin: 0 0 16px !important; }
body.login .forgetmenot label { font-weight: 500 !important; }
body.login input[type="checkbox"] { width: 20px !important; height: 20px !important; margin: 0 8px 0 0 !important; border: 1.5px solid #d9c4cf !important; border-radius: 6px !important; box-shadow: none !important; vertical-align: -5px; }
body.login input[type="checkbox"]:checked { background: var(--m) !important; border-color: var(--m) !important; }
body.login input[type="checkbox"]:checked::before { filter: brightness(0) invert(1); }
body.login .submit { float: none !important; margin: 0 !important; padding: 0 !important; }
body.login .button-primary,
body.login #wp-submit {
	float: none !important; display: block; width: 100% !important; min-height: 50px !important; padding: 0 22px !important;
	font-family: inherit; font-size: 15px !important; font-weight: 700 !important; letter-spacing: .04em; text-transform: uppercase; text-shadow: none !important;
	color: #fff !important; background: var(--m) !important; border: 0 !important; border-radius: 999px !important;
	box-shadow: 0 14px 26px -12px rgba(184, 20, 111, .6) !important; transition: background-color .2s;
}
body.login .button-primary:is(:hover, :focus) { background: var(--g) !important; }
/* Il segno di domanda accanto a «Ricordami» (aggiunto dal tema) resta discreto */
body.login .forgetmenot :is(.dashicons, i, svg) { opacity: .45; }

/* Messaggi */
body.login .message,
body.login .notice,
body.login #login_error {
	margin: 0 0 16px !important; padding: 12px 16px !important; font-size: 14px; color: var(--g);
	background: #fff !important; border: 1px solid var(--line) !important; border-left: 4px solid var(--m) !important; border-radius: 14px !important; box-shadow: none !important;
}
body.login #login_error { border-left-color: #D63638 !important; }
body.login .notice-info, body.login .message { border-left-color: var(--lime) !important; }

/* Link sotto il modulo */
body.login #nav,
body.login #backtoblog { margin: 14px 0 0 !important; padding: 0 !important; text-align: center; font-size: 14px; }
body.login #nav a,
body.login #backtoblog a { font-weight: 600; color: var(--g) !important; text-decoration: none; border-bottom: 1px solid transparent; }
body.login #nav a:hover,
body.login #backtoblog a:hover { color: var(--m) !important; border-bottom-color: var(--m); }
body.login .privacy-policy-page-link { margin: 18px 0 0 !important; text-align: center; }
body.login .privacy-policy-page-link a { font-size: 13px; color: #7a8a85 !important; }
body.login .language-switcher { display: none; }

/* --- Disposizione: computer (pannello fisso a sinistra) --------------------------- */
@media (min-width: 960px) {
	.weh-lg-side { position: fixed; top: 0; bottom: 0; left: 0; width: 46%; }
	body.login { display: flex; min-height: 100vh; padding-left: 46%; }
	body.login #login { align-self: center; }
}
/* --- Telefono e tablet: pannello compatto in alto ----------------------------------- */
@media (max-width: 959px) {
	.weh-lg-side-in { flex-direction: row; align-items: flex-end; gap: 12px; padding: 22px 20px 0; }
	.weh-lg-side-in > :not(.weh-lg-img):not(.weh-lg-title):not(.weh-lg-kick) { display: none; }
	.weh-lg-side-in { flex-wrap: wrap; }
	.weh-lg-kick { width: 100%; margin-bottom: 4px; align-self: flex-start; flex: 0 0 auto; width: auto; }
	.weh-lg-title { flex: 1 1 0; margin: 0 0 20px; font-size: 30px; }
	.weh-lg-img { width: 120px; margin: 0; flex: none; }
	.weh-lg-side::before { width: 180px; height: 180px; }
	body.login #login { padding-top: 22px !important; }
	body.login form { padding: 22px 18px 18px !important; }
}
