/* ─── 로그인 페이지 공통 ─────────────────────────────────────── */
.page-auth {
	min-height: 100vh;
	display: flex;
	align-items: stretch;
}

/* ─── 좌측: 소개 패널 ──────────────────────────────────────── */
.auth-intro {
	flex: 1;
	background: linear-gradient(150deg, #3D2B1F 0%, #6B3F28 60%, #C67B5C 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 48px;
	position: relative;
	overflow: hidden;
}
.auth-intro::before {
	content: '';
	position: absolute;
	width: 400px; height: 400px;
	border-radius: 50%;
	background: rgba(255,255,255,0.04);
	top: -80px; right: -80px;
}
.auth-intro::after {
	content: '';
	position: absolute;
	width: 280px; height: 280px;
	border-radius: 50%;
	background: rgba(255,255,255,0.04);
	bottom: -60px; left: -60px;
}
.auth-intro-inner {
	position: relative;
	z-index: 1;
	max-width: 420px;
	width: 100%;
}

.auth-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
}
.auth-brand-icon {
	width: 48px; height: 48px;
	border-radius: 14px;
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center;
	font-size: 22px;
	color: #fff;
}
.auth-brand-name {
	font-size: 16px;
	font-weight: 700;
	color: rgba(255,255,255,0.9);
	letter-spacing: -0.3px;
}

.auth-intro-title {
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	line-height: 1.3;
	margin: 0 0 16px;
	letter-spacing: -0.5px;
}
.auth-intro-desc {
	font-size: 14px;
	color: rgba(255,255,255,0.65);
	line-height: 1.7;
	margin: 0 0 36px;
}

.auth-feature-list {
	list-style: none;
	padding: 0; margin: 0 0 36px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.auth-feature-list li {
	display: flex;
	align-items: center;
	gap: 14px;
}
.auth-feature-icon {
	width: 40px; height: 40px;
	border-radius: 12px;
	background: rgba(255,255,255,0.1);
	display: flex; align-items: center; justify-content: center;
	font-size: 16px;
	color: rgba(255,255,255,0.85);
	flex-shrink: 0;
}
.auth-feature-list li div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.auth-feature-list li strong {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,0.9);
}
.auth-feature-list li span {
	font-size: 12px;
	color: rgba(255,255,255,0.5);
}

.auth-intro-badge {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 12px;
	color: rgba(255,255,255,0.6);
}
.auth-intro-badge a {
	color: #F4C08A;
	font-weight: 700;
	text-decoration: underline;
}

/* ─── 우측: 로그인 폼 패널 ─────────────────────────────────── */
.auth-form-panel {
	width: 480px;
	flex-shrink: 0;
	background: #FDFCFB;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 48px;
}
.auth-form-inner {
	width: 100%;
	max-width: 360px;
}

.auth-form-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--color-text-dark);
	margin: 0 0 6px;
	letter-spacing: -0.5px;
}
.auth-form-sub {
	font-size: 13px;
	color: var(--color-text-muted);
	margin: 0 0 28px;
}

/* ─── 공통 폼 요소 ──────────────────────────────────────────── */
.auth-alert {
	background: var(--color-danger-bg);
	color: var(--color-danger);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	margin-bottom: 20px;
}
.auth-error {
	background: var(--color-danger-bg);
	color: var(--color-danger);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
	margin-bottom: 16px;
	white-space: pre-line;
}
.auth-success {
	background: var(--color-success-bg, #E8F5E9);
	color: var(--color-success, #2E7D32);
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13px;
	margin-bottom: 16px;
}
.pw-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}
.pw-input-wrap .form-control-custom { padding-right: 40px; }
.pw-toggle {
	position: absolute;
	right: 12px;
	color: var(--color-text-light);
	font-size: 14px;
}
.pw-toggle:hover { color: var(--color-primary); }

.auth-footer-link {
	text-align: center;
	margin-top: 16px;
	font-size: 13px;
}
.auth-footer-link a {
	color: var(--color-text-muted);
	text-decoration: none;
}
.auth-footer-link a:hover { color: var(--color-primary); }

/* 비밀번호 설정, 비밀번호 찾기 등 단독 페이지용 */
.auth-card {
	background: #fff;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.auth-card-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text-dark);
	margin: 0 0 24px;
}
.auth-card-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 14px;
}

/* ─── 반응형 ────────────────────────────────────────────────── */
@media (max-width: 860px) {
	.page-auth { flex-direction: column; }
	.auth-intro {
		padding: 40px 32px;
		min-height: auto;
	}
	.auth-intro-title { font-size: 24px; }
	.auth-form-panel {
		width: 100%;
		padding: 40px 24px;
	}
}

/* 비밀번호 설정/찾기 등 중앙 정렬 단독 페이지 */
.page-auth-center {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #FAF7F2 0%, #F0EBE3 100%);
	padding: 24px;
}
.auth-container {
	width: 100%;
	max-width: 400px;
}
.auth-logo {
	text-align: center;
	margin-bottom: 32px;
}
.auth-logo-icon {
	width: 64px; height: 64px;
	border-radius: 18px;
	background: var(--color-primary);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 28px;
	margin: 0 auto 16px;
	box-shadow: 0 8px 24px rgba(198,123,92,0.3);
}
.auth-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--color-text-dark);
	margin: 0 0 8px;
}
.auth-subtitle {
	font-size: 13px;
	color: var(--color-text-muted);
	margin: 0;
}
.auth-sso-info {
	background: var(--color-info-bg);
	color: var(--color-info);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 12px;
	margin-bottom: 16px;
}
.auth-sso-link {
	color: var(--color-primary);
	font-weight: 700;
	text-decoration: underline;
}
