.password-reset-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(28,124,84,.24), transparent 34%),
    linear-gradient(135deg, #061913 0%, #0f241d 45%, #f7faf8 45%, #ffffff 100%);
}

.reset-auth-shell {
  min-height: 100vh;
  width: min(1120px, calc(100vw - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, .7fr);
  gap: 28px;
  align-items: center;
  padding: 40px 0;
}

.reset-hero-card,
.reset-panel {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(15,23,42,.20);
}

.reset-hero-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    rgba(7, 23, 18, .46);
  backdrop-filter: blur(12px);
}

.reset-hero-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.reset-hero-card p {
  max-width: 560px;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.6;
}

.reset-panel {
  padding: 28px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
}

.reset-panel-top {
  margin-bottom: 20px;
}

.reset-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #0f7f55;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reset-panel h1 {
  margin: 16px 0 8px;
  color: #0f172a;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.reset-panel p {
  color: #64748b;
  line-height: 1.55;
}

.reset-form {
  display: grid;
  gap: 14px;
}

.reset-form label {
  display: grid;
  gap: 7px;
  color: #0f172a;
  font-weight: 900;
}

.reset-form label span {
  font-size: .86rem;
}

.reset-form input {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  padding: 0 15px;
  font-size: 1rem;
}

.reset-form input:focus {
  outline: 4px solid rgba(15,127,85,.12);
  border-color: #0f7f55;
  background: #fff;
}

.reset-state-card,
.reset-help-card {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.reset-state-card strong,
.reset-help-card strong {
  color: #0f172a;
  font-weight: 1000;
}

.reset-state-card span,
.reset-help-card span {
  color: #64748b;
  line-height: 1.45;
}

.reset-state-card.is-success {
  border-color: rgba(22,163,74,.22);
  background: #f0fdf4;
}

.reset-state-card.is-error {
  border-color: rgba(220,38,38,.22);
  background: #fff1f2;
}

@media (max-width: 860px) {
  .password-reset-page {
    background: linear-gradient(180deg, #061913 0%, #0f241d 28%, #ffffff 28%, #ffffff 100%);
  }

  .reset-auth-shell {
    grid-template-columns: 1fr;
    padding: 18px 0 26px;
  }

  .reset-hero-card {
    min-height: 220px;
    border-radius: 28px;
  }

  .reset-panel {
    border-radius: 28px;
    padding: 22px;
  }
}

.password-reset-login-card summary {
  background: linear-gradient(135deg, #0f7f55, #16a36d);
  color: #fff;
}

.password-reset-login-card .activation-resend-login-body {
  border-color: rgba(15,127,85,.20);
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
}


/* Pro message box for Forgot password on login page. Scoped only to that block. */
.password-reset-login-card #loginPasswordResetRequestMsg.password-reset-notice {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: flex-start !important;
  min-height: 0 !important;
  margin: 16px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(15, 127, 85, .22) !important;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.9), transparent 34%),
    linear-gradient(135deg, #ecfdf3 0%, #f8fffb 100%) !important;
  box-shadow: 0 16px 42px rgba(15, 127, 85, .12) !important;
  color: #0f172a !important;
}

.password-reset-login-card #loginPasswordResetRequestMsg.password-reset-notice:empty {
  display: none !important;
}

.password-reset-login-card .password-reset-notice-icon {
  width: 44px !important;
  height: 44px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 16px !important;
  background: #0f7f55 !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  box-shadow: 0 12px 28px rgba(15, 127, 85, .24) !important;
}

.password-reset-login-card .password-reset-notice-copy {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.password-reset-login-card .password-reset-notice-copy strong {
  display: block !important;
  color: #0f172a !important;
  font-size: .98rem !important;
  line-height: 1.18 !important;
  font-weight: 1000 !important;
  letter-spacing: -.01em !important;
}

.password-reset-login-card .password-reset-notice-copy small {
  display: block !important;
  color: #475569 !important;
  font-size: .88rem !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

.password-reset-login-card #loginPasswordResetRequestMsg.password-reset-notice.info {
  border-color: rgba(59, 130, 246, .24) !important;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;
  box-shadow: 0 16px 42px rgba(59, 130, 246, .10) !important;
}

.password-reset-login-card #loginPasswordResetRequestMsg.password-reset-notice.info .password-reset-notice-icon {
  background: #2563eb !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .22) !important;
}

.password-reset-login-card #loginPasswordResetRequestMsg.password-reset-notice.bad {
  border-color: rgba(220, 38, 38, .24) !important;
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%) !important;
  box-shadow: 0 16px 42px rgba(220, 38, 38, .10) !important;
}

.password-reset-login-card #loginPasswordResetRequestMsg.password-reset-notice.bad .password-reset-notice-icon {
  background: #dc2626 !important;
  box-shadow: 0 12px 28px rgba(220, 38, 38, .20) !important;
}

@media (max-width: 640px) {
  .password-reset-login-card #loginPasswordResetRequestMsg.password-reset-notice {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 13px !important;
    border-radius: 18px !important;
  }

  .password-reset-login-card .password-reset-notice-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
  }
}
