:root {
  --bg-start: #f2f6ff;
  --bg-end: #dfe9ff;
  --card-bg: #ffffff;
  --text-main: #1f2a44;
  --text-sub: #4a587a;
  --line: #c8d6fb;
  --accent: #2a57d8;
  --accent-hover: #1946c8;
  --success: #116338;
  --error: #b32020;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  background: linear-gradient(160deg, var(--bg-start), var(--bg-end));
  color: var(--text-main);
  min-height: 100vh;
}

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: min(560px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 14px 28px rgba(28, 52, 120, 0.12);
}

h1 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
}

.description {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 17px;
  font-weight: 600;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 18px;
  padding: 12px 14px;
}

button {
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 13px 14px;
  cursor: pointer;
}

button:hover {
  background: var(--accent-hover);
}

.message {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
}

.message.success {
  color: var(--success);
}

.message.error {
  color: var(--error);
}

.back-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .auth-card {
    padding: 22px;
  }

  h1 {
    font-size: 28px;
  }

  .description,
  label,
  input,
  button,
  .message {
    font-size: 17px;
  }
}
