/*
 * Ralston & Anthony — Login screen
 * Custom branded login: full-bleed background, logo, translucent form.
 * Image URLs are relative to THIS file (assets/css/), so ../img/ -> assets/img/.
 * Tokens (--ra-*) are injected inline by the plugin's critical block, and the
 * Log In button is recoloured to brand red there as well.
 */

body.login {
	background: url('../img/bg.jpg') no-repeat center center fixed;
	background-size: cover;
	font-family: "Quattrocento Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Custom logo */
body.login div#login h1 a {
	background-image: url('../img/logo.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 80px;
}

/* Form card */
.login form {
	background: rgba(255, 255, 255, 0.95);
	padding: 26px 24px;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.login label {
	color: var(--ra-text);
}

/* Fields — brand-red focus */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
	border-radius: 6px;
}
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
	border-color: var(--ra-red);
	box-shadow: 0 0 0 1px var(--ra-red);
	outline: 2px solid transparent;
}

/* Footer nav links (over the background image) */
.login #backtoblog a,
.login #nav a {
	text-decoration: none;
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.login #backtoblog a:hover,
.login #nav a:hover {
	color: var(--ra-gray);
}

/* Messages / errors */
.login .message,
.login .success,
.login #login_error,
.login .notice {
	border-radius: 6px;
	border-left-color: var(--ra-red);
}
