.cf-forgot-password {
  align-self: center;
  border: 0;
  background: transparent;
  color: #8fb4ff;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  padding: 4px 8px;
}
.cf-forgot-password:hover { color: #fff; text-decoration: underline; }
.cf-reset-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 10, 22, .82);
  backdrop-filter: blur(9px);
}
.cf-reset-dialog {
  position: relative;
  width: min(100%, 470px);
  border: 1px solid rgba(137, 171, 255, .22);
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(145deg, #151e35, #0e1527);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
  color: #f7f9ff;
}
.cf-reset-dialog h2 { margin: 8px 0 8px; font-size: 1.65rem; }
.cf-reset-dialog > p { margin: 0 0 22px; color: #aeb9d0; line-height: 1.55; }
.cf-reset-kicker { color: #74a0ff; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.cf-reset-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}
.cf-reset-form { display: grid; gap: 15px; }
.cf-reset-form label { display: grid; gap: 7px; }
.cf-reset-form label span { color: #9daac3; font-size: .7rem; font-weight: 800; letter-spacing: .09em; }
.cf-reset-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(145, 166, 210, .25);
  border-radius: 10px;
  padding: 12px 13px;
  background: rgba(5, 10, 22, .55);
  color: #fff;
  font: inherit;
  outline: none;
}
.cf-reset-form input:focus { border-color: #6291ff; box-shadow: 0 0 0 3px rgba(98, 145, 255, .14); }
.cf-reset-submit { justify-content: center; min-height: 44px; margin-top: 2px; }
.cf-reset-submit:disabled { cursor: wait; opacity: .65; }
.cf-reset-text-button {
  border: 0;
  background: transparent;
  color: #8fb4ff;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  padding: 4px;
}
.cf-reset-message {
  display: none;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: .84rem;
  line-height: 1.45;
}
.cf-reset-message:not(:empty) { display: block; background: rgba(255, 255, 255, .06); color: #dce5f8; }
.cf-reset-message.success { background: rgba(41, 194, 121, .12); color: #8ff0ba; }
.cf-reset-message.warning { background: rgba(247, 177, 51, .12); color: #ffd68a; }
.cf-reset-message.error { background: rgba(241, 79, 92, .12); color: #ffadb4; }
@media (max-width: 520px) {
  .cf-reset-dialog { padding: 24px 20px; border-radius: 16px; }
}
