/* AI Audio Visualizer - Prominent floating indicator */

.container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--lk-bg2);
  border: 2px solid var(--lk-accent-bg);
  border-radius: var(--lk-border-radius);
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  min-width: 320px;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.info {
  flex: 1;
  min-width: 0;
}

.name {
  font-size: 14px;
  font-weight: 600;
  color: var(--lk-fg);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.label {
  font-size: 12px;
  color: var(--lk-accent-bg);
  font-weight: 500;
}

.visualizer {
  width: 80px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lk-bg);
  border-radius: calc(var(--lk-border-radius) / 2);
  padding: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    top: 10px;
    right: 10px;
    left: 10px;
    min-width: unset;
    max-width: calc(100vw - 20px);
  }

  .icon {
    font-size: 1.5rem;
  }

  .visualizer {
    width: 60px;
    height: 32px;
  }
}
