.password-reset-page {
  position: relative;
  z-index: 2;
  color: #fff;
}

.password-reset-section {
  padding: 150px 0 60px;
}

.password-reset-card {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 2rem 1.8rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(5, 19, 31, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.password-reset-kicker {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.password-reset-title {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.04;
}

.password-reset-title span {
  color: #72efd3;
}

.password-reset-subtitle {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.password-reset-form,
.password-reset-field {
  display: grid;
  gap: 0.75rem;
}

.password-reset-form {
  gap: 1rem;
}

.password-reset-field label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
}

.password-reset-field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.password-reset-field input:focus {
  border-color: rgba(114, 239, 211, 0.35);
  box-shadow: 0 0 0 3px rgba(114, 239, 211, 0.08);
}

.password-reset-show {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.password-reset-message {
  min-height: 22px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.password-reset-message.is-success {
  color: #72efd3;
}

.password-reset-message.is-error {
  color: #ff8a8a;
}

.password-reset-submit {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(114, 239, 211, 0.22);
  border-radius: 999px;
  background: rgba(15, 60, 50, 0.92);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
}

.password-reset-submit:hover {
  background: rgba(25, 90, 75, 0.98);
}

.password-reset-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.password-reset-back {
  display: inline-block;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  text-underline-offset: 0.2em;
}

.password-reset-back:hover,
.password-reset-back:focus-visible {
  color: #72efd3;
}

body.theme-light .password-reset-card {
  border-color: rgba(16, 36, 31, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 246, 240, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 28px rgba(16, 36, 31, 0.08);
}

body.theme-light .password-reset-kicker {
  color: rgba(16, 36, 31, 0.58);
}

body.theme-light .password-reset-title {
  color: var(--light-text);
}

body.theme-light .password-reset-title span,
body.theme-light .password-reset-back:hover {
  color: var(--light-green);
}

body.theme-light .password-reset-subtitle,
body.theme-light .password-reset-field label,
body.theme-light .password-reset-show,
body.theme-light .password-reset-back {
  color: var(--light-text-2);
}

body.theme-light .password-reset-field input {
  border-color: rgba(16, 36, 31, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--light-text);
}

body.theme-light .password-reset-message.is-success {
  color: #0f6b58;
}

body.theme-light .password-reset-message.is-error {
  color: #b23b3b;
}

@media (max-width: 768px) {
  .password-reset-section {
    padding: 235px 0 40px;
  }

  .password-reset-card {
    padding: 1.4rem 1.1rem 1.2rem;
    border-radius: 14px;
  }
}
