/*
 * Pub K — wp-login.php styling, enqueued via login_enqueue_scripts (functions.php).
 * wp-login.php loads neither the theme stylesheet nor theme.json, so the design
 * tokens from style.css :root are repeated here as literals.
 */

body.login {
	background: #F8F5EE;
	font-family: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
	color: #2A2D34;
}

/* Tricolor institute rule across the viewport top, echoing the masthead divider. */
body.login::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #0B2545 0%, #0B2545 33%, #C8102E 33%, #C8102E 66%, #B89538 66%, #B89538 100%);
	z-index: 10;
}

#login {
	width: 420px;
	padding: 7% 0 48px;
}

/* Wordmark replaces the WordPress logo; wider than the card, like the masthead. */
.login h1.wp-login-logo a,
.login .wp-login-logo a {
	display: block;
	width: calc(100% + 80px);
	height: 52px;
	margin: 0 -40px 12px;
	background: url(../img/logo-pubk.png) no-repeat center / contain;
}

.login .wp-login-logo::after {
	content: "Established in 1999";
	display: block;
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #6B6B6B;
	margin: 0 0 28px;
}

.login form {
	margin-top: 0;
	padding: 34px 34px 36px;
	background: #FFFFFF;
	border: 1px solid #E5E1D6;
	border-radius: 0;
	box-shadow: 0 24px 48px -24px rgba(11, 37, 69, 0.18);
}

.login form label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0B2545;
}

.login form .input,
.login form input[type="text"],
.login form input[type="password"] {
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	color: #111827;
	background: #FFFFFF;
	border: 1px solid #D4D0C7;
	border-radius: 0;
	box-shadow: none;
	padding: 10px 14px;
	margin: 8px 0 18px;
}

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

.login .button.wp-hide-pw {
	color: #0B2545;
	min-height: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.login .button.wp-hide-pw:focus {
	border-radius: 0;
	box-shadow: 0 0 0 1px #0B2545;
}

.login input[type="checkbox"] {
	border: 1px solid #D4D0C7;
	border-radius: 0;
	box-shadow: none;
}

.login input[type="checkbox"]:focus {
	border-color: #0B2545;
	box-shadow: 0 0 0 1px #0B2545;
}

.login .forgetmenot {
	margin-top: 2px;
}

.login .forgetmenot label {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #2A2D34;
}

.login .submit .button-primary,
.login .button-primary {
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 15px 26px;
	background: #C8102E;
	border: none;
	border-radius: 0;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	box-shadow: none;
	text-shadow: none;
	transition: background 0.25s;
}

.login .button-primary:hover {
	background: #9F0A22;
}

.login .button-primary:focus {
	background: #9F0A22;
	box-shadow: 0 0 0 2px #F8F5EE, 0 0 0 4px #0B2545;
}

/* Notices: white card, gold accent; errors get the red accent. */
.login .notice,
.login .message,
.login .success {
	border: 1px solid #E5E1D6;
	border-left: 3px solid #B89538;
	background: #FFFFFF;
	box-shadow: none;
	color: #2A2D34;
}

.login #login_error,
.login .notice-error {
	border-left-color: #C8102E;
}

.login #login_error a {
	color: #C8102E;
}

.login #nav,
.login #backtoblog {
	text-align: center;
	font-size: 13px;
	padding: 0;
}

.login #nav {
	margin: 24px 0 0;
}

.login #backtoblog {
	margin: 12px 0 0;
}

.login #nav a,
.login #backtoblog a {
	color: #0B2545;
	text-decoration: none;
}

.login #nav a:hover,
.login #backtoblog a:hover,
.login #nav a:focus,
.login #backtoblog a:focus {
	color: #C8102E;
	text-decoration: underline;
}

.login .privacy-policy-page-link {
	text-align: center;
}

.login .privacy-policy-page-link a {
	color: #6B6B6B;
}

.login .language-switcher {
	display: none;
}

@media (max-width: 520px) {
	#login {
		width: auto;
		padding: 14% 16px 40px;
	}

	.login h1.wp-login-logo a,
	.login .wp-login-logo a {
		width: 100%;
		margin: 0 0 12px;
		height: 40px;
	}
}
