/* ---------- 로그인/회원가입 ---------- */
.auth-page {
  min-height: 100vh;
  background: var(--bg-gray);
  display: flex;
  flex-direction: column;
}

.auth-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.auth-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #191f28;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.auth-logo-text {
  font-size: 16px;
  color: var(--text);
}

.auth-logo-text strong {
  font-weight: 800;
}

.auth-home-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.auth-home-link:hover {
  color: var(--text);
}

.auth-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 64px 20px 80px;
}

.auth-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.auth-head .auth-logo {
  margin-bottom: 14px;
}

.auth-head .auth-logo-badge {
  width: 36px;
  height: 36px;
  font-size: 20px;
  border-radius: 9px;
}

.auth-head .auth-logo-text {
  font-size: 19px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.auth-card-wide {
  max-width: 440px;
}

.auth-title {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.auth-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.auth-form {
  margin-top: 24px;
}

.auth-error {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdedef;
  color: var(--up);
  font-size: 12.5px;
}

.auth-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.auth-links a {
  color: var(--text-sub);
  font-weight: 600;
}

.auth-links a:hover {
  color: var(--text);
}

.auth-links .auth-links-divider {
  width: 1px;
  height: 10px;
  background: var(--border);
}
