/* styles.css */
.tts-controller {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 9999;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: grab; /* Draggable indicator */
}

.tts-controller select,
.tts-controller button {
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

.tts-controller button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .tts-controller {
    flex-direction: column;
    gap: 8px;
    width: 90%;
  }

  .tts-controller select,
  .tts-controller button {
    width: 100%;
    font-size: 14px;
  }
}
