/* Inline Audio Player for Voice-Only Mode */
.inline-audio-player {
  display: flex;
  align-items: center;
  padding: 12px;
  margin: 8px 0;
  background: linear-gradient(135deg, var(--brand-1, #667eea) 0%, var(--brand-2, #764ba2) 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(var(--brand-rgb, 102, 126, 234), 0.2);
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.audio-btn {
  background: rgba(var(--white-rgb, 255, 255, 255), 0.2);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--white, #ffffff);
  font-size: 16px;
}

.audio-btn:hover {
  background: rgba(var(--white-rgb, 255, 255, 255), 0.3);
  transform: scale(1.05);
}

.audio-btn:active {
  transform: scale(0.95);
}

.audio-btn i {
  pointer-events: none;
}

.audio-progress-container {
  flex: 1;
  height: 6px;
  background: rgba(var(--white-rgb, 255, 255, 255), 0.25);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.audio-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--white, #ffffff) 0%, var(--gray-100, #f1f5f9) 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
  width: 0%;
}

.audio-time {
  color: var(--white, #ffffff);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Monaco', 'Courier New', monospace;
  min-width: 45px;
  text-align: right;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .inline-audio-player {
    box-shadow: 0 2px 8px rgba(var(--brand-rgb, 102, 126, 234), 0.3);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .inline-audio-player {
    padding: 10px;
  }

  .audio-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .audio-controls {
    gap: 8px;
  }

  .audio-time {
    font-size: 12px;
    min-width: 40px;
  }
}
