:root {
  --blue: #1e6bff;
  --blue-strong: #0f57e9;
  --blue-soft: #e8f1ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  color: var(--text);
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--blue);
  font-weight: 700;
}

.brand .dot {
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--blue-soft);
}

.brand-text {
  letter-spacing: 1px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

h1 {
  margin: 0 0 8px;
  font-size: 26px;
}

.sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
}

.btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn.primary:hover:not(:disabled) {
  background: var(--blue-strong);
  box-shadow: 0 10px 20px rgba(30, 107, 255, 0.2);
  transform: translateY(-1px);
}

.btn.ghost {
  background: var(--blue-soft);
  color: var(--blue);
}

.row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.error {
  margin-top: 6px;
  color: #e11d48;
  font-size: 12px;
}

.message {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 14px;
}

.footer {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.footer a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
