/* Custom styles for Jaouda Voice AI application */

@keyframes wave {
  0%, 100% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
}

.audio-wave span {
  display: inline-block;
  width: 3px;
  height: 10px;
  margin: 0 1px;
  background-color: #3b82f6;
  border-radius: 3px;
  animation: wave 0.8s infinite;
}

.audio-wave span:nth-child(2) {
  animation-delay: 0.1s;
}

.audio-wave span:nth-child(3) {
  animation-delay: 0.2s;
}

.audio-wave span:nth-child(4) {
  animation-delay: 0.3s;
}

.audio-wave span:nth-child(5) {
  animation-delay: 0.4s;
}

/* Product card hover effect */
.product-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Mic button pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.mic-btn {
  animation: pulse 1.5s infinite;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .step-text {
    font-size: 0.75rem;
  }
}

/* RTL specific styles */
html[dir="rtl"] .ml-4 {
  margin-right: 1rem;
  margin-left: 0;
}

html[dir="rtl"] .mr-2 {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* Fix for Tailwind in RTL context */
html[dir="rtl"] .items-center {
  text-align: right;
}

html[dir="rtl"] .ml-auto {
  margin-right: auto;
  margin-left: 0;
}

/* Progress steps styles */
.step-connector {
  height: 2px;
  background-color: #e2e8f0;
  flex-grow: 1;
  margin-top: 1rem;
}

.step-connector.active {
  background-color: #3b82f6;
}

.step-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e2e8f0;
  color: #64748b;
  font-weight: bold;
}

.step-circle.active {
  background-color: #3b82f6;
  color: white;
} 