.front-layout--bare {
	background: #0f172a;
}

.front-layout--bare .front-main {
	margin: 0;
	max-width: none;
	min-height: 100vh;
	padding: 0;
	width: 100%;
}

.auth-login-page {
	background: #f8fafc;
	display: grid;
	font-family: Arial, sans-serif;
	grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
	min-height: 100vh;
}

.auth-login-visual {
	background:
		linear-gradient(180deg, rgba(15, 23, 42, .16), rgba(15, 23, 42, .76)),
		url("../../images/admin/login-background.jpg") center / cover no-repeat;
	min-height: 100vh;
	position: relative;
}

.auth-login-visual__overlay {
	align-items: flex-start;
	bottom: 42px;
	color: #fff;
	display: grid;
	gap: 14px;
	left: 42px;
	position: absolute;
	right: 42px;
}

.auth-login-visual__logo-link {
	align-self: start;
	border-radius: 999px;
	display: inline-flex;
	text-decoration: none;
}

.auth-login-visual__logo-link:focus-visible {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .42);
	outline: 0;
}

.auth-login-visual__overlay img {
	background: rgba(255, 255, 255, .96);
	border-radius: 999px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, .28);
	display: block;
	max-width: 190px;
	padding: 14px 18px;
}

.auth-login-visual__overlay p {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	text-shadow: 0 2px 18px rgba(15, 23, 42, .38);
}

.auth-login-panel {
	align-items: center;
	background:
		radial-gradient(circle at 82% 12%, rgba(20, 86, 109, .08), transparent 22rem),
		linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96));
	display: flex;
	justify-content: center;
	padding: 44px;
}

.auth-login-card {
	background:
		radial-gradient(circle at 100% 0, rgba(253, 195, 0, .16), transparent 34%),
		linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94));
	border: 1px solid rgba(13, 85, 112, .12);
	border-radius: 24px 8px 24px 8px;
	box-shadow: 0 24px 58px rgba(18, 67, 107, .13), inset 0 1px 0 rgba(255, 255, 255, .9);
	max-width: 440px;
	padding: clamp(24px, 4vw, 38px);
	position: relative;
	width: 100%;
}

.auth-login-card::before {
	background: linear-gradient(90deg, #d7a849, rgba(20, 86, 109, .1));
	content: "";
	display: block;
	height: 4px;
	margin: 0 0 26px;
	width: 84px;
}

.auth-login-card__eyebrow {
	color: #2563eb;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.auth-login-card h1 {
	color: #0f172a;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 36px;
	line-height: 1.08;
	margin: 0 0 14px;
}

.auth-login-card__intro {
	color: #475569;
	font-size: 16px;
	line-height: 1.55;
	margin: 0 0 30px;
}

.auth-login-form {
	display: grid;
	gap: 16px;
}

.front-layout--bare .auth-login-field {
	border: 0;
	margin: 0;
	padding: 0;
}

.front-layout--bare .auth-login-field legend,
.front-layout--bare .auth-login-field > span:not(.auth-login-select) {
	color: #334155;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 7px;
	padding: 0;
}

.front-layout--bare .auth-login-field input,
.front-layout--bare .auth-login-field select {
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255, 255, 255, .9);
	border: 1px solid rgba(13, 85, 112, .18) !important;
	border-radius: 14px 5px 14px 5px !important;
	box-sizing: border-box;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
	color: #0f172a;
	display: block;
	font: inherit;
	min-height: 50px;
	outline: 0;
	padding: 0 14px;
	width: 100%;
}

.front-layout--bare .auth-login-field input::placeholder {
	color: #94a3b8;
}

.front-layout--bare .auth-login-field:focus-within {
	border: 0;
	box-shadow: none !important;
	outline: 0;
}

.front-layout--bare .auth-login-field:focus-within input,
.front-layout--bare .auth-login-field:focus-within select {
	border-color: #2563eb !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.front-layout--bare .auth-login-field input:focus,
.front-layout--bare .auth-login-field select:focus {
	outline: 0 !important;
}

.auth-login-option {
	align-items: flex-start;
	background:
		radial-gradient(circle at 100% 0, rgba(253, 195, 0, .10), transparent 34%),
		linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .88));
	border: 1px solid rgba(13, 85, 112, .14);
	border-radius: 14px 5px 14px 5px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
	color: #334155;
	display: flex;
	gap: 12px;
	line-height: 1.35;
	padding: 12px 13px;
}

.auth-login-option input {
	-webkit-appearance: none;
	appearance: none;
	align-items: center;
	background: #fff;
	border: 2px solid rgba(13, 85, 112, .32);
	border-radius: 7px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
	color: transparent;
	cursor: pointer;
	display: inline-grid;
	flex: 0 0 auto;
	height: 22px;
	justify-content: center;
	margin-top: 1px;
	place-items: center;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
	width: 22px;
}

