.forgot-password-page [hidden] {
  display: none !important;
}

.password-reset-brand-message {
  padding-bottom: 76px;
}

.password-reset-brand-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.password-reset-brand-steps li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(100, 116, 139, 0.1);
  border-radius: 13px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.7);
  color: #53645f;
}

.password-reset-brand-steps span,
.password-reset-progress span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: #e7f4f0;
  color: #087d69;
  font-size: 10px;
  font-weight: 800;
}

.password-reset-brand-steps strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 730;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.password-reset-card {
  gap: 27px;
}

.password-reset-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.password-reset-progress li {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 5px;
  color: #94a0ad;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.password-reset-progress li.is-active,
.password-reset-progress li.is-complete {
  color: #315d55;
}

.password-reset-progress li.is-active span {
  background: var(--login-accent);
  color: #fff;
}

.password-reset-progress li.is-complete span {
  background: #dcefe9;
  color: #087d69;
}

.password-reset-form {
  gap: 16px;
}

.password-reset-safe-note {
  margin: -3px 0 0;
  color: #7c8898;
  font-size: 10px;
  line-height: 1.55;
}

.password-reset-phone-summary {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(16, 155, 129, 0.13);
  border-radius: 11px;
  padding: 11px 13px;
  background: #f3faf7;
}

.password-reset-phone-summary > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.password-reset-phone-summary span {
  color: #78857f;
  font-size: 10px;
}

.password-reset-phone-summary strong {
  color: #1f4a42;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.password-reset-resend {
  flex: 0 0 auto;
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: #087d69;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.password-reset-resend:disabled {
  color: #9aa5ae;
  cursor: default;
}

.password-reset-resend:not(:disabled):hover,
.password-reset-resend:not(:disabled):focus-visible {
  color: #066653;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.password-reset-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 10px;
}

.password-reset-success {
  display: grid;
  justify-items: center;
  gap: 17px;
  padding: 12px 0 2px;
  text-align: center;
}

.password-reset-success-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #e4f5ef;
  color: #087d69;
  font-size: 21px;
  font-weight: 800;
}

.password-reset-success > div {
  display: grid;
  gap: 6px;
}

.password-reset-success strong {
  color: var(--login-ink);
  font-size: 19px;
}

.password-reset-success p {
  margin: 0;
  color: var(--login-muted);
  font-size: 12px;
  line-height: 1.6;
}

.password-reset-success .login-submit {
  width: min(260px, 100%);
}

.password-reset-account-actions {
  margin-top: -9px;
}

@media (max-width: 900px) {
  .password-reset-brand-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .password-reset-brand-steps {
    display: none;
  }

  .password-reset-card {
    gap: 25px;
  }
}

@media (max-width: 390px) {
  .password-reset-actions {
    grid-template-columns: 1fr;
  }

  .password-reset-actions .login-submit {
    grid-row: 1;
  }

  .password-reset-phone-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}
