/* Login ZOE: card bianca su fondo neutro, wordmark e bottone teal.
   Sostituisce l'aspetto standard di wp-login.php (vedi ZOE_Login). */

body.login {
	background: #F2F5F4;
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

#login {
	padding-top: 6vh;
	width: 372px;
}

/* Wordmark: marchio quadrato teal + nome, come nel rail dell'app. */
#login h1 a {
	background: none;
	width: auto;
	height: auto;
	text-indent: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-family: 'Archivo Black', 'Archivo', 'Segoe UI Black', 'Arial Black', sans-serif;
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #0F1419;
	line-height: 1.2;
	pointer-events: none;
	margin-bottom: 24px;
}

#login h1 a::before {
	content: '';
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 9px;
	background-image: url("../img/logo.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* La card. */
#loginform {
	background: #fff;
	border: none;
	border-radius: 14px;
	box-shadow: 0 10px 40px -12px rgba(15, 20, 25, 0.16);
	padding: 28px 30px 26px;
	margin-top: 0;
}

#loginform label {
	color: #3D4B52;
	font-size: 13px;
	font-weight: 600;
}

#loginform .input,
#loginform input[type="text"],
#loginform input[type="password"] {
	background: #F5F7F6;
	border: 1px solid #E3E9E7;
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 15px;
	box-shadow: none;
	margin: 6px 0 16px;
}

#loginform .input:focus,
#loginform input[type="password"]:focus {
	border-color: #0E7C86;
	box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.12);
	background: #fff;
}

.login .button.wp-hide-pw {
	color: #0E7C86;
}

.login #loginform .forgetmenot {
	display: flex;
	align-items: center;
	gap: 8px;
	float: none;
	margin: 0 0 22px;
}

.login #loginform .forgetmenot label {
	font-size: 13.5px;
	font-weight: 400;
	color: #5C6B74;
	line-height: 1;
}

#loginform input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1px solid #C7D2CF;
	border-radius: 5px;
	accent-color: #0E7C86;
}

#loginform input[type="checkbox"]:checked {
	background: #0E7C86;
	border-color: #0E7C86;
}

#loginform input[type="checkbox"]:focus {
	box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.12);
	border-color: #0E7C86;
}

/* Bottone pieno, tutta larghezza, stessa geometria dei campi. */
.login p.submit {
	margin: 0;
	padding: 0;
}

.login #wp-submit {
	display: block;
	width: 100%;
	background: #0E7C86;
	border: none;
	border-radius: 8px;
	padding: 0 16px;
	height: 42px;
	min-height: 0;
	line-height: 42px;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-shadow: none;
	transition: background 0.15s, transform 0.06s;
	float: none;
}

.login #wp-submit:active {
	transform: translateY(1px);
}

.login #wp-submit:hover,
.login #wp-submit:focus {
	background: #0A5A61;
}

/* Link sotto la card. */
.login #nav {
	text-align: center;
	font-size: 13px;
}

.login #nav a,
.login #backtoblog a {
	color: #0E7C86;
}

/* Niente rimandi a WordPress: né "torna al sito" né selettore lingua. */
.login #backtoblog,
.login .language-switcher {
	display: none;
}

/* Messaggi di errore/avviso coerenti con la card. */
.login .notice,
.login #login_error,
.login .message {
	border-radius: 8px;
	border-left-width: 3px;
}
