/* Functional-only helpers for V11 auth pages. Does not alter v11-prototype.css. */

/* Passwort-Checkliste: gemeinsame Styles in v11-password-checklist.css */

.auth-body.auth-modal-open {
  overflow: hidden;
}

/* Browser-Autofill: neutrale V19-Fläche statt UA-Blau */
body.auth-body .auth-input-shell input:-webkit-autofill,
body.auth-body .auth-input-shell input:-webkit-autofill:hover,
body.auth-body .auth-input-shell input:-webkit-autofill:focus,
body.auth-body .auth-input-shell input:-webkit-autofill:active {
  -webkit-text-fill-color: #26334d;
  caret-color: #26334d;
  transition: background-color 99999s ease-out;
  box-shadow: inset 0 0 0 1000px #fff;
}

body.auth-body .auth-logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(280px, 70vw);
}
@media (max-width: 760px) {
  body.auth-body .auth-logo img {
    height: 40px;
    max-width: min(220px, 65vw);
  }
}

/* Zwei Einwilligungen untereinander im V11-Auth-Look */
.auth-consent-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 19px 0 22px;
}

.auth-consent-stack .auth-check {
  align-items: flex-start;
  white-space: normal;
}

.auth-consent-stack .auth-check a {
  color: #4564de;
  font-weight: 800;
  text-decoration: none;
}

.auth-consent-stack .auth-check a:hover {
  text-decoration: underline;
}

/* Erfolgsmodal Registrierung: gleiches open-Muster wie Forgot-Modal */
#registerSuccessModal.open {
  display: flex;
}

#registerSuccessModal .auth-modal h2 {
  margin-top: 0;
}
