.forgot-password-trigger {
  justify-self: end;
  min-height: 30px;
  margin: -3px 0 1px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aeb2bd;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color .2s, text-decoration-color .2s;
}
.forgot-password-trigger:hover { color: #e3ec75; text-decoration-color: currentColor; }
.forgot-password-trigger:focus-visible,
.password-reset-panel button:focus-visible,
.password-reset-panel input:focus-visible { outline: 2px solid #d6ff00; outline-offset: 3px; }

.verification-spam-hint {
  margin: -4px 0 8px;
  color: #9fa3ae;
  font-size: 11px;
  line-height: 1.5;
}

.password-reset-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(3, 4, 7, .78);
  backdrop-filter: blur(14px);
}
.password-reset-overlay[hidden],
.password-reset-overlay [hidden] { display: none !important; }
.password-reset-panel {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid #363944;
  border-radius: 25px;
  background: radial-gradient(circle at 100% 0, #22262b, transparent 45%), #15171c;
  color: #f3f4f7;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
  animation: password-reset-in .26s ease-out both;
}
.password-reset-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid #383b45;
  border-radius: 50%;
  background: #24262d;
  color: #b9bcc4;
  font-size: 22px;
  line-height: 1;
}
.password-reset-close:hover { color: #fff; border-color: #8e929e; }
.password-reset-kicker {
  color: #d6ff00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.password-reset-panel h2 {
  margin: 15px 38px 10px 0;
  color: #fff;
  font-size: clamp(23px, 5vw, 30px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.password-reset-description {
  margin: 0 0 24px;
  color: #a8abb4;
  font-size: 13px;
  line-height: 1.6;
}
.password-reset-error {
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1px solid #a6565a;
  border-radius: 11px;
  background: #342124;
  color: #ffc5c7;
  font-size: 12px;
  line-height: 1.45;
}
.password-reset-form { display: grid; gap: 15px; }
.password-reset-form label {
  display: grid;
  gap: 8px;
  color: #c4c6ce;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.password-reset-form input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #373a44;
  border-radius: 14px;
  outline: none;
  background: #1b1d23;
  color: #fff;
  font: inherit;
  font-size: 13px;
  letter-spacing: normal;
}
.password-reset-form input::placeholder { color: #70737c; }
.password-reset-form input:focus { border-color: #7780ff; box-shadow: 0 0 0 4px rgba(82, 95, 255, .16); }
.password-reset-password { position: relative; }
.password-reset-password input { padding-right: 54px; }
.password-reset-password input::-ms-reveal,
.password-reset-password input::-ms-clear { display: none !important; }
.password-reset-password button {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #2b2e36;
  color: #b5b9c4;
  cursor: pointer;
}
.password-reset-password button svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-reset-password button .eye-closed,
.password-reset-password button[aria-pressed="true"] .eye-open { display: none; }
.password-reset-password button[aria-pressed="true"] .eye-closed { display: block; }
.password-reset-password button[aria-pressed="true"] { background: #d6ff00; color: #10130b; }
.password-reset-captcha { min-height: 65px; display: flex; justify-content: center; }
.password-reset-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #d6ff00;
  color: #10130b;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.password-reset-primary:hover { background: #e4ff54; transform: translateY(-1px); }
.password-reset-primary:disabled { opacity: .65; cursor: wait; }
.password-reset-secondary,
.password-reset-back {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #aeb0ba;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.password-reset-secondary:not(:disabled):hover,
.password-reset-back:hover { color: #d6ff00; }
.password-reset-secondary:disabled { color: #70737c; cursor: default; }
.password-reset-back { display: block; margin: 19px auto 0; }
.password-reset-success {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px 10px 8px;
  text-align: center;
}
.password-reset-success > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #d6ff00;
  color: #11140b;
  font-size: 28px;
}
.password-reset-success strong { font-size: 18px; }
.password-reset-success p { margin: 0; color: #adb0b9; font-size: 12px; line-height: 1.5; }
@keyframes password-reset-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .password-reset-panel { animation: none; }
  .forgot-password-trigger, .password-reset-primary { transition: none; }
}