.auth-login-option input::before {
	border: solid currentColor;
	border-width: 0 0 2px 2px;
	content: "";
	height: 6px;
	margin-top: -2px;
	transform: rotate(-45deg) scale(0);
	transition: transform 140ms ease;
	width: 11px;
}

.auth-login-option input:checked {
	background: #0d5570;
	border-color: #0d5570;
	box-shadow: 0 0 0 3px rgba(13, 85, 112, .14);
	color: #fff;
}

.auth-login-option input:checked::before {
	transform: rotate(-45deg) scale(1);
}

.auth-login-option input:focus-visible {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
	outline: 0;
}

.auth-login-option strong,
.auth-login-option small {
	display: block;
}

.auth-login-option small {
	color: #64748b;
	font-size: 12px;
	margin-top: 2px;
}

.auth-login-submit {
	align-items: center;
	background: linear-gradient(135deg, #14566d, #0b2b39);
	border: 1px solid #14566d;
	border-radius: 13px 4px 13px 4px;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	margin-top: 6px;
	min-height: 2.55rem;
	padding: .68rem 1.1rem;
	text-decoration: none;
	transition: background-color .16s ease, background-position .22s ease, border-color .16s ease, box-shadow .16s ease, transform .08s ease;
	width: 100%;
}

.auth-login-submit:hover {
	background: linear-gradient(135deg, #1c6f8b, #0f3a4d);
	border-color: #1c6f8b;
	box-shadow: 0 10px 22px rgba(20, 86, 109, .18);
	color: #fff;
}

.auth-login-submit:focus-visible {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
	outline: 0;
}

.auth-login-submit:active {
	background: linear-gradient(135deg, #0b2b39, #082331);
	border-color: #d7a849;
	box-shadow: inset 0 0 0 2px rgba(215, 168, 73, .95);
	color: #fff;
	transform: translateY(1px);
}

.auth-login-secondary-link {
	border-radius: 10px 4px 10px 4px;
	color: #0d5570;
	font-size: 14px;
	font-weight: 850;
	justify-self: center;
	padding: .42rem .72rem;
	text-decoration: none;
	text-underline-offset: .2em;
	transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.auth-login-secondary-link:hover {
	background: #fff4cf;
	color: #101820;
	text-decoration: none;
}

.auth-login-secondary-link:focus-visible {
	background: #fff4cf;
	box-shadow: 0 0 0 3px rgba(215, 168, 73, .18);
	color: #101820;
	outline: 0;
}

.auth-login-secondary-link:active {
	background: #0d5570;
	color: #fff;
}

.auth-login-create-link {
	border-radius: 10px 4px 10px 4px;
	color: #0d5570;
	font-size: 14px;
	font-weight: 850;
	justify-self: center;
	padding: .42rem .72rem;
	text-decoration: none;
	text-underline-offset: .2em;
	transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.auth-login-create-link:hover {
	background: #fff4cf;
	color: #101820;
	text-decoration: none;
}

.auth-login-create-link:focus-visible {
	background: #fff4cf;
	box-shadow: 0 0 0 3px rgba(215, 168, 73, .18);
	color: #101820;
	outline: 0;
}

.auth-login-create-link:active {
	background: #0d5570;
	color: #fff;
}

.auth-login-form__split {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.front-layout--bare .auth-login-field small {
	color: #64748b;
	display: block;
	font-size: 12px;
	line-height: 1.4;
	margin-top: 6px;
}

.auth-password-rules {
	background: #fff9e8;
	border: 1px solid rgba(191, 139, 0, .22);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
	display: grid;
	gap: 7px;
	margin: 10px 0 0;
	padding: 12px 14px;
	list-style: none;
}

.auth-password-rules li {
	align-items: center;
	color: #64748b;
	display: flex;
	font-size: 12px;
	font-weight: 750;
	gap: 8px;
	line-height: 1.35;
	transition: color 160ms ease;
}

.auth-password-rules li::before {
	align-items: center;
	background: #e2e8f0;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	color: transparent;
	content: "";
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 950;
	height: 16px;
	justify-content: center;
	line-height: 1;
	width: 16px;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.auth-password-rules li.is-valid {
	color: #15803d;
}

.auth-password-rules li.is-valid::before {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
	content: "✓";
}

.auth-login-result-actions {
	display: grid;
	gap: 14px;
}

.auth-login-result-actions .auth-login-submit {
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
}

.auth-login-reference {
	background:
		radial-gradient(circle at 100% 0, rgba(253, 195, 0, .18), transparent 34%),
		linear-gradient(135deg, rgba(241, 249, 254, .98), rgba(255, 255, 255, .94));
	border: 1px solid rgba(37, 99, 235, .16);
	border-radius: 12px;
	display: grid;
	gap: 4px;
	margin: 0 0 22px;
	padding: 14px 16px;
}

.auth-login-reference span,
.auth-login-reference small {
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
}

.auth-login-reference strong {
	color: #0f3f8c;
	font-size: 24px;
	letter-spacing: .08em;
	line-height: 1.1;
}

.auth-login-second-factor-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 18px;
}

.auth-login-second-factor-actions form {
	margin: 0;
}

.auth-login-link-button {
	background: transparent;
	border: 0;
	border-radius: 10px 4px 10px 4px;
	color: #0d5570;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	padding: .42rem .72rem;
	text-decoration: none;
	text-underline-offset: .22em;
	transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.auth-login-link-button:hover,
.auth-login-link-button:focus-visible {
	background: #fff4cf;
	color: #101820;
	box-shadow: 0 0 0 3px rgba(215, 168, 73, .18);
	outline: 0;
	text-decoration: none;
}

.auth-login-link-button:active {
	background: #0d5570;
	color: #fff;
	text-decoration: none;
}

.auth-login-card .flash {
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid rgba(13, 85, 112, .18);
	border-radius: 18px;
	background:
		radial-gradient(circle at 100% 0, rgba(253, 195, 0, .18), transparent 34%),
		linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(241, 249, 254, .92));
	color: #102f55;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	box-shadow: 0 18px 38px rgba(18, 67, 107, .12), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.auth-login-card .flash-error {
	border-color: rgba(225, 29, 72, .25);
	background:
		radial-gradient(circle at 100% 0, rgba(225, 29, 72, .12), transparent 34%),
		linear-gradient(135deg, rgba(255, 241, 242, .98), rgba(255, 255, 255, .95));
	color: #9f1239;
}

.auth-login-card .flash-success {
	border-color: rgba(17, 163, 106, .24);
	background:
		radial-gradient(circle at 100% 0, rgba(253, 195, 0, .18), transparent 34%),
		radial-gradient(circle at 0 100%, rgba(17, 163, 106, .14), transparent 38%),
		linear-gradient(135deg, rgba(236, 253, 245, .98), rgba(255, 255, 255, .95));
	color: #0f513f;
}

html.front-theme-dark .auth-login-page {
	background:
		radial-gradient(circle at 100% 0, rgba(33, 167, 181, .18), transparent 34%),
		linear-gradient(135deg, #101820, #142636);
}

html.front-theme-dark .auth-login-panel {
	background:
		radial-gradient(circle at 100% 0, rgba(33, 167, 181, .16), transparent 30%),
		radial-gradient(circle at 0 100%, rgba(214, 162, 74, .10), transparent 30%),
		linear-gradient(145deg, rgba(22, 38, 49, .96), rgba(14, 24, 32, .94));
}

html.front-theme-dark .auth-login-card {
	background:
		radial-gradient(circle at 100% 0, rgba(253, 195, 0, .12), transparent 34%),
		linear-gradient(145deg, rgba(18, 34, 46, .96), rgba(11, 21, 30, .92));
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 24px 8px 24px 8px;
	box-shadow: 0 24px 58px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
	padding: clamp(24px, 4vw, 38px);
}

html.front-theme-dark .auth-login-card::before {
	background: linear-gradient(90deg, #f1c35b, rgba(141, 216, 241, .18));
	box-shadow: 0 0 34px rgba(241, 195, 91, .22);
}

html.front-theme-dark .auth-login-card__eyebrow,
html.front-theme-dark .front-layout--bare .auth-login-field legend,
.front-layout--bare .auth-login-field > span:not(.auth-login-select) {
	color: #f4c77e;
}

html.front-theme-dark .auth-login-card h1,
html.front-theme-dark .auth-login-option,
html.front-theme-dark .auth-login-reference strong {
	color: #f8fbfc;
}

html.front-theme-dark .auth-login-card__intro,
html.front-theme-dark .auth-login-option small,
html.front-theme-dark .auth-login-reference span,
html.front-theme-dark .auth-login-reference small {
	color: rgba(231, 238, 242, .72);
}

html.front-theme-dark .auth-login-option input {
	background: rgba(9, 17, 24, .72);
	border-color: rgba(158, 220, 242, .38);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

html.front-theme-dark .auth-login-option input:checked {
	background: linear-gradient(135deg, #f1c35b, #d7a849);
	border-color: #f1c35b;
	color: #071923;
}

html.front-theme-dark .auth-login-option input:focus-visible {
	border-color: #f1c35b;
	box-shadow: 0 0 0 4px rgba(241, 195, 91, .18);
}

html.front-theme-dark .front-layout--bare .auth-login-field input,
html.front-theme-dark .front-layout--bare .auth-login-field select {
	background: rgba(9, 17, 24, .68);
	border: 1px solid rgba(255, 255, 255, .18) !important;
	border-radius: 14px 5px 14px 5px !important;
	color: #f8fbfc;
	min-height: 50px;
	padding: 0 14px;
}

html.front-theme-dark .front-layout--bare .auth-login-field input::placeholder {
	color: rgba(231, 238, 242, .52);
}

html.front-theme-dark .front-layout--bare .auth-login-field:focus-within input,
html.front-theme-dark .front-layout--bare .auth-login-field:focus-within select {
	border-color: rgba(253, 195, 0, .72) !important;
	box-shadow: 0 0 0 4px rgba(253, 195, 0, .16);
}

html.front-theme-dark .auth-login-reference,
html.front-theme-dark .auth-login-card .flash {
	border-color: rgba(255, 255, 255, .14);
	background:
		radial-gradient(circle at 100% 0, rgba(33, 167, 181, .16), transparent 34%),
		linear-gradient(135deg, rgba(20, 34, 44, .96), rgba(12, 22, 30, .94));
	color: #e7eef2;
}

html.front-theme-dark .auth-login-secondary-link,
html.front-theme-dark .auth-login-create-link,
html.front-theme-dark .auth-login-link-button {
	color: #9edcf2;
}

html.front-theme-dark .auth-login-create-link {
	background: transparent;
	border-color: transparent;
}

html.front-theme-dark .auth-login-create-link:hover,
html.front-theme-dark .auth-login-create-link:focus-visible {
	background: transparent;
	border-color: transparent;
	color: #f1c35b;
	text-decoration: underline;
}

html.front-theme-dark .front-layout--bare .auth-login-field small {
	color: rgba(231, 238, 242, .62);
}

html.front-theme-dark .auth-password-rules {
	background: rgba(158, 220, 242, .12);
	border-color: rgba(158, 220, 242, .26);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

html.front-theme-dark .auth-password-rules li {
	color: rgba(231, 238, 242, .62);
}

html.front-theme-dark .auth-password-rules li::before {
	background: rgba(231, 238, 242, .12);
	border-color: rgba(231, 238, 242, .24);
}

html.front-theme-dark .auth-password-rules li.is-valid {
	color: #86efac;
}

html.front-theme-dark .auth-password-rules li.is-valid::before {
	background: #22c55e;
	border-color: #22c55e;
	color: #052e16;
}

html.front-theme-dark .auth-login-submit {
	background: linear-gradient(135deg, #14566d, #0b2b39);
	border-color: #8dd8f1;
	color: #fff;
}

html.front-theme-dark .auth-login-submit:hover,
html.front-theme-dark .auth-login-submit:focus-visible {
	background: linear-gradient(135deg, #1c6f8b, #0f3a4d);
	border-color: #f1c35b;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
	color: #fff;
}

html.front-theme-dark .auth-login-secondary-link:hover,
html.front-theme-dark .auth-login-secondary-link:focus-visible,
html.front-theme-dark .auth-login-link-button:hover,
html.front-theme-dark .auth-login-link-button:focus-visible {
	color: #ffd76b;
}

html.front-theme-dark .auth-login-secondary-link:active,
html.front-theme-dark .auth-login-link-button:active {
	color: #fdc300;
}

@media (max-width: 860px) {
	.auth-login-page {
		grid-template-columns: 1fr;
	}

	.auth-login-visual {
		min-height: 220px;
	}

	.auth-login-visual__overlay {
		bottom: 24px;
		left: 24px;
		right: 24px;
	}

	.auth-login-visual__overlay img {
		max-width: 150px;
	}

	.auth-login-panel {
		align-items: flex-start;
		padding: 30px 20px 42px;
	}

	.auth-login-form__split {
		grid-template-columns: 1fr;
	}

	.auth-login-card h1 {
		font-size: 30px;
	}
}

@media (min-width: 861px) {
	.auth-login-visual { align-self: start; height: 100vh; height: 100dvh; min-height: 0; position: sticky; top: 0; }
}



.front-layout--bare .auth-login-field > span:not(.auth-login-select) { display: block; }
.auth-login-select { display: block; position: relative; min-width: 0; }
.front-layout--bare .auth-login-select select { padding-right: 44px !important; cursor: pointer; }
.auth-login-select__icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #334155; flex-shrink: 0; }
html.front-theme-dark .auth-login-select__icon { color: #f8fbfc; }
html.front-theme-dark .auth-login-field > span:not(.auth-login-select) { color: #e7eef2; }
.front-layout--bare .auth-login-field select option { color: #0f172a; background: #ffffff; }
html.front-theme-dark .front-layout--bare .auth-login-field select option { color: #f8fbfc; background: #101b25; }
