/* Loading spinner animation */
.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(74, 243, 193, 0.3);
  border-top: 2px solid #4AF3C1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

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

/* Enhanced contact form states */
.contact-form button:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.contact-form button:disabled:hover {
  opacity: 0.7 !important;
  transform: none !important;
}

#contact-msg {
  transition: opacity 0.3s ease;
}

/* Progress message styling */
.progress-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: rgba(74, 243, 193, 0.1);
  border: 1px solid rgba(74, 243, 193, 0.3);
  border-radius: 5px;
  color: #4AF3C1;
  font-weight: 500;
}

/* Success message styling */
.success-message {
  text-align: center;
  padding: 20px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  color: #155724;
}

/* Error message styling */
.error-message {
  text-align: center;
  padding: 20px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  color: #721c24;
}

/* Pulse animation for loading states */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Fade in animation for messages */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}
