/* Acceso al panel con la identidad del colegio: noche de Coro, filo dorado, emblema. */
@font-face { font-family: "Young Serif"; src: url(fonts/young-serif-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

body.login {
	min-height: 100vh;
	background: radial-gradient(120% 70% at 50% 0%, #1E2D55 0%, #121C38 60%) fixed, #121C38;
	border-top: 6px solid #C9A227;
	font-family: "Figtree", system-ui, sans-serif;
	color: #2E3550;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}
.login #login { width: min(360px, 100%); padding: 0; margin: 0 auto; }
.login h1 a {
	background: var(--rd-emblema) no-repeat center / contain;
	width: 88px; height: 100px; margin: 0 auto 18px;
}
.login h1::after {
	content: "Colegio El Rey David";
	display: block;
	text-align: center;
	font: 400 1.35rem/1.2 "Young Serif", Georgia, serif;
	color: #FFF8EC;
	margin-bottom: 22px;
}
.login form {
	background: #FFF8EC;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .55);
	padding: 26px 24px 22px;
	margin-top: 0;
}
.login label { font-weight: 600; color: #14203F; font-size: .95rem; }
.login input[type=text], .login input[type=password], .login input[type=email] {
	border: 1.5px solid #d9cfba;
	border-radius: 10px;
	background: #fff;
	font-size: 1rem;
	padding: 6px 12px;
	min-height: 46px;
	box-shadow: none;
}
.login input:focus { border-color: #1E2D55; box-shadow: 0 0 0 3px rgba(201, 162, 39, .45); outline: 0; }
.login .button.wp-hide-pw { min-height: 46px; color: #1E2D55; }
.login .button.wp-hide-pw:focus { box-shadow: 0 0 0 3px rgba(201, 162, 39, .45); border-color: transparent; }
.login .button-primary, .login .button-primary:hover, .login .button-primary:focus {
	background: #C9A227;
	border: 0;
	color: #14203F;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 999px;
	padding: 4px 26px;
	min-height: 44px;
	text-shadow: none;
	box-shadow: none;
	transition: background .2s, transform .2s;
}
.login .button-primary:hover { background: #E2B93B; transform: translateY(-1px); }
.login .button-primary:focus-visible { box-shadow: 0 0 0 3px #FFF8EC, 0 0 0 5px #C9A227; }
.login .forgetmenot { margin-top: 12px; }
.login input[type=checkbox]:checked::before { filter: hue-rotate(180deg); }
.login #nav, .login #backtoblog, .login .privacy-policy-page-link { text-align: center; }
.login #nav a, .login #backtoblog a, .login .privacy-policy-link { color: #C9CAF0; font-size: .92rem; }
.login #nav a:hover, .login #backtoblog a:hover, .login .privacy-policy-link:hover { color: #E2B93B; }
.login .message, .login .notice, .login #login_error {
	border-radius: 12px;
	border-left-color: #C9A227;
	background: #FFF8EC;
	box-shadow: none;
}
.login #login_error { border-left-color: #b3261e; }
.login .language-switcher { display: none; }
@media (prefers-reduced-motion: reduce) { .login .button-primary { transition: none; } }
