/**
 * Nous - Stile della pagina di login WordPress.
 *
 * Base statica (layout, rounded, input bianchi). I colori dinamici
 * (background, button, testi, logo) sono iniettati inline da PHP a partire
 * dalle impostazioni del pannello "Login Design".
 */

body.login {
	background: var(--nous-login-bg, #f4f6fb);
}

body.login #login {
	width: 360px;
	padding: 6% 0 4%;
}

/* Logo: icona trasparente impostabile da admin. */
body.login h1 a {
	width: 100%;
	height: 84px;
	margin-bottom: 18px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 0;
	box-shadow: none;
}

/* Card del form: bianca, rounded, ombra soft. */
body.login form {
	background: #fff;
	border: 1px solid #e4e8f2;
	border-radius: 16px;
	padding: 26px 24px;
	box-shadow: 0 12px 32px rgba(20, 30, 60, .10);
}

/* Etichette + testo fuori dal button. */
body.login label,
body.login form .input,
body.login #backtoblog a,
body.login #nav a {
	color: var(--nous-login-text, #2b3245);
}

/* Input: bianche e rounded. */
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	background: #fff;
	border: 1px solid #d6ddec;
	border-radius: 10px;
	padding: 11px 13px;
	font-size: 15px;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
	border-color: var(--nous-login-btn-bg, #1d6cf2);
	box-shadow: 0 0 0 3px rgba(29, 108, 242, .15);
	outline: none;
}

/* Mostra/nascondi password. */
body.login .wp-pwd .button {
	background: transparent;
	border: 0;
	box-shadow: none;
}

/* Bottone primario: colore + testo impostabili. */
body.login .button-primary,
body.login #wp-submit {
	width: 100%;
	background: var(--nous-login-btn-bg, #1d6cf2) !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: var(--nous-login-btn-text, #fff) !important;
	text-shadow: none !important;
	box-shadow: 0 6px 16px rgba(29, 108, 242, .26) !important;
	padding: 10px 16px !important;
	height: auto !important;
	font-weight: 600;
	transition: filter .15s ease;
}

body.login .button-primary:hover,
body.login #wp-submit:hover {
	filter: brightness(.94);
}

/* Link "Torna a" / "Password persa" / nav. */
body.login #nav,
body.login #backtoblog {
	text-align: center;
	margin-top: 14px;
}

body.login #nav a:hover,
body.login #backtoblog a:hover {
	color: var(--nous-login-btn-bg, #1d6cf2);
}

/* Checkbox "ricordami". */
body.login .forgetmenot label {
	font-size: 13px;
}

/* Messaggi errore/notice rounded. */
body.login #login_error,
body.login .message,
body.login .notice {
	border-radius: 10px;
}
