:root {
	--text: #171717;
	--field-bg: rgba(244, 244, 244, 0.92);
	--panel: rgba(0, 0, 0, 0.9);
	--focus: #d90000;
	--action: #ff0000;
	--error: #fff;
	--error-bg: rgba(0, 0, 0, 0.9);
	--font: Arial, Helvetica, sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
	min-width: 250px;
}

body {
	margin: 0;
	color: var(--text);
	font-family: var(--font);
	background-color: #deded9;
	background-image:
		linear-gradient(90deg, rgba(238, 238, 234, 0.11), rgba(238, 238, 234, 0.23) 45%, rgba(238, 238, 234, 0.14)),
		url("/serve?file=/logindesigns/logindesign-88e21487aa3f/efsg-background");
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
	background-size: auto, cover;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

button,
input {
	font: inherit;
}

.OuterFrame {
	position: relative;
	width: min(100%, 1280px);
	min-height: 720px;
	height: 100dvh;
	margin: 0 auto;
}

.Head {
	position: absolute;
	top: clamp(135px, 22vh, 175px);
	left: clamp(34px, 24.8vw, 317px);
	width: clamp(172px, 18.9vw, 242px);
	height: auto;
	display: block;
}

.Content {
	--controls-height: 100px;
	--message-gap: 0px;
	--panel-height: 142px;
	--panel-left: -48px;
	--panel-top: -21px;
	--panel-width: 627px;
	position: absolute;
	top: clamp(310px, 42vh, 323px);
	left: clamp(44px, 29.25vw, 374px);
	width: min(560px, calc(100% - 88px));
	z-index: 1;
	isolation: isolate;
}

.Content::before {
	position: absolute;
	top: var(--panel-top);
	left: var(--panel-left);
	z-index: -1;
	width: var(--panel-width);
	height: var(--panel-height);
	content: "";
	background: var(--panel);
	pointer-events: none;
}

.Login {
	position: relative;
	z-index: 1;
}

.field-row {
	display: grid;
	grid-template-columns: 102px 234px auto;
	align-items: center;
	min-height: 50px;
	margin-bottom: 0;
}

.field-label {
	font-size: 20px;
	line-height: 1;
	color: #fff;
}

input[name="Model.ApplicationCode"],
input[name="Model.Logincode"] {
	width: 234px;
	height: 40px;
	border: 0;
	border-radius: 0;
	background: var(--field-bg);
	color: #222;
	padding: 5px 10px 4px;
	font-size: 18px;
	letter-spacing: 1.8px;
	outline: 0;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

input[name="Model.ApplicationCode"] {
	width: 234px;
}

input:focus-visible {
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.72),
		0 0 0 4px rgba(255, 0, 0, 0.42);
}

button {
	width: 127px;
	min-height: 40px;
	margin-left: 68px;
	border: 0;
	border-radius: 0;
	background: var(--action);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease;
}

button:hover,
button:focus-visible {
	background: #d80000;
}

button:active {
	transform: translateY(1px);
}

.error-message {
	width: var(--panel-width);
	margin: calc(var(--panel-top) + var(--panel-height) + var(--message-gap) - var(--controls-height)) 0 0 var(--panel-left);
	padding: 15px 18px;
	background: var(--error-bg);
	color: var(--error);
	font-size: 15px;
	line-height: 1.32;
	overflow-wrap: anywhere;
}

.error-message:empty {
	display: none;
}

.error-frame > :first-child {
	margin-top: 0;
}

.error-frame > :last-child {
	margin-bottom: 0;
}

.error-frame p {
	margin: 0 0 7px;
}

.error-frame ul {
	margin: 0;
	padding-left: 18px;
}

.Footer {
	position: absolute;
	top: calc(clamp(310px, 42vh, 323px) + 125px);
	left: calc(clamp(44px, 29.25vw, 374px) - 48px);
	width: 627px;
	padding: 14px 16px 13px;
	background: rgba(255, 255, 255, 0.82);
	color: #171717;
	font-size: 12px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.Footer p {
	margin: 0 0 5px;
}

.Footer b {
	font-weight: 700;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 760px) {
	body {
		background-position: center, 54% center;
		background-size: auto, auto 100%;
	}

	.OuterFrame {
		--mobile-panel-width: min(316px, calc(max(250px, 100vw) - 20px));
		width: 100%;
		min-height: 620px;
		height: 100dvh;
	}

	.Head {
		top: clamp(96px, calc(33vh - 85px), 206px);
		left: calc(50% - var(--mobile-panel-width) / 2);
		width: clamp(132px, 39vw, 148px);
		transform: none;
	}

	.Content {
		--controls-height: 166px;
		--mobile-label-width: clamp(54px, 17vw, 68px);
		--mobile-input-width: clamp(140px, calc(max(250px, 100vw) - 118px), 200px);
		--message-gap: 0px;
		--panel-height: 202px;
		--panel-left: 0px;
		--panel-top: -18px;
		--panel-width: 100%;
		top: clamp(220px, 42vh, 362px);
		left: 50%;
		width: var(--mobile-panel-width);
		transform: translateX(-50%);
	}

	.field-row {
		grid-template-columns: var(--mobile-label-width) var(--mobile-input-width);
		min-height: 62px;
		margin-left: 14px;
	}

	.field-row:nth-of-type(2) {
		align-items: start;
		min-height: 104px;
	}

	.field-row:nth-of-type(2) .field-label {
		padding-top: 4px;
	}

	.field-label {
		font-size: 16px;
	}

	input[name="Model.ApplicationCode"],
	input[name="Model.Logincode"] {
		width: var(--mobile-input-width);
		height: 38px;
		padding: 5px 10px;
		font-size: 16px;
		letter-spacing: 1.4px;
	}

	button {
		width: 96px;
		min-height: 40px;
		grid-column: 2;
		margin-top: 14px;
		margin-left: 0;
		font-size: 14px;
	}

	.error-message {
		width: var(--panel-width);
		margin: calc(var(--panel-top) + var(--panel-height) + var(--message-gap) - var(--controls-height)) 0 0 var(--panel-left);
		padding: 13px 14px;
		font-size: 13px;
		line-height: 1.32;
	}

	.Footer {
		top: calc(clamp(220px, 42vh, 362px) + 188px);
		bottom: auto;
		left: 50%;
		width: var(--mobile-panel-width);
		padding: 11px 14px 10px;
		font-size: 10px;
		transform: translateX(-50%);
	}
}

@media (min-width: 761px) and (max-width: 1279px) {
	.Head {
		left: calc(50% - 322px);
		width: clamp(172px, 21vw, 246px);
	}

	.Content {
		--panel-width: min(627px, calc(100vw - 96px));
		left: calc(50% - 266px);
		width: min(560px, calc(100vw - 156px));
	}

	.Footer {
		left: calc(50% - 314px);
		width: min(627px, calc(100vw - 96px));
	}
}

@media (min-width: 761px) and (max-height: 640px) {
	.OuterFrame {
		min-height: 560px;
	}

	.Head {
		top: 96px;
	}

	.Content {
		top: 218px;
	}

	.Footer {
		top: 343px;
		bottom: auto;
	}
}

@media (orientation: landscape) and (min-width: 761px) and (max-height: 640px) {
	.OuterFrame {
		min-height: 100dvh;
		height: 100dvh;
	}

	.Head {
		top: 48px;
		left: calc(50% - 322px);
		width: clamp(172px, 17.5vw, 200px);
	}

	.Content {
		--panel-width: min(627px, calc(100vw - 96px));
		top: 218px;
		left: calc(50% - 266px);
		width: min(560px, calc(100vw - 156px));
	}

	.Footer {
		top: 343px;
		bottom: auto;
		left: calc(50% - 314px);
		width: min(627px, calc(100vw - 96px));
		font-size: 11px;
		line-height: 1.15;
	}
}

@media (orientation: landscape) and (min-width: 600px) and (max-width: 900px) and (max-height: 520px) {
	.OuterFrame {
		--compact-panel-width: min(627px, calc(100vw - 32px));
		min-height: 100dvh;
		height: 100dvh;
	}

	body {
		background-position: center, center;
		background-size: auto, cover;
	}

	.Head {
		top: clamp(28px, 9vh, 50px);
		left: calc((100vw - var(--compact-panel-width)) / 2);
		width: clamp(150px, 20vw, 172px);
		transform: none;
	}

	.Content {
		--controls-height: 100px;
		--message-gap: 0px;
		--panel-height: 136px;
		--panel-left: -48px;
		--panel-top: -18px;
		--panel-width: var(--compact-panel-width);
		top: clamp(154px, 42vh, 180px);
		left: calc((100vw - var(--compact-panel-width)) / 2 + 48px);
		width: calc(var(--compact-panel-width) - 48px);
		transform: none;
	}

	.field-row {
		grid-template-columns: clamp(72px, 10vw, 102px) clamp(200px, 28vw, 234px) auto;
		min-height: 50px;
	}

	.field-row:nth-of-type(2) {
		align-items: center;
		min-height: 50px;
	}

	.field-row:nth-of-type(2) .field-label {
		padding-top: 0;
	}

	input[name="Model.ApplicationCode"],
	input[name="Model.Logincode"] {
		width: clamp(200px, 28vw, 234px);
		height: 40px;
		font-size: 16px;
	}

	button {
		grid-column: auto;
		width: clamp(96px, 15vw, 127px);
		min-height: 40px;
		margin-top: 0;
		margin-left: clamp(24px, 8vw, 68px);
		font-size: 14px;
	}

	.Footer {
		top: calc(clamp(154px, 42vh, 180px) + 122px);
		bottom: auto;
		left: calc((100vw - var(--compact-panel-width)) / 2);
		width: var(--compact-panel-width);
		font-size: 11px;
		transform: none;
	}
}

@media (orientation: landscape) and (max-height: 360px) {
	.OuterFrame {
		min-height: 560px;
		height: auto;
	}
}

@media (orientation: landscape) and (max-width: 599px) and (max-height: 360px) {
	.Head {
		top: 32px;
		left: calc(50% - var(--mobile-panel-width) / 2);
		width: clamp(126px, 28vw, 138px);
		transform: none;
	}

	.Content {
		--controls-height: 166px;
		--message-gap: 0px;
		--panel-height: 202px;
		--panel-left: 0px;
		--panel-top: -18px;
		--panel-width: 100%;
		top: 132px;
		left: 50%;
		width: min(316px, calc(max(250px, 100vw) - 20px));
		transform: translateX(-50%);
	}

	.field-row {
		grid-template-columns: var(--mobile-label-width) var(--mobile-input-width);
		min-height: 62px;
		margin-left: 14px;
	}

	.field-row:nth-of-type(2) {
		align-items: start;
		min-height: 104px;
	}

	.field-row:nth-of-type(2) .field-label {
		padding-top: 4px;
	}

	input[name="Model.ApplicationCode"],
	input[name="Model.Logincode"] {
		width: var(--mobile-input-width);
		height: 38px;
		font-size: 16px;
	}

	button {
		grid-column: 2;
		width: 96px;
		min-height: 40px;
		margin-top: 14px;
		margin-left: 0;
		font-size: 14px;
	}

	.Footer {
		top: 320px;
		left: 50%;
		width: min(316px, calc(max(250px, 100vw) - 20px));
		font-size: 10px;
		transform: translateX(-50%);
	}
}

@media (orientation: landscape) and (min-width: 901px) and (max-height: 360px) {
	.Head {
		top: 48px;
		left: calc(50% - 322px);
		width: clamp(172px, 17.5vw, 200px);
		transform: none;
	}

	.Content {
		--controls-height: 100px;
		--message-gap: 0px;
		--panel-height: 190px;
		--panel-left: -48px;
		--panel-top: -43px;
		--panel-width: min(627px, calc(100vw - 96px));
		top: 218px;
		left: calc(50% - 266px);
		width: min(560px, calc(100vw - 156px));
		transform: none;
	}

	.field-row {
		grid-template-columns: 102px 234px auto;
		min-height: 50px;
		margin-left: 0;
	}

	.field-row:nth-of-type(2) {
		align-items: center;
		min-height: 50px;
	}

	.field-row:nth-of-type(2) .field-label {
		padding-top: 0;
	}

	input[name="Model.ApplicationCode"],
	input[name="Model.Logincode"] {
		width: 234px;
		height: 40px;
	}

	button {
		grid-column: auto;
		width: 127px;
		min-height: 40px;
		margin-top: 0;
		margin-left: 68px;
		font-size: 18px;
	}

	.Footer {
		top: 369px;
		left: calc(50% - 314px);
		width: min(627px, calc(100vw - 96px));
		font-size: 11px;
		line-height: 1.15;
		transform: none;
	}
}

@media (orientation: landscape) and (min-width: 901px) and (min-height: 361px) and (max-height: 460px) {
	.OuterFrame {
		min-height: 560px;
		height: auto;
	}

	.Footer {
		top: 343px;
		bottom: auto;
	}
}

@supports selector(:has(*)) {
	.OuterFrame:has(.error-message:not(:empty)) {
		display: flow-root;
		height: auto;
		min-height: 100dvh;
		padding-bottom: 0;
	}

	.OuterFrame:has(.error-message:not(:empty)) .Head {
		position: relative;
		top: auto;
		left: auto;
		margin: clamp(135px, 22vh, 175px) 0 0 clamp(34px, 24.8vw, 317px);
		transform: none;
	}

	.OuterFrame:has(.error-message:not(:empty)) .Content {
		position: relative;
		top: auto;
		left: auto;
		margin: 17px 0 0 clamp(44px, 29.25vw, 374px);
		transform: none;
	}

	.OuterFrame:has(.error-message:not(:empty)) .Footer {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		margin: 4px 0 0 calc(clamp(44px, 29.25vw, 374px) - 48px);
		transform: none;
	}

	@media (max-width: 760px) {
		.OuterFrame:has(.error-message:not(:empty)) {
			min-height: 100dvh;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Head {
			margin: clamp(20px, 5vh, 48px) 0 0 calc(50% - var(--mobile-panel-width) / 2);
			transform: none;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Content {
			margin: clamp(16px, 3vh, 24px) 0 0 50%;
			transform: translateX(-50%);
		}

		.OuterFrame:has(.error-message:not(:empty)) .Footer {
			top: auto;
			bottom: auto;
			margin: 4px 0 0 50%;
			transform: translateX(-50%);
		}
	}

	@media (min-width: 761px) and (max-width: 1279px) {
		.OuterFrame:has(.error-message:not(:empty)) .Head {
			margin-left: calc(50% - 322px);
		}

		.OuterFrame:has(.error-message:not(:empty)) .Content {
			margin-left: calc(50% - 266px);
		}

		.OuterFrame:has(.error-message:not(:empty)) .Footer {
			margin-left: calc(50% - 314px);
		}
	}

	@media (orientation: landscape) and (min-width: 600px) and (max-width: 900px) and (max-height: 520px) {
		.OuterFrame:has(.error-message:not(:empty)) {
			min-height: max(640px, 100dvh);
			height: auto;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Head {
			margin: clamp(28px, 9vh, 50px) 0 0 calc((100vw - var(--compact-panel-width)) / 2);
			transform: none;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Content {
			margin: 36px 0 0 calc((100vw - var(--compact-panel-width)) / 2 + 48px);
			transform: none;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Footer {
			top: auto;
			bottom: auto;
			margin: 4px 0 0 calc((100vw - var(--compact-panel-width)) / 2);
			transform: none;
		}
	}

	@media (orientation: landscape) and (max-width: 599px) and (max-height: 360px) {
		.OuterFrame:has(.error-message:not(:empty)) {
			min-height: 650px;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Head {
			margin: 32px 0 0 calc(50% - var(--mobile-panel-width) / 2);
			transform: none;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Content {
			margin: 22px 0 0 50%;
			transform: translateX(-50%);
		}

		.OuterFrame:has(.error-message:not(:empty)) .Footer {
			margin: 4px 0 0 50%;
			transform: translateX(-50%);
		}
	}

	@media (orientation: landscape) and (min-width: 761px) and (max-height: 640px) {
		.OuterFrame:has(.error-message:not(:empty)) {
			min-height: 100dvh;
			height: auto;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Head {
			margin-top: 48px;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Content {
			margin-top: 62px;
		}

		.OuterFrame:has(.error-message:not(:empty)) .Footer {
			top: auto;
			bottom: auto;
			margin-top: 4px;
		}
	}
}
