/* Custom Styles for Welcome Page */

/* Loading animation */
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Auth modal animations */
.auth-modal {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.auth-modal.show {
  opacity: 1;
  transform: scale(1);
}

/* Error message styling */
.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
  text-align: center;
}

/* Success message styling */
.success-message {
  color: #27ae60;
  font-size: 14px;
  margin-top: 8px;
  text-align: center;
}

/* Button hover effects */
.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 176, 175, 0.3);
}

/* Form input focus effects */
input:focus {
  outline: none;
  border-color: #43b0af;
  box-shadow: 0 0 0 3px rgba(67, 176, 175, 0.1);
}

/* OTP input styling */
.otp-digit {
  transition: all 0.2s ease;
}

.otp-digit:focus {
  border-color: #43b0af;
  box-shadow: 0 0 0 3px rgba(67, 176, 175, 0.1);
  transform: scale(1.05);
}

/* Timer styling */
#resendTimer {
  font-weight: 500;
}

#timerValue {
  font-weight: 600;
  color: #43b0af;
}

/* Resend button styling */
#resendButton {
  transition: all 0.2s ease;
}

#resendButton:hover {
  color: #2c3e50;
  text-decoration: none;
}

#resendButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive design */
@media (max-width: 768px) {
  .auth-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .otp-digit {
    width: 40px !important;
    height: 45px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .otp-digit {
    width: 35px !important;
    height: 40px !important;
    font-size: 14px !important;
  }
} 