/* Reset + box sizing (login page only) */
html, body {
	margin: 0;
	padding: 0;
}

*, *::before, *::after {
	box-sizing: border-box;
}

/* Base */
body {
	background: #f7f8fa;
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Centering frame */
.login-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

/* Outer container specs */
.login-card {
	width: 400px;
	max-width: calc(100vw - 30px);
	background: #fff;
	border: 1px solid #e9e9e9;
	border-radius: 10px;
	text-align: center;
	overflow: hidden;
}

/* Logo bar */
.login-logo-wrap {
	background: #e9e9e9;
	padding: 10px 20px;
}

.login-logo {
	display: block;
	margin: 0 auto;
	width: 180px;
	max-width: 100%;
	height: auto;
}

/* Content */
.login-body {
	padding: 40px;
}

.login-msg {
	margin: 0 0 18px 0;
	color: #222;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

/* Error alert (distinct from brand red) */
.login-alert {
	margin: 0 0 18px 0;
	padding: 12px 14px;
	border: 1px solid #f1c4c6;
	border-radius: 6px;
	background: #fff5f5;
	color: #8a1f23;
	font-size: 14px;
	line-height: 1.4;
}

/* Button: brand red, flat, controlled */
.login-btn {
	display: block;
	width: 100%;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.6rem 1rem;
	font-size: 1rem;
	line-height: 1.4;
	border-radius: 6px;
	background-color: #d81f26;
	color: #fff;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease-in-out;
}

.login-btn:hover {
	background-color: #b91a20;
}

.login-btn:active {
	background-color: #a5171c;
}

/* Keyboard accessibility: visible focus ring */
.login-btn:focus-visible {
	outline: 3px solid rgba(216, 31, 38, 0.35);
	outline-offset: 3px;
}

/* Local login form */
.login-form {
	margin: 0 0 20px 0;
	text-align: left;
}

.login-field {
	margin-bottom: 8px;
}

.login-label {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #222;
}

.login-input {
	display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	line-height: 1.4;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
}

.login-input:focus {
	outline: none;
	border-color: #d81f26;
	box-shadow: 0 0 0 2px rgba(216, 31, 38, 0.2);
}

.login-form .login-btn {
	margin-top: 12px;
}

.login-divider {
	margin: 20px 0 10px;
	padding: 10px 0 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #000;
	text-transform: uppercase;
	border-top: 1px solid #ccc;
}