/* 변수·기본·로그인 화면·버튼
   (admin.css 1–164 행에서 분리. CSS 는 순서가 우선순위라 로드 순서를 지켜야 한다) */

:root {
	--ink: #201a18;
	--muted: #786b64;
	--paper: #fbf5ed;
	--card: rgba(255, 250, 245, 0.78);
	--wine: #7f1f2e;
	--rose: #d9897d;
	--sage: #7d9285;
	--gold: #c49b5d;
	--line: rgba(32, 26, 24, 0.12);
	--shadow: 0 24px 80px rgba(61, 34, 24, 0.14);
	font-family: "IBM Plex Sans KR", sans-serif;
}

* {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-height: 100vh;
	color: var(--ink);
	background:
		radial-gradient(
			circle at 15% 8%,
			rgba(217, 137, 125, 0.34),
			transparent 28rem
		),
		radial-gradient(
			circle at 86% 14%,
			rgba(125, 146, 133, 0.3),
			transparent 30rem
		),
		linear-gradient(135deg, #fffaf5, var(--paper));
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
select {
	font: inherit;
}

.admin-shell {
	min-height: 100vh;
}
.login-panel {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 28px;
}
.home-link {
	position: fixed;
	top: 24px;
	left: 24px;
	color: var(--muted);
	font-weight: 700;
}
.login-card {
	width: min(540px, 100%);
	padding: clamp(30px, 5vw, 54px);
	border: 1px solid rgba(255, 255, 255, 0.74);
	border-radius: 34px;
	background: var(--card);
	box-shadow: var(--shadow);
	backdrop-filter: blur(20px);
}
.eyebrow {
	margin: 0 0 12px;
	color: var(--wine);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
}
h1,
h2 {
	margin: 0;
	font-family: "Gowun Batang", serif;
	letter-spacing: -0.055em;
}
h1 {
	font-size: clamp(42px, 7vw, 68px);
	line-height: 1;
}
h2 {
	font-size: 30px;
}
p {
	color: var(--muted);
	line-height: 1.75;
}
.login-form {
	display: grid;
	gap: 16px;
	margin-top: 28px;
}
label span {
	display: block;
	margin-bottom: 8px;
	color: var(--muted);
	font-weight: 700;
}
input,
select {
	width: 100%;
	height: 52px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--ink);
	padding: 0 16px;
	outline: none;
}
input:focus,
select:focus {
	border-color: var(--wine);
	box-shadow: 0 0 0 4px rgba(127, 31, 46, 0.08);
}
.form-message {
	min-height: 24px;
	margin: 0;
	color: var(--wine);
	font-weight: 700;
}

.button,
.small-button {
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 800;
	transition:
		transform 170ms ease,
		box-shadow 170ms ease;
}
.button {
	min-height: 52px;
	padding: 0 22px;
}
.button:hover,
.small-button:hover {
	transform: translateY(-2px);
}
.primary {
	color: #fffaf5;
	background: var(--wine);
	box-shadow: 0 18px 42px rgba(127, 31, 46, 0.23);
}
.ghost {
	border: 1px solid var(--line);
	color: var(--ink);
	background: rgba(255, 250, 245, 0.68);
}
.small-button {
	min-height: 40px;
	padding: 0 14px;
	color: #fffaf5;
	background: var(--wine);
}
