/* Acceso: mensajes y opciones de ayuda dentro de una misma jerarquía. */
.auth-panel [hidden] {
  display: none !important;
}

.auth-panel,
.auth-panel :is(h1, h2, h3, p, label, input, button, a) {
  font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.auth-panel {
  font-weight: 400;
}

.auth-panel :is(label, .field-group > label) {
  font-size: 13px;
  font-weight: 500;
}

.auth-panel .auth-form :is(input, select) {
  font-size: 14px;
  font-weight: 400;
}

.auth-panel .password-rules li {
  color: #52667d;
}

.auth-panel .password-rules li.is-ok {
  color: #1f6f55;
}

.auth-panel .auth-form > [data-auth-message]:not(:empty) {
  background: #f1f6fc;
  border: 1px solid #d5e2f2;
  border-radius: 10px;
  color: #315478;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  padding: 11px 14px;
  text-align: center;
  overflow-wrap: anywhere;
}

.auth-panel .auth-form > [data-auth-message][data-tone="error"] {
  background: #fff3f4;
  border-color: #f1d4da;
  color: #9d2940;
}

.auth-panel .auth-support-row {
  align-items: center;
  column-gap: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 2px;
  margin: 0;
  text-align: center;
}

.auth-panel .auth-support-row :is(.auth-reactivate-entry, .auth-recovery-link button) {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  color: #245dac;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.5;
  margin: 0;
  min-height: 36px;
  padding: 6px 2px;
  text-align: center;
}

.auth-panel .auth-support-row :is(.auth-reactivate-entry, .auth-recovery-link button):hover {
  color: #17437b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-panel .auth-support-row .auth-switch {
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.5;
  min-height: 32px;
}

.auth-panel .auth-switch button {
  color: #245dac;
  font-size: 13px;
  font-weight: 600;
  min-height: 32px;
  padding: 4px 2px;
}

.auth-panel > footer.auth-switch {
  column-gap: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  padding-top: 12px;
  row-gap: 0;
}

.auth-panel > footer.auth-switch a {
  align-items: center;
  color: #586b82;
  display: inline-flex;
  min-height: 28px;
}

@media (max-width: 420px) {
  .auth-panel .auth-support-row {
    column-gap: 12px;
  }
}
