html, body {
	height: 100%;
	margin: 0;
}

body {
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	position: relative;
	overflow-x: hidden;
}

/* Background image layer.
   background-size: cover  ->  "fill": covers the whole screen without distortion (crops the overflow).
   The image already carries its own transparency; lower "opacity" to fade it further if needed.
   Path is relative to this stylesheet (custom_styles/), hence the "../" up to guk.pro root. */
.login_bg {
	position: fixed;
	inset: 0;
	background-image: url("../Project Images/login_background.png");
	background-size: cover;
	background-position: 0% center; /* = left center (preview A): image as far right as cover allows without gaps */
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
	pointer-events: none;
}

.login_wrapper {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
}

/* White card that frames the whole login block (logo, tagline, heading, form) */
.login_panel {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
	padding: 36px 52px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: fit-content;
	max-width: 92vw;
}

/* The logo PNG has ~20% transparent margin on each side; the negative
   margins trim that whitespace to bring the wordmark closer to the tagline. */
.login_logo {
	height: 220px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	margin-top: -24px;
	margin-bottom: -38px;
}

.login_tagline {
	margin-top: 4px;
	font-size: 24px;
	font-weight: 600;
	color: #111;
	text-align: center;
	white-space: nowrap;
}

.login_heading {
	font-size: 22px;
	color: #111;
	text-align: center;
	margin-top: 26px;
	margin-bottom: 16px;
}

.login_form {
	width: 320px;
	max-width: 100%;
}

.validation_wrong {
	color: #b91c1c;
	font-size: 14px;
	margin-bottom: 10px;
}
