.auth-main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-xl) var(--sp-m);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rd-l);
  padding: var(--sp-xl);
}

.auth-card h1 {
  font-family: "Clash Display", sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  margin: 0 0 0.8rem;
}

.auth-sub {
  color: var(--ink-dim);
  font-size: 1.5rem;
  margin: 0 0 var(--sp-l);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-m);
}

.auth-label {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.4rem;
}

.auth-input {
  font-family: "Satoshi", sans-serif;
  font-size: 1.6rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--rd-m);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.auth-input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.15);
}

.auth-hint {
  margin: -0.8rem 0 0;
  font-size: 1.3rem;
  color: var(--ink-dim);
}

.auth-error {
  margin: 0;
  font-size: 1.4rem;
  color: #c0392b;
  font-weight: 600;
}

.auth-submit {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

.auth-switch {
  margin: var(--sp-l) 0 0;
  text-align: center;
  font-size: 1.4rem;
  color: var(--ink-dim);
}

.auth-switch a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}
