/* ============================================================
   forgot-password.css – Reset password page
   Extends css/login.css (loaded first).
   ============================================================ */

/* ============================================================
   SUCCESS VIEW
   ============================================================ */
.fp-success {
  text-align: center;
  padding: 8px 0 4px;
  animation: fpFadeIn .35s ease;
}

@keyframes fpFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fp-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft, rgba(0, 120, 212, .1));
  border: 2px solid rgba(0, 120, 212, .18);
  border-radius: 50%;
  box-shadow: 0 8px 20px -8px rgba(0, 120, 212, .35);
}
.fp-icon svg { display: block; }

.fp-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  line-height: 1.25;
}

.fp-text {
  margin: 0 0 22px;
  font-size: .98rem;
  line-height: 1.65;
  color: var(--text-2);
}
.fp-text strong {
  display: inline-block;
  color: var(--text);
  font-weight: 700;
  word-break: break-all;
  padding: 2px 8px;
  background: var(--primary-soft, rgba(0, 120, 212, .1));
  border-radius: 6px;
  font-size: .92em;
}

.fp-hint {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.fp-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.fp-actions .btn-ghost {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border-2, #cbd5e1);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.fp-actions .btn-ghost:hover:not(:disabled) {
  background: var(--primary-soft, rgba(0, 120, 212, .08));
  border-color: var(--primary);
}
.fp-actions .btn-ghost:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.fp-actions .btn-ghost:disabled {
  opacity: .6;
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--border);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 480px) {
  .fp-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }
  .fp-title { font-size: 1.2rem; }
  .fp-text  { font-size: .94rem; }
  .fp-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .fp-actions .btn-ghost { width: 100%; }
}