/* =========================================================
   CPMS - Forgot Password Page Specific Styles
   ========================================================= */

.fp-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.fp-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.5;
}

.fp-back-link {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
}

.fp-back-link a {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
}

.fp-back-link a:hover {
  text-decoration: underline;
}

/* Step indicators */
.fp-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 18px;
}

.fp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fp-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d0d5dd;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.fp-step.active .fp-step-num,
.fp-step.done .fp-step-num {
  background: #203042;
}

.fp-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.3s;
}

.fp-step.active .fp-step-label,
.fp-step.done .fp-step-label {
  color: #1e293b;
}

.fp-step-line {
  flex: 1;
  height: 2px;
  background: #d0d5dd;
  min-width: 36px;
  margin: 0 6px;
  margin-bottom: 20px;
}

/* Success icon */
.fp-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Face capture wrapper on this page */
#fp-face-wrap {
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  margin: 0 auto 12px;
}

/* ---------------------------------------------------------------
   Override the negative margin used on the main login page.
   On the forgot-password page the button lives INSIDE the card,
   so it must NOT bleed outside the card boundary.
--------------------------------------------------------------- */
.login-card-new .login-btn-container {
  margin-bottom: 0;
  margin-top: 12px;
}

/* Give the card a little extra bottom padding so the button
   doesn't sit flush against the card edge. */
.login-card-new {
  padding-bottom: 38px;
}

@media (max-width: 480px) {
  .fp-steps {
    margin-bottom: 12px;
  }
  .fp-step-num {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  .fp-step-label {
    font-size: 0.65rem;
  }
  .fp-step-line {
    min-width: 16px;
    margin: 0 4px;
    margin-bottom: 16px;
  }
  .fp-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }
  .fp-subtitle {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }
  .login-card-new {
    padding-bottom: 24px;
  }
}

