/* 로그인 / 회원가입 / 승인대기 */
:root {
	--auth-bg: #f6f7f8;
	--auth-card: #ffffff;
	--auth-text: #1f2937;
	--auth-muted: #6b7280;
	--auth-accent: #137fec;
	--auth-accent-hover: #0f6bc7;
	--auth-border: #e5e7eb;
	--auth-danger: #dc3545;
}

.auth-page {
	min-height: 100vh;
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: var(--auth-bg);
	color: var(--auth-text);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.auth-card {
	width: 100%;
	max-width: 420px;
	background: var(--auth-card);
	border-radius: 12px;
	border: 1px solid var(--auth-border);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	padding: 32px 28px;
	box-sizing: border-box;
}

.auth-card h1 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.auth-card .auth-sub {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--auth-muted);
	line-height: 1.5;
}

.auth-form-group {
	margin-bottom: 16px;
}

.auth-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--auth-text);
}

.auth-form-group input {
	width: 100%;
	padding: 10px 12px;
	font-size: 16px;
	border: 1px solid var(--auth-border);
	border-radius: 8px;
	background: #fff;
	color: var(--auth-text);
	box-sizing: border-box;
}

.auth-form-group input:focus {
	outline: none;
	border-color: var(--auth-accent);
	box-shadow: 0 0 0 3px rgba(19, 127, 236, 0.2);
}

.auth-btn {
	width: 100%;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--auth-accent);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	margin-top: 8px;
}

.auth-btn:hover {
	background: var(--auth-accent-hover);
}

.auth-btn-secondary {
	background: var(--auth-card);
	color: var(--auth-text);
	border: 1px solid var(--auth-border);
	margin-top: 12px;
}

.auth-btn-secondary:hover {
	background: var(--auth-bg);
}

.auth-links {
	margin-top: 20px;
	text-align: center;
	font-size: 14px;
	color: var(--auth-muted);
}

.auth-links a {
	color: var(--auth-accent);
	text-decoration: none;
	font-weight: 500;
}

.auth-links a:hover {
	text-decoration: underline;
}

.auth-msg {
	display: none;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
}

.auth-msg.error {
	display: block;
	background: #fef2f2;
	color: var(--auth-danger);
	border: 1px solid #fecaca;
}

.auth-msg.success {
	display: block;
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.auth-pending-icon {
	font-size: 48px;
	text-align: center;
	margin-bottom: 16px;
}
