.rr-portal-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 9px;
}

.rr-portal-forgot-row a,
.rr-reset-back-link a {
  color: #2563eb;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.rr-portal-forgot-row a:hover,
.rr-reset-back-link a:hover {
  text-decoration: underline;
}

.rr-password-reset-heading strong {
  color: #0d3b76;
}

.rr-reset-security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 13px;
  background: rgba(219, 234, 254, .48);
  color: #475569;
  font-size: .84rem;
  line-height: 1.45;
}

.rr-reset-security-note i {
  color: #2563eb;
  margin-top: 2px;
}

.rr-reset-back-link {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.rr-reset-back-link-split {
  justify-content: space-between;
  gap: 18px;
}

.rr-otp-input {
  letter-spacing: .55em;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  text-align: center;
  padding-left: 48px !important;
}

.rr-resend-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 14px;
  background: rgba(248, 250, 252, .72);
}

.rr-resend-panel > div {
  display: grid;
  gap: 2px;
}

.rr-resend-panel strong {
  color: #172033;
  font-size: .88rem;
}

.rr-resend-panel small {
  color: #64748b;
  font-size: .76rem;
}

.rr-resend-form {
  margin: 0;
}

.rr-resend-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(37, 99, 235, .25);
  border-radius: 11px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .82rem;
  font-weight: 800;
}

.rr-resend-button:not(:disabled):hover {
  background: #dbeafe;
}

.rr-resend-button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.rr-password-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 14px;
  background: rgba(248, 250, 252, .72);
}

.rr-password-checklist span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-size: .78rem;
  font-weight: 650;
}

.rr-password-checklist span.is-valid {
  color: #15803d;
}

.rr-password-checklist span.is-valid i::before {
  content: "\f26a";
}

.rr-reset-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 11px;
  padding: 14px 0 4px;
}

.rr-reset-success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 2.1rem;
}

.rr-reset-success h2,
.rr-reset-success p {
  margin: 0;
}

.rr-reset-success p:not(.rr-portal-eyebrow) {
  color: #64748b;
}

.rr-reset-login-link {
  width: 100%;
  margin-top: 8px;
  text-decoration: none;
}

html[data-rr-theme="dark"] .rr-password-reset-heading strong,
html[data-rr-theme="dark"] .rr-resend-panel strong {
  color: #e2e8f0;
}

html[data-rr-theme="dark"] .rr-reset-security-note,
html[data-rr-theme="dark"] .rr-resend-panel,
html[data-rr-theme="dark"] .rr-password-checklist {
  background: rgba(15, 35, 58, .78);
  border-color: rgba(148, 163, 184, .2);
  color: #cbd5e1;
}

html[data-rr-theme="dark"] .rr-portal-forgot-row a,
html[data-rr-theme="dark"] .rr-reset-back-link a {
  color: #7dd3fc;
}

html[data-rr-theme="dark"] .rr-resend-button {
  background: #102a48;
  border-color: rgba(125, 211, 252, .25);
  color: #7dd3fc;
}

@media (max-width: 520px) {
  .rr-resend-panel,
  .rr-reset-back-link-split {
    align-items: stretch;
    flex-direction: column;
  }

  .rr-resend-button {
    width: 100%;
    justify-content: center;
  }

  .rr-password-checklist {
    grid-template-columns: 1fr;
  }
}
