/* Public community entry pages: keep the document steady beside the keyboard. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Older Safari fallback. */
  overflow-x: clip;
  overscroll-behavior-x: none;
}

.information,
.auth-shell,
.auth-card,
.member-join-form,
.member-join-form form,
.topbar > *,
.community-account-links {
  min-width: 0;
  box-sizing: border-box;
}

.topbar > * {
  max-width: 100%;
}

/* Small inherited text causes Safari to zoom the viewport when a field focuses. */
#member-auth-form input,
#member-auth-form textarea,
#member-auth-form select {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
}

.auth-links {
  flex-wrap: wrap;
}

.auth-card,
.member-join-form,
.community-account-links a {
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .topbar {
    flex-wrap: wrap;
  }

  .information .community-brand-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-card {
    padding: 24px 18px;
  }
}

/* The same optional, unchecked Reset email preference on every signup. */
#member-auth-form .member-reset-optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
#member-auth-form .member-reset-optin input[type=checkbox] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 3px 0 0;
  accent-color: #53253f;
}

.member-auth-feedback{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:460px;max-height:calc(100dvh - 48px);height:fit-content;overflow-y:auto;box-sizing:border-box;border:2px solid #ad8750;border-radius:18px;padding:28px;background:#fff;color:#342b30;box-shadow:0 18px 80px #27112f66;z-index:10000;font:16px/1.6 system-ui;text-align:left}.member-auth-feedback::backdrop{background:#27112fc9}.member-auth-feedback h2{font:600 28px/1.25 system-ui;margin:0 0 16px;color:#53253f}.member-auth-feedback p{overflow-wrap:anywhere}.member-auth-feedback button{display:block;width:100%;min-height:48px;padding:12px 16px;background:#53253f;color:#fff;border:0;border-radius:9px;font:600 16px/1.4 system-ui;margin:20px 0 12px}.member-auth-feedback>a{display:inline-flex;align-items:center;min-height:44px;color:#53253f;text-decoration:underline}.member-auth-feedback-open{overflow-y:hidden}
