/* Enhanced animations and effects */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 40px rgba(147, 51, 234, 0.3);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.floating-orb:nth-child(1) {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-orb:nth-child(2) {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #10b981, #06b6d4);
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.floating-orb:nth-child(3) {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #f59e0b, #ef4444);
  bottom: 15%;
  left: 15%;
  animation-delay: 4s;
}

.floating-orb:nth-child(4) {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  bottom: 25%;
  right: 10%;
  animation-delay: 1s;
}

/* Enhanced glass card with better depth */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .glass-card {
  background: rgba(31, 41, 55, 0.1);
  border: 1px solid rgba(55, 65, 81, 0.3);
}

.glass-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.dark .glass-card:hover {
  border: 1px solid rgba(75, 85, 99, 0.4);
}

/* Enhanced button styling */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #2563eb, #9333ea, #ec4899) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 1rem 1.5rem !important;
  border-radius: 0.75rem !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  font-size: 1rem !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  background: linear-gradient(to right, #1d4ed8, #7c3aed, #db2777) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5) !important;
}

.btn-primary:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Step progress indicators */
.step-indicator {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step-indicator.active {
  background: linear-gradient(to right, #3b82f6, #8b5cf6);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  animation: pulse-glow 2s infinite;
}

.step-indicator.completed {
  background: linear-gradient(to right, #10b981, #059669);
  color: white;
}

.step-indicator.inactive {
  background: #e5e7eb;
  color: #6b7280;
}

.dark .step-indicator.inactive {
  background: #374151;
  color: #9ca3af;
}

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

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

/* Checkbox styling */
input[type='checkbox'] {
  accent-color: #3b82f6;
  color: #3b82f6;
}

input[type='checkbox']:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

input[type='checkbox']:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}
