/* Color Variables */
:root {
  --primary-orange: #F5914A;
  --primary-orange-light: #FF9F5C;
  --primary-orange-dark: #E87D35;
  --primary-navy: rgb(9, 11, 30);
  --primary-navy-light: rgb(25, 30, 60);
  --primary-navy-transparent: rgba(9, 11, 30, 0.9);
  --accent-warm: #FFF5E6;
  --text-light: #FFFFFF;
  --shadow-orange: rgba(245, 145, 74, 0.4);
  --shadow-navy: rgba(9, 11, 30, 0.3);
}

.section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

#formForgotPassword {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 230, 0.95) 100%);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 45px;
  box-shadow: 
    0 25px 50px var(--shadow-navy),
    0 5px 20px var(--shadow-orange),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(245, 145, 74, 0.3);
  position: relative;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

#formForgotPassword::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(245, 145, 74, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(9, 11, 30, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.form-title {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
  z-index: 2;
}

.form-title h2 {
  color: var(--primary-navy);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-title p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  color: var(--primary-navy);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

.form-control {
  border: 2px solid rgba(245, 145, 74, 0.3);
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(245, 145, 74, 0.1);
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 
    0 0 0 3px rgba(245, 145, 74, 0.2),
    0 5px 20px rgba(245, 145, 74, 0.3);
  background: rgba(255, 255, 255, 1);
  outline: none;
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: #999;
  font-style: italic;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
  border: none;
  border-radius: 15px;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 25px var(--shadow-orange),
    0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-orange-dark) 0%, var(--primary-orange) 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px var(--shadow-orange),
    0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-orange);
  border-radius: 15px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-orange);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btn-secondary:hover {
  background: var(--primary-orange);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-orange);
}

.text-center {
  text-align: center;
}

.alert {
  border-radius: 15px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
  position: relative;
  overflow: hidden;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  box-shadow: 0 5px 15px rgba(21, 87, 36, 0.2);
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  box-shadow: 0 5px 15px rgba(114, 28, 36, 0.2);
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
  box-shadow: 0 5px 15px rgba(12, 84, 96, 0.2);
}

.loading-spinner {
  display: none;
  text-align: center;
  margin: 20px 0;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(245, 145, 74, 0.3);
  border-top: 4px solid var(--primary-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.back-link {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 145, 74, 0.2);
}

.back-link a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-link a:hover {
  color: var(--primary-orange-dark);
  text-decoration: none;
}

/* Modal styles for verification */
.modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
  color: white;
  border-bottom: none;
  padding: 25px 30px;
}

.modal-title {
  font-weight: 700;
  font-size: 1.3rem;
}

.modal-body {
  padding: 30px;
  background: white;
}

.verification-info {
  text-align: center;
  margin-bottom: 25px;
}

.verification-info .email-display {
  background: var(--accent-warm);
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--primary-navy);
  margin: 15px 0;
}

.timer-display {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
  font-weight: 600;
  color: #856404;
}

.verification-code-input {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 20px;
  border: 2px solid rgba(245, 145, 74, 0.3);
  border-radius: 15px;
  margin-bottom: 20px;
}

.verification-code-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(245, 145, 74, 0.2);
}

/* Reset password form styles */
.password-strength {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f8f9fa;
  font-size: 0.9rem;
}

.password-strength.weak {
  background: #fff5f5;
  color: #e53e3e;
  border-left: 4px solid #e53e3e;
}

.password-strength.medium {
  background: #fffbf0;
  color: #dd6b20;
  border-left: 4px solid #dd6b20;
}

.password-strength.strong {
  background: #f0fff4;
  color: #38a169;
  border-left: 4px solid #38a169;
}

/* Responsive design */
@media (max-width: 768px) {
  #formForgotPassword {
    margin: 20px;
    padding: 30px 20px;
  }
  
  .form-title h2 {
    font-size: 1.8rem;
  }
  
  .btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .modal-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 30px 0;
  }
  
  #formForgotPassword {
    margin: 10px;
    padding: 25px 15px;
  }
  
  .form-title h2 {
    font-size: 1.6rem;
  }
  
  .form-title p {
    font-size: 0.9rem;
  }
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
}

#toast-container .alert {
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
#toast-container span{
    display: none;
}
footer, .site-footer, #site-footer{
  z-index: 0 !important;
}
.modal-open .modal {
	z-index: 10000 !important;
}
.modal-header .close span{
    display: none;
}
#toast-container .alert-success {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  border-left: 4px solid #2f8655;
}

#toast-container .alert-danger {
  background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
  color: white;
  border-left: 4px solid #c53030;
}

#toast-container .alert-info {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white;
  border-left: 4px solid #2c5aa0;
}

#toast-container .close {
  color: white;
  opacity: 0.8;
  font-size: 1.2rem;
}

#toast-container .close:hover {
  opacity: 1;
  color: white;
}

/* Responsive toast for mobile */
@media (max-width: 768px) {
  #toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  #toast-container .alert {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #toast-container {
    top: 5px;
    right: 5px;
    left: 5px;
  }
  
  #toast-container .alert {
    font-size: 0.85rem;
    padding: 10px 15px;
  }
}
