:root {
	--brand: #f15a24;
	--brand-dark: #c84215;
	--brand-soft: #fff2ec;
	--ink: #1d2422;
	--muted: #6f7774;
	--line: #e4e8e6;
	--cream: #f8f5ef;
	--surface: #ffffff;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }

body {
	margin: 0;
	background: #1d2422;
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.login-shell {
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #1d2422 0%, #2d3d37 55%, #17201d 100%);
}

.login-visual {
	display: none;
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	flex-direction: column;
	padding: clamp(34px, 5vw, 72px);
	background:
		radial-gradient(circle at 83% 18%, rgba(241, 90, 36, .25) 0 2px, transparent 3px),
		radial-gradient(circle at 76% 26%, rgba(241, 90, 36, .12) 0 1px, transparent 2px),
		linear-gradient(145deg, #171d1b 0%, #202c27 52%, #14201c 100%);
	color: #fff;
}

.login-visual::before {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -250px;
	top: -180px;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 50%;
	box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}

.login-visual::after {
	content: "";
	position: absolute;
	left: -110px;
	bottom: -150px;
	width: 390px;
	height: 390px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(241, 90, 36, .19), transparent 68%);
}

.brand {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	align-self: flex-start;
}

.brand-logo {
	width: 150px;
	height: 42px;
	object-fit: contain;
	background: #fff;
	border-radius: 9px;
	padding: 8px 10px;
}

.brand-product {
	padding-left: 14px;
	border-left: 1px solid rgba(255,255,255,.25);
	font-size: 14px;
	font-weight: 650;
	letter-spacing: .02em;
}

.visual-content {
	position: relative;
	z-index: 1;
	width: min(100%, 640px);
	margin: auto 0;
	padding: 54px 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: #ffb79d;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--brand);
}

.visual-content h1 {
	max-width: 590px;
	margin: 0;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 750;
	letter-spacing: -.045em;
	line-height: 1.04;
}

.visual-content > p {
	max-width: 520px;
	margin: 22px 0 34px;
	color: rgba(255,255,255,.68);
	font-size: 17px;
	line-height: 1.65;
}

.feature-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature-list li {
	min-height: 116px;
	padding: 18px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 16px;
	background: rgba(255,255,255,.055);
	backdrop-filter: blur(8px);
}

.feature-list i {
	display: block;
	margin-bottom: 15px;
	color: #ff8b61;
	font-size: 19px;
}

.feature-list strong {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
}

.feature-list span {
	color: rgba(255,255,255,.55);
	font-size: 11px;
	line-height: 1.4;
}

.visual-footer {
	position: relative;
	z-index: 1;
	color: rgba(255,255,255,.42);
	font-size: 12px;
}

.auth-panel {
	width: 100%;
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px 24px;
	background: transparent;
}

.auth-wrap {
	position: relative;
	width: min(100%, 440px);
	padding: 40px 40px 34px;
	border: 1px solid #e6e9e7;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 38px rgba(29,36,34,.07);
}

.auth-wrap::before {
	display: none;
}

.welcome-mark {
	width: 68px;
	height: 68px;
	display: grid;
	place-items: center;
	margin: 0 auto 22px;
	border-radius: 18px;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 29px;
}

.login-header { margin-bottom: 30px; text-align: center; }

.login-header h2 {
	margin: 0 0 10px;
	font-size: clamp(29px, 4vw, 34px);
	font-weight: 750;
	letter-spacing: -.035em;
}

.login-subtitle {
	max-width: 350px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.55;
}

.field-label {
	display: block;
	margin: 0 0 8px;
	color: #37413e;
	font-size: 13px;
	font-weight: 700;
}

.field-wrap {
	position: relative;
	margin-bottom: 20px;
}

.field-icon {
	position: absolute;
	z-index: 2;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #99a19e;
	pointer-events: none;
}

.field-control {
	width: 100%;
	height: 52px;
	padding: 0 48px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font-size: 15px;
	outline: 0;
	transition: border-color .2s, box-shadow .2s, background .2s;
}

.field-control::placeholder { color: #a6aeab; }
.field-control:hover { border-color: #cbd2cf; }

.field-control:focus {
	border-color: var(--brand);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(241,90,36,.11);
}

.password-toggle {
	position: absolute;
	z-index: 3;
	right: 8px;
	top: 50%;
	width: 38px;
	height: 38px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #89918e;
	cursor: pointer;
}

.password-toggle:hover, .password-toggle:focus {
	background: #f1f3f2;
	color: var(--ink);
	outline: 0;
}

.login_btn {
	width: 100%;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 8px;
	border: 0;
	border-radius: 10px;
	background: var(--brand) !important;
	box-shadow: 0 7px 18px rgba(200,66,21,.18);
	color: #fff !important;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: .035em;
	cursor: pointer;
	transition: background .2s, box-shadow .2s, transform .2s;
}

.login_btn:hover, .login_btn:focus {
	background: var(--brand-dark) !important;
	box-shadow: 0 9px 22px rgba(200,66,21,.22) !important;
	transform: translateY(-1px);
}

.login_btn i { transition: transform .2s; }
.login_btn:hover i { transform: translateX(4px); }

.security-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 22px 0 0;
	color: #929996;
	font-size: 11px;
}

.security-note i { color: #62a078; }

@media (max-width: 980px) {
	.login-visual { padding: 38px; }
	.visual-content h1 { font-size: 42px; }
	.feature-list { grid-template-columns: 1fr; max-width: 330px; }
	.feature-list li { min-height: 0; display: grid; grid-template-columns: 28px 1fr; padding: 13px 15px; }
	.feature-list i { grid-row: 1 / 3; margin: 3px 0 0; }
}

@media (max-width: 760px) {
	.auth-panel { padding: 24px; }
	.auth-wrap { max-width: 440px; padding: 36px 34px 30px; }
}

@media (max-width: 420px) {
	.auth-panel { align-items: center; padding: 16px; }
	.auth-wrap { padding: 32px 22px 26px; border-radius: 16px; box-shadow: 0 10px 30px rgba(29,36,34,.07); }
	.welcome-mark { width: 62px; height: 62px; margin-bottom: 20px; border-radius: 18px; font-size: 26px; }
	.login-header { margin-bottom: 27px; }
	.login-header h2 { font-size: 29px; }
}

@media (max-height: 760px) {
	.auth-panel { padding-top: 16px; padding-bottom: 16px; }
	.auth-wrap { padding-top: 28px; padding-bottom: 22px; }
	.welcome-mark { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 17px; font-size: 25px; }
	.login-header { margin-bottom: 20px; }
	.login-header h2 { margin-bottom: 6px; font-size: 30px; }
	.login-subtitle { font-size: 14px; }
	.field-wrap { margin-bottom: 14px; }
	.field-control { height: 50px; }
	.login_btn { height: 50px; margin-top: 4px; }
	.security-note { margin-top: 16px; }
}

@media (max-height: 610px) {
	.auth-panel { padding-top: 8px; padding-bottom: 8px; }
	.auth-wrap { padding-top: 20px; padding-bottom: 16px; }
	.welcome-mark { width: 46px; height: 46px; margin-bottom: 9px; border-radius: 14px; font-size: 21px; }
	.login-header { margin-bottom: 13px; }
	.login-header h2 { margin-bottom: 3px; font-size: 26px; }
	.login-subtitle { font-size: 12px; line-height: 1.35; }
	.field-label { margin-bottom: 4px; font-size: 12px; }
	.field-wrap { margin-bottom: 9px; }
	.field-control { height: 44px; }
	.login_btn { height: 44px; }
	.security-note { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
