html,
body {
	background: #071513;
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
}

:root {
	--login-primary: #0f766e;
	--login-primary-dark: #134e4a;
	--login-accent: #f59e0b;
	--login-ink: #10201f;
}

body {
	background: #071513;
	font-family:
		Inter,
		ui-sans-serif,
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
}

.login-body {
	display: block !important;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: hidden;
	background: #071513 !important;
}

.login-page > .flash-data,
.login-page > .flash-failed,
.login-page > .flash-login {
	display: none !important;
}
.login-page {
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #071513;
}

.login-page::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(7, 21, 19, 0.94) 0%,
			rgba(10, 31, 28, 0.84) 42%,
			rgba(7, 21, 19, 0.34) 100%
		),
		url('../images/login.png') center / cover no-repeat;
	transform: scale(1.02);
}

.login-page::after {
	content: '';
	position: absolute;
	width: 520px;
	height: 520px;
	right: -170px;
	top: -160px;
	border-radius: 999px;
	background: radial-gradient(
		circle,
		rgba(20, 184, 166, 0.32),
		rgba(20, 184, 166, 0) 66%
	);
}

.login-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
	gap: 48px;
	align-items: center;
	padding: 56px clamp(24px, 6vw, 88px);
}

.login-hero {
	max-width: 660px;
	color: #fff;
}

.login-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(14px);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.login-hero h1 {
	margin: 24px 0 16px;
	color: #fff;
	font-size: clamp(38px, 5vw, 68px);
	line-height: 0.98;
	font-weight: 800;
	letter-spacing: -0.055em;
}

.login-hero p {
	max-width: 560px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 17px;
	line-height: 1.7;
}

.login-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 34px;
	max-width: 590px;
}

.login-stat {
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(18px);
}

.login-stat strong {
	display: block;
	color: #fff;
	font-size: 23px;
	line-height: 1;
}

.login-stat span {
	display: block;
	margin-top: 9px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 12px;
	font-weight: 600;
}

.login-card {
	width: 100%;
	max-width: 475px;
	justify-self: end;
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(24px);
	padding: 34px;
}

.login-logo {
	height: 50px;
	width: auto;
	margin-bottom: 28px;
}

.login-card h2 {
	color: var(--login-ink);
	font-size: 28px;
	line-height: 1.16;
	font-weight: 800;
	letter-spacing: -0.025em;
	margin-bottom: 9px;
}

.login-card .subtitle {
	color: #64748b;
	font-size: 14px;
	line-height: 1.65;
	margin-bottom: 28px;
}

.form-label-modern {
	color: #1f2937;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 8px;
	display: block;
}

.input-wrap {
	position: relative;
}

.input-wrap .input-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 18px;
	z-index: 2;
}

.form-control-modern {
	width: 100%;
	height: 52px;
	border: 1px solid #d8e0e7;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.88);
	color: #111827;
	font-size: 14px;
	font-weight: 600;
	padding: 0 48px;
	outline: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.form-control-modern:focus {
	border-color: var(--login-primary);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.password-toggle {
	position: absolute;
	right: 13px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #64748b;
	cursor: pointer;
}

.password-toggle:hover {
	color: var(--login-primary);
	background: rgba(15, 118, 110, 0.09);
}

.login-btn {
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(
		135deg,
		var(--login-primary),
		var(--login-primary-dark)
	);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.01em;
	box-shadow: 0 18px 34px rgba(15, 118, 110, 0.32);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
	cursor: pointer;
}

.login-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 22px 42px rgba(15, 118, 110, 0.4);
}

.login-footer {
	margin-top: 26px;
	color: #94a3b8;
	font-size: 12px;
	text-align: center;
}

.login-card-note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 13px 14px;
	border-radius: 16px;
	background: #ecfdf5;
	color: #0f766e;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 991px) {
	.login-shell {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 34px 20px;
	}

	.login-hero {
		text-align: center;
		margin: 0 auto;
	}

	.login-hero p {
		margin-left: auto;
		margin-right: auto;
	}

	.login-stats {
		display: none;
	}

	.login-card {
		justify-self: center;
		max-width: 520px;
	}
}

@media (max-width: 575px) {
	.login-hero h1 {
		font-size: 34px;
	}

	.login-hero p {
		font-size: 14px;
	}

	.login-card {
		padding: 24px;
		border-radius: 24px;
	}
}

