* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
	color-scheme: light;
	--lg-bg: #eaeef4;
	--lg-card: rgba(255, 255, 255, .92);
	--lg-field: #f7f9fc;
	--lg-line: #e4e9f0;
	--lg-line-2: #d2dae5;
	--lg-ink: #0f172a;
	--lg-sub: #44506a;
	--lg-faint: #64748b;
	--lg-accent: #0d9488;
	--lg-accent-2: #0f766e;
	--lg-on-accent: #ffffff;
	--lg-danger: #b3123a;
	--lg-danger-bg: #fdebef;
	--lg-danger-line: #f3c3ce;
	--lg-glow-1: rgba(13, 148, 136, .18);
	--lg-glow-2: rgba(37, 99, 235, .12);
	--lg-card-shadow: 0 24px 64px rgba(15, 23, 42, .14);
	--lg-ring: rgba(13, 148, 136, .18);
	--lg-btn-glow: rgba(13, 148, 136, .28);
	--lg-btn-glow-2: rgba(13, 148, 136, .38);
}
html[data-theme^="dark"] {
	color-scheme: dark;
	--lg-bg: #0e1420;
	--lg-card: rgba(22, 29, 43, .88);
	--lg-field: #101725;
	--lg-line: #262f40;
	--lg-line-2: #334053;
	--lg-ink: #e8edf5;
	--lg-sub: #8b97ab;
	--lg-faint: #697588;
	--lg-accent: #2dd4bf;
	--lg-accent-2: #14b8a6;
	--lg-on-accent: #052620;
	--lg-danger: #fb7185;
	--lg-danger-bg: #3a1620;
	--lg-danger-line: #6b2a38;
	--lg-glow-1: rgba(45, 212, 191, .20);
	--lg-glow-2: rgba(96, 165, 250, .14);
	--lg-card-shadow: 0 24px 64px rgba(0, 0, 0, .55);
	--lg-ring: rgba(45, 212, 191, .22);
	--lg-btn-glow: rgba(45, 212, 191, .26);
	--lg-btn-glow-2: rgba(45, 212, 191, .34);
}
html, body {
	width: 100%; height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}
body {
	height: 100vh; height: 100dvh;
	display: flex; align-items: center; justify-content: center;
	font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
	background: var(--lg-bg);
	color: var(--lg-ink);
	position: fixed; inset: 0;
	padding: 20px;
}
body::before, body::after {
	content: ''; position: fixed; border-radius: 50%; filter: blur(100px); z-index: 0; pointer-events: none;
}
body::before { width: 520px; height: 520px; background: radial-gradient(circle, var(--lg-glow-1), transparent 70%); top: -160px; left: -120px; }
body::after { width: 460px; height: 460px; background: radial-gradient(circle, var(--lg-glow-2), transparent 70%); bottom: -160px; right: -120px; }

.login-card {
	position: relative; z-index: 1;
	width: 100%; max-width: 400px;
	background: var(--lg-card);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid var(--lg-line-2);
	border-radius: 18px;
	box-shadow: var(--lg-card-shadow);
	padding: 38px 38px 30px;
}

.brand { text-align: center; margin-bottom: 26px; }
.brand .logo {
	display: inline-block;
	font-size: 30px; font-weight: 800; letter-spacing: .14em;
	background: linear-gradient(135deg, var(--lg-accent), var(--lg-accent-2));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}

.field { margin-bottom: 12px; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--lg-faint); pointer-events: none; transition: color .2s; }
.field input {
	width: 100%; height: 50px; padding: 0 16px 0 44px;
	background: var(--lg-field);
	border: 1px solid var(--lg-line-2); border-radius: 10px;
	font-size: 14px; color: var(--lg-ink); outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--lg-faint); }
.field input:focus { border-color: var(--lg-accent); box-shadow: 0 0 0 3px var(--lg-ring); }
.field input:focus + svg { color: var(--lg-accent); }

.login-btn {
	width: 100%; height: 50px; margin-top: 10px;
	border: none; border-radius: 10px; cursor: pointer;
	background: linear-gradient(135deg, var(--lg-accent), var(--lg-accent-2));
	color: var(--lg-on-accent); font-size: 15px; font-weight: 800; letter-spacing: .02em;
	box-shadow: 0 8px 22px var(--lg-btn-glow);
	transition: transform .15s, box-shadow .2s, filter .2s;
}
.login-btn:active { transform: translateY(1px); }

.login-error {
	margin-bottom: 16px; padding: 12px 14px;
	background: var(--lg-danger-bg); border: 1px solid var(--lg-danger-line); border-radius: 10px;
	font-size: 12.5px; color: var(--lg-danger); text-align: center;
}
.login-foot { text-align: center; margin-top: 24px; font-size: 10.5px; letter-spacing: .16em; color: var(--lg-faint); }

@media (max-width: 480px) {
	.login-card { padding: 34px 24px 26px; border-radius: 16px; }
	.brand .logo { font-size: 27px; }
}

*, *::before, *::after{-webkit-tap-highlight-color:transparent;}
