/*
 * EGSBI — calm login screen: the logo on a white card, one blue button.
 */

body.login {
	background: #f3f5f8;
	color: #161a23;
	font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
}

.login #login { width: 380px; max-width: calc(100% - 32px); padding: 0; margin: 0 auto; }

.login h1 a {
	width: 220px;
	height: 84px;
	background-size: contain;
	background-position: center;
	margin-bottom: 18px;
}

.login form {
	border: 1px solid #e6e8ee;
	border-radius: 14px;
	box-shadow: none;
	padding: 26px 24px 30px;
	margin-top: 0;
}

.login label { color: #3f4859; font-weight: 600; font-size: 13.5px; }

.login form .input,
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
	border: 1px solid #e6e8ee;
	border-radius: 9px;
	background: #ffffff;
	box-shadow: none;
	font-size: 16px;
	padding: 6px 12px;
	min-height: 42px;
}

.login form .input:focus,
.login input[type="text"]:focus,
.login input[type="password"]:focus {
	border-color: #335f8c;
	box-shadow: 0 0 0 1px #335f8c;
	outline: 0;
}

.wp-core-ui.login .button-primary {
	background: #335f8c;
	border-color: #335f8c;
	color: #fff;
	border-radius: 9px;
	box-shadow: none;
	text-shadow: none;
	font-weight: 700;
	min-height: 40px;
	padding: 0 20px;
}

.wp-core-ui.login .button-primary:hover,
.wp-core-ui.login .button-primary:focus { background: #284d73; border-color: #284d73; }

.wp-core-ui.login .button-secondary,
.login .button.wp-hide-pw { color: #646d84; border-radius: 9px; }
.login .button.wp-hide-pw:focus { box-shadow: 0 0 0 1px #335f8c; border-color: #335f8c; }

.login input[type="checkbox"] { border-color: #c9ced8; border-radius: 4px; }
.login input[type="checkbox"]:checked::before { filter: grayscale(1) brightness(.4); }

.login #nav,
.login #backtoblog { text-align: center; padding: 0; margin-top: 14px; }

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-page-link a { color: #5c6577; text-decoration: none; }

.login #nav a:hover,
.login #backtoblog a:hover { color: #284d73; }

.login .message,
.login .notice,
.login .success,
.login #login_error {
	border: 1px solid #e6e8ee;
	border-inline-start: 3px solid #335f8c;
	border-radius: 10px;
	box-shadow: none;
	background: #ffffff;
}

.login #login_error { border-inline-start-color: #b5413e; }
.login .success { border-inline-start-color: #2a7352; }

.login .language-switcher { margin-top: 18px; }
.login .language-switcher select { border-radius: 8px; border-color: #e6e8ee; }
