.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 56px;
  gap: 18px;
}

.auth-form[hidden],
.field-group[hidden] {
  display: none !important;
}

.auth-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-heading {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-input {
  background: #161922;
  border-radius: 8px;
  padding: 11px 13px;
}

.auth-submit {
  border-radius: 8px;
  min-height: 42px;
  font-size: 0.9375rem;
}

.auth-switch-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  padding-top: 4px;
}

.auth-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--link);
  text-decoration: none;
  cursor: pointer;
}

.auth-link:hover {
  text-decoration: underline;
  color: #a9ceff;
}

.auth-note {
  font-size: 0.875rem;
  color: var(--muted);
}

.auth-legal-note {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}
