:root {
	--pod-login-navy: #0d2748;
	--pod-login-blue: #0b78bd;
	--pod-login-sky: #25b4e9;
	--pod-login-line: #d8e3ec;
	--pod-login-muted: #485b70;
}

html { min-height: 100%; background: #071b31 !important; }

body.login {
	display: flex !important;
	width: 100% !important;
	min-height: 100vh !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 42px 20px 30px !important;
	background:
		radial-gradient(circle at 14% 12%, rgba(37,180,233,.24), transparent 28%),
		radial-gradient(circle at 86% 88%, rgba(22,123,187,.24), transparent 30%),
		linear-gradient(145deg, #06172a 0%, #0a2f55 54%, #096ba4 100%) !important;
	color: var(--pod-login-navy);
	font-family: Poppins, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	flex-direction: column !important;
}

body.login,
body.login * { box-sizing: border-box; }

body.login::before,
body.login::after { display: none !important; visibility: hidden !important; content: none !important; }

.pod-login-showcase,
.pod-login-mobile-brand { display: none !important; }

.pod-login-backdrop {
	position: fixed;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
}

.pod-login-backdrop::before,
.pod-login-backdrop::after,
.pod-login-backdrop i {
	position: absolute;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 46px;
	content: "";
	transform: rotate(-14deg);
}

.pod-login-backdrop::before { top: -160px; left: -95px; width: 420px; height: 420px; }
.pod-login-backdrop::after { right: -120px; bottom: -185px; width: 490px; height: 490px; }
.pod-login-backdrop i:first-child { top: 11%; right: 8%; width: 190px; height: 190px; border-color: rgba(255,255,255,.07); }
.pod-login-backdrop i:last-child { bottom: 9%; left: 9%; width: 150px; height: 150px; border-color: rgba(255,255,255,.06); }

body.login #login {
	position: relative !important;
	z-index: 2;
	display: block !important;
	width: min(540px, 100%) !important;
	max-width: 540px !important;
	min-height: 0 !important;
	margin: 0 auto !important;
	padding: 42px !important;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 28px;
	background: rgba(255,255,255,.98) !important;
	box-shadow: 0 30px 90px rgba(0,13,31,.38), 0 2px 8px rgba(0,20,43,.15);
	float: none !important;
	transform: none !important;
}

body.login #login::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 6px;
	background: linear-gradient(90deg, #0b6fb2, #27b6e9 55%, #f2b233);
	content: "";
}

/* Older login themes can attach several logo layers to the native heading. */
body.login #login > h1,
body.login #login > h1 *,
body.login #login > h1::before,
body.login #login > h1::after,
body.login #login > h1 a::before,
body.login #login > h1 a::after {
	display: none !important;
	visibility: hidden !important;
	content: none !important;
	background: none !important;
}

.pod-login-brand-panel {
	display: flex;
	align-items: center;
	margin: 0 0 22px;
	flex-direction: column;
	text-align: center;
}

.pod-login-logo {
	display: inline-flex;
	max-width: 100%;
	min-height: 0;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	padding: 4px 12px;
	text-decoration: none;
}

.pod-login-logo img {
	display: block;
	width: auto;
	max-width: min(210px, 100%);
	height: auto;
	max-height: 82px;
	object-fit: contain;
}

