.password-reset-layout,
.password-reset-content {
  min-width: 0;
}

.password-reset-content {
  max-width: 920px;
}

.password-reset-fragment-bridge {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d5b4b4;
  border-radius: 12px;
  background: #fff5f5;
  color: #7b2525;
  font-weight: 700;
  line-height: 1.5;
}

.password-reset-fragment-bridge[hidden] {
  display: none;
}

.password-reset-fragment-bridge p {
  margin: 0;
}

.password-reset-panel {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}

.password-reset-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #d6ae49, #8c671f);
  content: "";
}

.password-reset-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.password-reset-form .login-field small {
  display: block;
  margin-top: 0.45rem;
  color: #687269;
  line-height: 1.45;
}

.password-reset-field-error {
  color: #a12828 !important;
  font-weight: 700;
}

.password-reset-form .has-error input {
  border-color: #b33a3a;
  box-shadow: 0 0 0 3px rgb(179 58 58 / 12%);
}

.password-reset-safety-note {
  margin: 1.2rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dfd5b8;
  border-radius: 12px;
  background: #fffaf0;
  color: #455048;
  line-height: 1.55;
}

.password-reset-uat {
  margin: 1.35rem 0;
  padding: 1.2rem;
  border: 1px solid #b8d5c5;
  border-radius: 14px;
  background: #f3fbf6;
}

.password-reset-uat h3 {
  margin: 0.25rem 0 0.55rem;
  color: #175b39;
  font-size: 1.2rem;
}

.password-reset-uat p {
  margin: 0;
  line-height: 1.55;
}

.password-reset-uat ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.password-reset-uat a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  background: #fff;
  color: #17623c;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 3px 12px rgb(25 79 50 / 9%);
}

.password-reset-uat a:hover,
.password-reset-uat a:focus-visible {
  color: #0d4529;
  box-shadow: 0 5px 16px rgb(25 79 50 / 16%);
}

.password-reset-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 640px) {
  .password-reset-panel {
    border-radius: 14px;
  }

  .password-reset-uat,
  .password-reset-safety-note {
    padding: 1rem;
  }

  .password-reset-uat a {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .password-reset-page *,
  .password-reset-page *::before,
  .password-reset-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
