@charset "UTF-8";
/* ══════════════════════════════════════════════════════════
   먹튀의민족 · 로그인 / 회원가입 화면
   라이트·나이트 모드 모두 대응. 색은 CSS 변수로 분기한다.
   ══════════════════════════════════════════════════════════ */
.lgw {
	--lg-card:   #ffffff;
	--lg-line:   #E5EBF0;
	--lg-line2:  #D3DDE5;
	--lg-tx:     #16212B;
	--lg-tx2:    #4A5C6A;
	--lg-tx3:    #93A5B2;
	--lg-field:  #F7FAFC;
	--lg-accent: #0CEFD3;
	--lg-accent-dk: #00A39B;
	--lg-shadow: 0 18px 44px -24px rgba(17, 34, 48, .3);

	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 56px 20px 80px;
	box-sizing: border-box;
}

[data-theme="dark"] .lgw {
	--lg-card:   #0C1215;
	--lg-line:   rgba(12, 239, 211, .16);
	--lg-line2:  rgba(12, 239, 211, .3);
	--lg-tx:     #EAF6F4;
	--lg-tx2:    #A8BFBC;
	--lg-tx3:    #6F8A88;
	--lg-field:  #121A1E;
	--lg-shadow: 0 0 0 1px rgba(12, 239, 211, .14), 0 0 34px rgba(12, 239, 211, .08);
}

/* ── 카드 ── */
.lg {
	width: 100%;
	max-width: 420px;
	padding: 38px 36px 32px;
	box-sizing: border-box;
	background: var(--lg-card);
	border: 1px solid var(--lg-line);
	border-radius: 18px;
	box-shadow: var(--lg-shadow);
}

/* ── 헤더 ── */
.lg-head { background: none; border: 0; padding: 0; margin: 0 0 26px; }
.lg-head h1 {
	margin: 0;
	font-family: var(--font-family-title), var(--font-family), sans-serif;
	font-size: 27px;
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--lg-tx);
	text-decoration: none;
	border: 0;
}
.lg-head p {
	margin: 10px 0 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--lg-tx3);
	word-break: keep-all;
	background: none;
	border: 0;
	padding: 0;
}

/* ── 입력 ── */
.lg-f { margin-bottom: 15px; }
.lg-f label {
	display: block;
	margin-bottom: 7px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--lg-tx2);
	letter-spacing: -.01em;
}
.lg-f input {
	display: block;
	width: 100%;
	height: 50px;
	padding: 0 16px;
	box-sizing: border-box;
	background: var(--lg-field);
	border: 1px solid var(--lg-line);
	border-radius: 11px;
	color: var(--lg-tx);
	font-family: inherit;
	font-size: 15px;
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.lg-f input::placeholder { color: var(--lg-tx3); }
.lg-f input:hover { border-color: var(--lg-line2); }
.lg-f input:focus {
	border-color: var(--lg-accent);
	box-shadow: 0 0 0 3px rgba(12, 239, 211, .16);
	background: var(--lg-card);
}

/* ── 옵션 줄 ── */
.lg-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 4px 0 22px;
}
.lg-chk {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	color: var(--lg-tx2);
	user-select: none;
}
.lg-chk input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1px solid var(--lg-line2);
	border-radius: 5px;
	background: var(--lg-field);
	cursor: pointer;
	transition: all .16s ease;
}
.lg-chk input:checked {
	background: var(--lg-accent);
	border-color: var(--lg-accent);
}
.lg-chk input:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2.5px;
	width: 4px;
	height: 8px;
	border: solid #04201C;
	border-width: 0 2px 2px 0;
	transform: rotate(42deg);
}
.lg-chk input:focus-visible { box-shadow: 0 0 0 3px rgba(12, 239, 211, .2); }

.lg-find {
	font-size: 13px;
	color: var(--lg-tx3);
	background: none;
	border: 0;
	padding: 0;
	white-space: nowrap;
	transition: color .16s;
}
.lg-find:hover { color: var(--lg-accent-dk); }
[data-theme="dark"] .lg-find:hover { color: var(--lg-accent); }

/* ── 버튼 ── */
.lg-btn {
	display: block;
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, #0CEFD3, #07C9B2);
	color: #04201C;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -.01em;
	cursor: pointer;
	text-decoration: none;
	transition: filter .16s ease, transform .1s ease, box-shadow .16s ease;
}
.lg-btn:hover { filter: brightness(1.05); box-shadow: 0 8px 22px -10px rgba(12, 239, 211, .9); }
.lg-btn:active { transform: translateY(1px); }
[data-theme="dark"] .lg-btn { box-shadow: 0 0 20px rgba(12, 239, 211, .38); }
[data-theme="dark"] .lg-btn:hover { box-shadow: 0 0 30px rgba(12, 239, 211, .6); }

/* ── 회원가입 안내 ── */
.lg-join {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--lg-line);
	font-size: 13.5px;
	color: var(--lg-tx3);
	background: none;
}
.lg-join a {
	color: var(--lg-accent-dk);
	font-weight: 700;
	border-bottom: 1px solid transparent;
	transition: border-color .16s;
}
.lg-join a:hover { border-bottom-color: currentColor; }
[data-theme="dark"] .lg-join a { color: var(--lg-accent); }

/* ── 사칭 주의 ── */
.lg-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(232, 163, 61, .07);
	border: 1px solid rgba(232, 163, 61, .22);
	font-size: 12px;
	line-height: 1.65;
	color: #8A7647;
	word-break: keep-all;
}
.lg-note::before {
	content: "!";
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 15px;
	height: 15px;
	margin-top: 1px;
	border-radius: 50%;
	background: #E8A33D;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
}
[data-theme="dark"] .lg-note {
	background: rgba(232, 163, 61, .09);
	border-color: rgba(232, 163, 61, .26);
	color: #D6BE8C;
}

/* ── 소셜 로그인이 붙는 경우 ── */
.lg .social_login,
.lg #social_login { margin-top: 18px; }

/* ── 반응형 ── */
@media (max-width: 560px) {
	.lgw { padding: 28px 16px 56px; }
	.lg { padding: 28px 22px 24px; border-radius: 14px; }
	.lg-head h1 { font-size: 23px; }
	.lg-head p { font-size: 13px; }
	.lg-f input { height: 48px; font-size: 14.5px; }
	.lg-btn { height: 50px; font-size: 15px; }
}
