﻿/* ── 로그인 페이지 ── */
.page-auth {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--white);
}

/* 상단 로고바 */
.auth-topbar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--gray-100);
	background: var(--white);
}
.auth-topbar-icon { font-size: 22px; }
.auth-topbar-text {
	font-size: 17px; font-weight: 800;
	background: linear-gradient(135deg, #5865F2, #8B5CF6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* 콘텐츠 영역 */
.auth-body {
	flex: 1;
	display: flex;
}

/* 왼쪽 브랜드 패널 — 태블릿/데스크톱만 */
.auth-brand {
	display: none;
}

/* 로그인 폼 */
.auth-form-panel {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 24px;
}

.auth-form-box {
	width: 100%;
	max-width: 360px;
}

.auth-form-title {
	font-size: 22px; font-weight: 800;
	color: var(--gray-900);
	margin-bottom: 4px; letter-spacing: -0.5px;
}
.auth-form-sub {
	font-size: 13px; color: var(--gray-500);
	margin-bottom: 24px; line-height: 1.6;
}

.auth-error {
	background: var(--expense-lt); color: #DC2626;
	border-radius: var(--radius); padding: 10px 14px;
	margin-bottom: 14px; font-size: 12px;
	display: flex; align-items: center; gap: 7px;
}

.btn-google {
	display: flex; align-items: center; justify-content: center;
	gap: 10px; width: 100%; padding: 13px;
	border: 1.5px solid var(--gray-200); border-radius: var(--radius);
	background: var(--white); color: var(--gray-700);
	font-size: 14px; font-weight: 600; text-decoration: none;
	transition: all .18s ease;
	box-shadow: var(--shadow-xs);
}
.btn-google:hover {
	border-color: #5865F2;
	background: #F8F9FF;
	box-shadow: 0 4px 12px rgba(88,101,242,.15);
}
.google-icon { width: 18px; height: 18px; }

.auth-divider {
	text-align: center; position: relative; margin: 18px 0;
}
.auth-divider::before {
	content: ''; position: absolute;
	top: 50%; left: 0; right: 0;
	height: 1px; background: var(--gray-200);
}
.auth-divider span {
	position: relative; background: var(--white);
	padding: 0 10px; font-size: 11px; color: var(--gray-400);
}

.auth-terms {
	margin-top: 16px; font-size: 11px;
	color: var(--gray-400); text-align: center; line-height: 1.7;
}

/* ── 태블릿/데스크톱 (860px 이상) ── */
@media (min-width: 860px) {
	.page-auth { flex-direction: column; }
	.auth-topbar { display: none; }
	.auth-body { min-height: 100vh; }

	.auth-brand {
		display: flex;
		width: 420px; flex-shrink: 0;
		flex-direction: column; justify-content: center;
		padding: 48px 44px;
		background: linear-gradient(160deg, #5865F2 0%, #8B5CF6 60%, #EC4899 100%);
		position: relative; overflow: hidden;
	}
	.auth-brand::before {
		content: ''; position: absolute;
		width: 320px; height: 320px; border-radius: 50%;
		background: rgba(255,255,255,.06);
		top: -80px; right: -80px;
	}

	.brand-logo {
		display: flex; align-items: center; gap: 10px;
		margin-bottom: 40px; position: relative; z-index: 1;
	}
	.brand-logo-icon { font-size: 28px; }
	.brand-logo-text { font-size: 21px; font-weight: 800; color: #fff; }

	.brand-headline {
		font-size: 28px; font-weight: 800; color: #fff;
		line-height: 1.25; letter-spacing: -0.8px;
		margin-bottom: 12px; position: relative; z-index: 1;
	}
	.brand-subline {
		font-size: 13px; color: rgba(255,255,255,.75);
		line-height: 1.7; margin-bottom: 32px;
		position: relative; z-index: 1;
	}
	.brand-features {
		list-style: none; display: flex; flex-direction: column;
		gap: 12px; position: relative; z-index: 1;
	}
	.brand-features li {
		display: flex; align-items: center; gap: 10px;
		color: rgba(255,255,255,.9); font-size: 13px;
	}
	.brand-feature-icon {
		width: 28px; height: 28px; background: rgba(255,255,255,.18);
		border-radius: 7px; display: flex; align-items: center; justify-content: center;
		font-size: 12px; flex-shrink: 0;
	}
}