body {
  min-height: 100vh;
  margin: 0;
  overflow-y: auto;
}

.auth-layout {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px 16px;
  box-sizing: border-box;
}

.auth-card {
  width: min(420px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.auth-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.auth-lang {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
}

.auth-lang .lang-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn.ghost {
  border: 1px solid var(--border);
  background: transparent;
}

.auth-card h1 {
  margin: 0;
  font-size: 22px;
}

.auth-card .muted {
  margin: 0 0 18px 0;
  font-size: 13px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form label.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  flex-direction: row;
  padding-top: 2px;
}

.auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.auth-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #7f1d1d;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.2);
  font-size: 13px;
}

.mfa-title {
  font-weight: 600;
}
