.password-shell {
  min-height: 72vh;
  padding: 56px 20px 76px;
  background: radial-gradient(circle at top, rgba(255, 218, 0, .22), transparent 35%), #f7f7f5;
}

.password-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  width: min(940px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e3e0d8;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.password-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  background: #111827;
  color: #fff;
}

.password-kicker {
  color: #ffda00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.password-intro h1 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
}

.password-intro p {
  margin: 0;
  color: #d8deea;
  line-height: 1.7;
}

.password-trust {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #e7ebf2;
  font-size: 14px;
  line-height: 1.55;
}

.password-form-wrap {
  padding: 44px;
}

.password-form-wrap h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.password-form-wrap > p {
  margin: 0 0 24px;
  color: #5e6470;
  line-height: 1.6;
}

.password-form {
  display: grid;
  gap: 9px;
}

.password-form label {
  margin-top: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.password-form input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid #bfc4ce;
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
}

.password-form input:focus {
  outline: 3px solid rgba(255, 218, 0, .4);
  border-color: #111827;
}

.password-submit,
.password-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: #ffda00;
  color: #111827;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.password-notice {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.password-notice.info {
  background: #eff6ff;
  color: #1d4ed8;
}

.password-notice.success {
  background: #dcfce7;
  color: #166534;
}

.password-notice.error {
  background: #fee2e2;
  color: #991b1b;
}

.password-dev-link {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px dashed #9ca3af;
  border-radius: 12px;
  background: #f8fafc;
  overflow-wrap: anywhere;
}

.password-dev-link a,
.password-links a {
  color: #1d4ed8;
  font-weight: 800;
  text-decoration: none;
}

.password-dev-link a:hover,
.password-links a:hover {
  text-decoration: underline;
}

.password-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 14px;
}

.password-invalid {
  padding: 18px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff7f7;
}

.password-invalid p {
  margin: 0 0 16px;
  color: #7f1d1d;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .password-shell {
    padding: 24px 14px 54px;
  }

  .password-card {
    grid-template-columns: 1fr;
  }

  .password-intro,
  .password-form-wrap {
    padding: 28px;
  }

  .password-trust {
    display: none;
  }

  .password-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
