/* visualization.css */

/* Clear any existing visualization styles */
.recording-viz * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* wave style, same as style.css */
.recording-viz {
  background: #FFFFFF;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 10px;
}
.recording-viz::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  pointer-events: none;
}
.recording-viz span {
  width: 3px;
  height: 20px;
  background: #4F46E5;
  border-radius: 3px;
  animation: waveform 0.5s ease-in-out infinite;
}
.recording-viz span:nth-child(2n) {
  animation-delay: 0.2s;
  height: 35px;
}
.recording-viz span:nth-child(3n) {
  animation-delay: 0.3s;
  height: 45px;
}
.recording-viz span:nth-child(4n) {
  animation-delay: 0.4s;
  height: 25px;
}

@keyframes waveform {
  0%, 100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}
