@import url("https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Gowun+Dodum&display=swap");

:root {
  --bg: #efe8dd;
  --card: #fffaf3;
  --border: #e2d6c9;
  --ink: #1f2420;
  --accent: #d2773e;
  --accent-2: #2f6f6d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(210, 119, 62, 0.2), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(47, 111, 109, 0.18), transparent 40%),
    linear-gradient(180deg, #f7efe5 0%, #efe8dd 70%, #e8ded0 100%);
  font-family: "Gowun Dodum", "Gowun Batang", "Times New Roman", serif;
  color: var(--ink);
}
.auth-card {
  width: 380px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 30px rgba(31, 36, 32, 0.12);
  animation: fadeUp 0.4s ease-out;
}
h1 {
  margin: 0 0 14px;
  font-size: 24px;
  font-family: "Gowun Batang", "Times New Roman", serif;
  letter-spacing: 1px;
}
form {
  display: grid;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #4e453f;
}
input {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}
button {
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}
.auth-links {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
}
.auth-links a {
  color: var(--accent-2);
  text-decoration: none;
}
.error {
  background: #ffe5e5;
  border: 1px solid #ffbdbd;
  color: #8a1f1f;
  padding: 8px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 8px;
}
.success {
  background: #e5f7e5;
  border: 1px solid #b7e1b7;
  color: #1b5e20;
  padding: 8px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 8px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
