
.voice-agent-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.voice-widget-container {
  position: relative;
}

.voice-widget-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-widget-toggle:hover {
  transform: scale(1.05);
}

.voice-widget-icon {
  font-size: 24px;
}

.voice-widget-dialog {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

.voice-widget-header {
  padding: 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voice-widget-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.voice-widget-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0 5px;
}

.voice-widget-content {
  padding: 15px;
}

.voice-widget-messages {
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.voice-widget-controls {
  display: flex;
  justify-content: center;
}

.voice-widget-record {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.voice-widget-record:hover {
  background: #0056b3;
}

.voice-widget-record.recording {
  background: #dc3545;
  animation: pulse 1.5s infinite;
}

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