.pod-login-wordmark {
	color: var(--pod-login-navy);
	font-size: clamp(21px, 4.5vw, 28px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.05;
	text-transform: uppercase;
}

.pod-login-kicker {
	display: inline-flex;
	margin-bottom: 8px;
	color: var(--pod-login-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
}

.pod-login-brand-panel h1 {
	margin: 0;
	color: var(--pod-login-navy);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.12;
}

.pod-login-brand-panel p {
	max-width: 390px;
	margin: 10px 0 0;
	color: var(--pod-login-muted);
	font-size: 14px;
	line-height: 1.65;
}

body.login #login > form {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.login form > p { margin: 0 0 18px; }
body.login form > p:last-child { margin-bottom: 0; }

body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	width: 100%;
	min-height: 54px;
	margin-top: 8px;
	padding: 11px 15px;
	border: 1px solid #c8d6e4;
	border-radius: 12px;
	background: #f8fbfe;
	box-shadow: none;
	color: var(--pod-login-navy);
	font-family: inherit;
	font-size: 16px;
}

body.login form .input:focus,
body.login input:focus { border-color: #168fd0; box-shadow: 0 0 0 4px rgba(24,143,208,.13); }
body.login input:-webkit-autofill { box-shadow: 0 0 0 1000px #f8fbfe inset !important; -webkit-text-fill-color: var(--pod-login-navy) !important; }
body.login label { color: #2c425b; font-family: inherit; font-size: 13px; font-weight: 700; }
body.login .forgetmenot { margin: 2px 0 0 !important; }
body.login .forgetmenot label { display: inline-flex; align-items: center; gap: 8px; }
body.login input[type="checkbox"] { width: 18px; height: 18px; margin: 0; border-color: #aebfd0; border-radius: 4px; }
body.login input[type="checkbox"]:checked { border-color: var(--pod-login-blue); background: var(--pod-login-blue); }
body.login .wp-pwd .button { color: var(--pod-login-navy); }

body.login .submit { margin-top: 20px !important; }
body.login .button-primary {
	width: 100%;
	min-height: 50px;
	padding: 0 22px;
	border: 0 !important;
	border-radius: 12px;
	background: #0866a1 !important;
	box-shadow: 0 11px 26px rgba(13,114,199,.24);
	color: #fff !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	text-shadow: none;
}

body.login .button-primary:hover,
body.login .button-primary:focus { background: #095f9b !important; transform: translateY(-1px); }

body.login #nav,
body.login #backtoblog { width: 100%; margin: 19px 0 0 !important; padding: 0 !important; text-align: center; }
body.login #backtoblog { margin-top: 8px !important; }
body.login #nav a,
body.login #backtoblog a { color: #0b70b5 !important; font-size: 13px; font-weight: 700; text-decoration: none; }
body.login #nav a:hover,
body.login #backtoblog a:hover { color: #084c7c !important; text-decoration: underline; }

body.login .message,
body.login #login_error {
	width: 100% !important;
	margin: 0 0 22px !important;
	padding: 14px 16px !important;
	border: 1px solid #cfe0ec !important;
	border-left: 5px solid #168fd0 !important;
	border-radius: 11px !important;
	background: #f5fbff !important;
	box-shadow: none !important;
	color: var(--pod-login-navy) !important;
	font-size: 14px;
}

/* LoginPress also prints a full-width copyright bar on this screen. */
body.login > .footer-wrapper:has(> .footer-cont > .copyRight) { display: none !important; }

body.login .pod-login-help {
	position: relative;
	z-index: 2;
	display: flex;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 .6rem;
	margin: 12px auto 0;
	padding: 0;
	background: transparent;
	color: #c5d4e1;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.pod-login-separator { color: #95a8b9; }
.pod-login-credit { flex-basis: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 .35rem; }
.pod-login-credit svg { color: #ff8599; flex-shrink: 0; }

body.login .pod-login-help a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: #e4f4ff !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.login .pod-login-help a:focus-visible { outline: 2px solid #7cddff; outline-offset: 2px; }
body.login .language-switcher { position: relative; z-index: 2; margin: 14px auto 0; }
body.login .language-switcher label { color: rgba(255,255,255,.82); }

@media (max-width: 560px) {
	body.login { justify-content: flex-start !important; padding: 18px 12px 22px !important; }
	body.login #login { width: 100% !important; margin: 0 auto !important; padding: 28px 22px !important; border-radius: 21px; }
	.pod-login-logo { min-height: 0; margin-bottom: 10px; }
	.pod-login-logo img { max-width: min(176px, 100%); max-height: 68px; }
	.pod-login-brand-panel { margin-bottom: 24px; }
	.pod-login-brand-panel h1 { font-size: 29px; }
	.pod-login-brand-panel p { font-size: 13px; }
}

@media (max-width: 360px) {
	body.login #login { padding: 25px 18px !important; }
	.pod-login-brand-panel h1 { font-size: 26px; }
}

body.login #login .pod-login-brand-panel h1 { color: #102a46 !important; }
body.login #login .pod-login-brand-panel p { color: #485b70 !important; }
body.login #login .pod-login-register { margin: 6px 0 0; }
body.login #login .pod-login-register a { color: #07588c !important; font-weight: 700; text-decoration: underline; }
