/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Slower pulse animation */
@keyframes slow-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

.slow-pulse {
  animation: slow-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Green glow animation for button border */
@keyframes green-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.8), 0 0 20px rgba(16, 185, 129, 0.6), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
}

.animate-green-glow {
  animation: green-glow 2s ease-in-out infinite;
}

/* Static green glow for hover */
.hover-green-glow:hover {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.8), 0 0 20px rgba(16, 185, 129, 0.6), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Audio clip border colors */
.border-clip-0 {
  border-left-color: #3b82f6; /* Blue 500 */
}

.border-clip-1 {
  border-left-color: #10b981; /* Green 500 */
}

.border-clip-2 {
  border-left-color: #f59e0b; /* Amber 500 */
}

.border-clip-3 {
  border-left-color: #8b5cf6; /* Purple 500 */
}

.border-clip-4 {
  border-left-color: #ef4444; /* Red 500 */
}
