/**
 * Password Recovery Pages - Premium Design
 * forgot-password, verify-code, reset-password
 */

/* Verification Icon */
.verification-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPulse 2s ease-in-out infinite;
}

.verification-icon i {
  font-size: 2rem;
  color: #6366f1;
}

.verification-icon.success-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
}

.verification-icon.success-icon i {
  color: #10b981;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
  }
}

/* Code Input */
.code-input {
  text-align: center;
  font-size: 1.5rem !important;
  font-weight: 700;
  letter-spacing: 0.5rem;
  font-family: 'Courier New', monospace;
}

.code-input::placeholder {
  letter-spacing: 0.25rem;
  font-size: 1.25rem;
}

/* Form Submit Button Icon */
.form-submit i {
  margin-right: 0.5rem;
}

/* Readonly Input */
input[readonly].form-control {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

/* Loading spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.fa-spin {
  animation: spin 1s linear infinite;
}

/* Step Indicator (optional for multi-step flow) */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.3s ease;
}

.step-dot.active {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  transform: scale(1.2);
}

.step-dot.completed {
  background: #10b981;
}

/* Info Box */
.info-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.12) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-box i {
  color: #3b82f6;
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #1e40af;
  line-height: 1.5;
}

/* Resend Code Timer */
.resend-timer {
  text-align: center;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.resend-timer span {
  font-weight: 700;
  color: #6366f1;
}

/* Success Animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s ease;
}

.success-checkmark i {
  font-size: 2.5rem;
  color: white;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
