/* Premium Login for WordPress — styles are scoped to wp-login.php only. */
body.login {
	--plwp-primary: #006d77;
	--plwp-accent: #20a1ad;
	min-height: 100vh;
	margin: 0;
	padding: 32px 18px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow-x: hidden;
	background:
		radial-gradient(circle at 12% 18%, rgba(72, 210, 202, .25), transparent 32%),
		radial-gradient(circle at 88% 78%, rgba(32, 161, 173, .28), transparent 34%),
		linear-gradient(135deg, #071c2c 0%, #0a3745 48%, #006d77 100%);
	background-image: var(--plwp-bg-image, none), radial-gradient(circle at 12% 18%, rgba(72, 210, 202, .25), transparent 32%), radial-gradient(circle at 88% 78%, rgba(32, 161, 173, .28), transparent 34%), linear-gradient(135deg, #071c2c 0%, #0a3745 48%, #006d77 100%);
	background-position: center, center, center, center;
	background-size: cover, auto, auto, auto;
	background-attachment: fixed;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.login::before,
body.login::after {
	content: "";
	position: fixed;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	filter: blur(2px);
	pointer-events: none;
	z-index: 0;
	background: radial-gradient(circle, rgba(83, 229, 216, .18), rgba(83, 229, 216, 0) 68%);
	animation: plwp-orbit 15s ease-in-out infinite alternate;
}
body.login::before { top: -110px; left: -110px; }
body.login::after { right: -100px; bottom: -130px; animation-delay: -7s; }
body.login #login {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	padding: 0;
	margin: 0 auto;
}
body.login #login h1 {
	margin: 0 0 18px;
	text-align: center;
}
body.login #login h1 a {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 auto;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 22px;
	transition: transform .25s ease, filter .25s ease;
	filter: drop-shadow(0 10px 24px rgba(0,0,0,.18));
}
body.login #login h1 a:hover { transform: translateY(-3px) scale(1.03); }
body.login .plwp-welcome {
	text-align: center;
	margin: 0 0 22px;
	color: #fff;
}
body.login .plwp-welcome-title {
	font-size: clamp(25px, 5vw, 32px);
	line-height: 1.2;
	font-weight: 750;
	letter-spacing: -.04em;
	margin-bottom: 8px;
	text-shadow: 0 2px 22px rgba(0,0,0,.15);
}
body.login .plwp-welcome-description {
	color: rgba(255,255,255,.75);
	font-size: 14px;
	line-height: 1.6;
	max-width: 330px;
	margin: 0 auto;
}
body.login #loginform,
body.login #lostpasswordform,
body.login #registerform,
body.login #resetpassform {
	padding: 30px;
	margin: 0;
	border: 1px solid rgba(255,255,255,.24);
	border-radius: 24px;
	background: rgba(255,255,255,.94);
	box-shadow: 0 24px 80px rgba(0, 12, 24, .28), inset 0 1px 0 rgba(255,255,255,.75);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	animation: plwp-enter .55s cubic-bezier(.2,.8,.2,1) both;
}
body.login #loginform label,
body.login #lostpasswordform label,
body.login #resetpassform label {
	font-size: 13px;
	font-weight: 650;
	color: #243744;
}
body.login #loginform .input,
body.login #lostpasswordform .input,
body.login #registerform .input,
body.login #resetpassform .input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 7px 0 17px;
	padding: 12px 14px;
	border: 1px solid #d9e3e8;
	border-radius: 12px;
	background: #fff;
	color: #102b37;
	font-size: 15px;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.login #loginform .input:focus,
body.login #lostpasswordform .input:focus,
body.login #registerform .input:focus,
body.login #resetpassform .input:focus {
	border-color: var(--plwp-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--plwp-accent) 18%, transparent);
	outline: none;
	transform: translateY(-1px);
}
body.login .forgetmenot { margin: 0; }
body.login .forgetmenot label { font-weight: 500 !important; color: #52636d !important; }
body.login input[type="checkbox"] { accent-color: var(--plwp-primary); }
body.login .wp-pwd { position: relative; }
body.login .wp-pwd .input { padding-right: 48px !important; }
body.login .wp-hide-pw {
	width: 40px;
	height: 40px;
	top: 11px;
	right: 5px;
	border-radius: 9px;
	color: #52636d;
	transition: background .2s ease, color .2s ease;
}
body.login .wp-hide-pw:hover { background: #eaf5f6; color: var(--plwp-primary); }
body.login .wp-hide-pw:focus { box-shadow: 0 0 0 3px rgba(32,161,173,.22); }
body.login #wp-submit {
	width: 100%;
	min-height: 48px;
	margin-top: 18px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--plwp-primary), var(--plwp-accent));
	color: #fff;
	font-size: 15px;
	font-weight: 750;
	text-shadow: none;
	box-shadow: 0 9px 20px rgba(0,109,119,.24);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
body.login #wp-submit:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 13px 26px rgba(0,109,119,.3); }
body.login #wp-submit:active { transform: translateY(0) scale(.99); }
body.login #wp-submit:disabled { opacity: .75; cursor: wait; }
body.login .submit { margin: 0; }
body.login #nav,
body.login #backtoblog {
	text-align: center;
	margin: 15px 0 0;
	padding: 0;
	font-size: 13px;
}
body.login #nav a,
body.login #backtoblog a {
	color: rgba(255,255,255,.88);
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease;
}
body.login #nav a:hover,
body.login #backtoblog a:hover { color: #fff; text-decoration: underline; }
body.login .message,
body.login .success,
body.login #login_error {
	border: 0;
	border-left: 4px solid var(--plwp-accent);
	border-radius: 12px;
	padding: 13px 15px;
	margin: 0 0 16px;
	background: rgba(255,255,255,.96);
	color: #243744;
	box-shadow: 0 8px 24px rgba(0,0,0,.1);
	animation: plwp-enter .25s ease both;
}
body.login #login_error { border-left-color: #d9485f; }
body.login .privacy-policy-page-link { margin-top: 14px; }
body.login .language-switcher { margin-top: 18px; }
body.login .language-switcher select { border-radius: 8px; }
body.login.plwp-no-branding #login h1,
body.login.plwp-no-branding .plwp-welcome { display: none; }
body.login.plwp-animation-fade #loginform,
body.login.plwp-animation-fade #lostpasswordform { animation-name: plwp-fade; }
body.login.plwp-animation-none #loginform,
body.login.plwp-animation-none #lostpasswordform { animation: none; }
body.login.plwp-no-animations::before,
body.login.plwp-no-animations::after { animation: none !important; }
body.login.plwp-no-animations #loginform,
body.login.plwp-no-animations #lostpasswordform,
body.login.plwp-no-animations #registerform,
body.login.plwp-no-animations #resetpassform { animation: none !important; }
@keyframes plwp-enter {
	from { opacity: 0; transform: translateY(14px) scale(.99); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes plwp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes plwp-orbit {
	from { transform: translate3d(0,0,0) scale(.95); }
	to { transform: translate3d(35px,25px,0) scale(1.08); }
}
@media (max-width: 480px) {
	body.login { padding: 24px 14px; }
	body.login #login { max-width: 100%; }
	body.login #loginform,
	body.login #lostpasswordform,
	body.login #registerform,
	body.login #resetpassform { padding: 23px 20px; border-radius: 20px; }
	body.login #login h1 a { width: 62px; height: 62px; }
	body.login .plwp-welcome-title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	body.login *, body.login *::before, body.login *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
