.forgot-password-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0.75rem 1rem;
  background: #000;
}

.forgot-password-shell {
  width: min(100%, 28rem);
}

.forgot-password-card {
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #141414;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.forgot-password-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.forgot-password-logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1c1c1c;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.forgot-password-logo__text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}

.forgot-password-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-align: center;
}

.forgot-password-copy {
  margin: 0 0 1.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
}

.forgot-password-form {
  display: grid;
  gap: 0.9rem;
}

.forgot-password-input {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: #1a1a1a;
  color: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.forgot-password-input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.forgot-password-input:focus {
  outline: 0;
/*  border-color: rgba(255, 255, 255, 0.18);*/
  border-color:darkred;
  background: #1c1c1c;
/*  box-shadow: 0 0 0 0.2rem darkred;*/
}

.forgot-password-submit {
  min-height: 50px;
  padding: 0.82rem 1rem;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, #f51420, #97040c);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(229, 9, 20, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.forgot-password-submit:hover,
.forgot-password-submit:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 32px rgba(229, 9, 20, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 575.98px) {
  .forgot-password-page {
    padding: 0.75rem;
  }

  .forgot-password-shell {
    width: min(100%, 25rem);
  }

  .forgot-password-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .forgot-password-logo {
    margin-bottom: 0.9rem;
  }

  .forgot-password-logo__text {
    font-size: 0.94rem;
  }

  .forgot-password-title {
    font-size: clamp(1.45rem, 7vw, 1.8rem);
    margin-bottom: 0.6rem;
  }

  .forgot-password-copy {
    font-size: 0.89rem;
    line-height: 1.65;
    margin-bottom: 1.15rem;
  }

  .forgot-password-input {
    min-height: 50px;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
  }

  .forgot-password-submit {
    min-height: 48px;
    font-size: 0.9rem;
  }
}

@media (max-width: 399.98px) {
  .forgot-password-page {
    padding: 0.8rem 0.65rem;
  }

  .forgot-password-card {
    padding: 0.9rem;
  }

  .forgot-password-copy {
    font-size: 0.86rem;
  }
}
