/* YogaFlow Automator - Custom Styles */

/* Ensure smooth animations */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Custom button hover effects */
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:active {
  transform: translateY(0);
}

/* Smooth transitions */
* {
  transition: all 0.2s ease-in-out;
}

/* Code block styling */
pre {
  max-height: 400px;
  overflow-y: auto;
}

/* Responsive design enhancements */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Status indicators */
.status-success {
  background-color: #dcfce7;
  color: #166534;
}

.status-error {
  background-color: #fef2f2;
  color: #dc2626;
}

.status-loading {
  background-color: #dbeafe;
  color: #2563eb;
}

/* Card hover effects */
.bg-white:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}