/* =====================================================================
   The Red Horse — wp-login.php skin (Loden & Brass)
   Self-contained literal colors (wp-login has no theme tokens).
   Enqueued on `login_enqueue_scripts`. Safe alongside LoginPress Pro;
   to drive from LoginPress instead, paste these rules into its Custom CSS.
   ===================================================================== */

body.login {
	margin: 0;
	min-height: 100vh;
	background: #0e0f0b url('login-bkgd.jpg') center / cover no-repeat;
	font-family: "Cormorant Garamond", Georgia, serif;
}
body.login::before {
	content: "";
	position: fixed; inset: 0; z-index: 0;
	background: linear-gradient(180deg, rgba(14,15,11,.62) 0%, rgba(14,15,11,.82) 100%);
}

#login {
	position: relative; z-index: 1;
	width: 420px; max-width: 92vw;
	padding: 7vh 0 40px;
}

/* Crest/wordmark as the logo (WP site-title text stays visually hidden) */
#login h1 { margin: 0 0 22px; }
#login h1 a {
	display: block;
	background-image: url('logo-white-tight.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	height: 96px;
	margin: 0;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	font-size: 0; line-height: 0; color: transparent;
	filter: drop-shadow(0 8px 22px rgba(0,0,0,.55));
}

/* Optional injected sub-line (via login_message if you add one) */
.red-horse-login-head {
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
	color: #8a6731; text-align: center;
	background: #f3ecdb; margin: 0;
	padding: 24px 36px 0; border-top: 3px solid #c9a159;
}

/* The form card */
#loginform {
	background: #f3ecdb;
	border: 0;
	margin-top: 0;
	padding: 18px 36px 30px;
	box-shadow: 0 30px 70px -28px rgba(0,0,0,.75);
	overflow: visible;
}
.login-action-lostpassword #loginform,
.login-action-register #loginform { border-top: 3px solid #c9a159; }

#loginform p { margin: 0 0 20px; }
#loginform label {
	display: block;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: #5c5444; margin: 0 0 8px;
}
#loginform input[type=text],
#loginform input[type=password],
#loginform input[type=email] {
	width: 100%; box-sizing: border-box;
	font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; color: #23201a;
	background: #ece2cd; border: 1px solid rgba(35,30,20,.28); border-radius: 0;
	padding: 13px 15px; transition: border-color .15s ease, background .15s ease;
}
#loginform input[type=text]:focus,
#loginform input[type=password]:focus,
#loginform input[type=email]:focus {
	outline: none; border-color: #8a6731; background: #fff; box-shadow: none;
}

.login form .forgetmenot { font-weight: 400; }
#loginform .forgetmenot label {
	font-family: "Montserrat", Arial, sans-serif; font-size: 12px; font-weight: 400;
	letter-spacing: .02em; text-transform: none; color: #5c5444;
	display: flex; align-items: center; gap: 9px;
}
#loginform .forgetmenot input { accent-color: #8a6731; width: 15px; height: 15px; }

.login .button-primary,
#wp-submit {
	width: 100%; float: none;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: #f3ecdb; background: #8f2418; border: 0; border-radius: 0;
	padding: 16px; height: auto; line-height: 1.2; cursor: pointer;
	text-shadow: none; box-shadow: none; transition: background .18s ease;
}
.login .button-primary:hover,
#wp-submit:hover { background: #a8301f; color: #f3ecdb; }

/* links below the card, on the dark photo */
#nav, #backtoblog {
	text-align: center; margin: 18px 0 0; padding: 0;
	font-family: "Montserrat", Arial, sans-serif; font-size: 12px; letter-spacing: .04em;
}
#backtoblog { margin-top: 10px; }
#nav a, #backtoblog a {
	color: #e8e2d4; text-shadow: 0 1px 2px rgba(0,0,0,.4);
	border-bottom: 1px solid transparent; padding-bottom: 1px;
	transition: color .15s ease, border-color .15s ease;
}
#nav a:hover, #nav a:focus,
#backtoblog a:hover, #backtoblog a:focus { color: #d8bd8a; border-bottom-color: #d8bd8a; }

/* WordPress messages / errors — on-brand instead of default blue/red */
.login #login_error,
.login .message,
.login .notice {
	background: #f3ecdb; border-left: 4px solid #8f2418;
	color: #23201a; box-shadow: none; border-radius: 0;
	font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px;
}
.login .message { border-left-color: #c9a159; }
.login #backtoblog a, .login #nav a { font-weight: 600; }

/* Privacy-policy link below the form — never default purple */
.login .privacy-policy-page-link { text-align: center; margin: 12px 0 0; }
.login .privacy-policy-page-link a,
.login a.privacy-policy-link {
	font-family: "Montserrat", Arial, sans-serif; font-size: 12px; font-weight: 600;
	letter-spacing: .04em; color: #e8e2d4; text-shadow: 0 1px 2px rgba(0,0,0,.4);
	border-bottom: 1px solid transparent; padding-bottom: 1px;
	transition: color .15s ease, border-color .15s ease;
}
.login .privacy-policy-page-link a:hover, .login .privacy-policy-page-link a:focus,
.login a.privacy-policy-link:hover, .login a.privacy-policy-link:focus {
	color: #d8bd8a; border-bottom-color: #d8bd8a;
}
