/* FORGOT PASSWORD PAGE */

.forgot-password-page {
  background: linear-gradient(135deg, #f8f9fc 0%, #e8eef7 100%);
  min-height: 100vh;
}

.forgot-password-section {
  padding: 10px 0;
}

.forgot-password-container {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: slideUp 0.6s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon */
.forgot-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Content */
.forgot-content h2 {
  font-size: 28px;
  font-weight: 900;
  color: #0b2f59;
  margin-bottom: 12px;
}

.forgot-subtitle {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Form */
.forgot-form {
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0b2f59;
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.input-with-icon svg {
  position: absolute;
  left: 14px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.input-with-icon input {
  width: 100%;
  padding: 13px 15px 13px 42px;
  border: 2px solid #e5e9f2;
  border-radius: 8px;
  font-size: 14px;
  color: #0b2f59;
  transition: all 0.3s ease;
  background: white;
}

.input-with-icon input:focus {
  outline: none;
  border-color: #0a3c72;
  background: #f8f9fc;
}

.input-with-icon.focused svg path,
.input-with-icon.focused svg rect {
  stroke: #0a3c72;
}

.btn-reset {
  width: 100%;
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(230, 160, 27, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 160, 27, 0.4);
}

.btn-reset:active {
  transform: translateY(0);
}

.btn-reset.loading {
  background: #6c757d;
  cursor: not-allowed;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  display: none;
  animation: fadeIn 0.6s ease;
}

.success-message.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-message svg {
  margin-bottom: 20px;
  animation: successPop 0.6s ease;
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.success-message h3 {
  font-size: 24px;
  font-weight: 900;
  color: #28a745;
  margin-bottom: 15px;
}

.success-message p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 10px;
}

.resend-note {
  font-size: 13px;
  color: #6c757d;
  margin-top: 20px;
}

.resend-note a {
  color: #0a3c72;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resend-note a:hover {
  color: #e6a01b;
}

/* Back to Login */
.back-to-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid #e5e9f2;
}

.back-to-login a {
  font-size: 14px;
  font-weight: 700;
  color: #0a3c72;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-login:hover a {
  color: #e6a01b;
}

.back-to-login:hover svg path {
  stroke: #e6a01b;
}

.back-to-login svg {
  transition: all 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .forgot-password-container {
    padding: 40px 30px;
  }

  .forgot-content h2 {
    font-size: 26px;
  }

  .forgot-subtitle {
    font-size: 14px;
  }

  .success-message h3 {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .forgot-password-container {
    padding: 35px 25px;
    border-radius: 12px;
  }

  .forgot-icon svg {
    width: 70px;
    height: 70px;
  }

  .forgot-content h2 {
    font-size: 24px;
  }

  .forgot-subtitle {
    font-size: 13px;
    margin-bottom: 25px;
  }

  .input-with-icon input {
    padding: 12px 15px 12px 42px;
    font-size: 14px;
  }

  .btn-reset {
    padding: 13px 20px;
    font-size: 14px;
  }

  .success-message svg {
    width: 50px;
    height: 50px;
  }

  .success-message h3 {
    font-size: 20px;
  }

  .success-message p {
    font-size: 13px;
  }
}
