/* General styles */
.speakeasy-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.speakeasy-button:hover,
.speakeasy-button:focus {
  background-color: #000;
  outline: none;
}

.speakeasy-button:active {
  background-color: #000;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.speakeasy-voice-select {
  margin: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
}

.speakeasy-link {
  font-size: 16px;
  color: #2494db;
  text-decoration: underline;
  cursor: pointer;
  margin-right: 5px;
}

.speakeasy-link.speaking {
  color: #2494db;
  text-decoration: none;
  font-weight: bold;
}

.speakeasy-current {
  background-color: #ccc;
}

/* Media Player Style */
.speakeasy-media-player {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: #ccc;
    color: #000;
}

.speakeasy-media-player .speakeasy-button {
  padding: 5px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.speakeasy-progress {
  flex: 1;
  accent-color: #000;
}

.speakeasy-media-player .speakeasy-button svg {
  fill: #000;
  width: 24px;
  height: 24px;
  transition: fill 0.3s ease;
}

.speakeasy-media-player .speakeasy-button:hover svg,
.speakeasy-media-player .speakeasy-button:focus svg {
  fill: #000;
}

.speakeasy-media-player .speakeasy-button:focus {
  outline: 2px solid #000;
}

/* Settings Panel */
.speakeasy-settings {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.speakeasy-setting {
  display: flex;
  flex-direction: column;
}

.speakeasy-settings label {
  display: block;
  margin-bottom: 5px;
}

#speakeasy-speed {
  width: 150px;
  margin: 5px 0;
  accent-color: #000;
}

/* Responsive Design */
@media (max-width: 600px) {
  .speakeasy-button {
    margin: 5px 0 0 0;
  }

  .speakeasy-voice-select {
    width: 100%;
  }

  #speakeasy-speed {
    width: 100%;
  }

  .speakeasy-settings {
    flex-direction: column;
    align-items: flex-start;
    display: block;
  }

  .speakeasy-setting {
    width: 100%;
  }

  .speakeasy-media-player {
    display: inline-block;
  }

  .speakeasy-media-player .speakeasy-button {
    margin: 5px 10px 5px;
  }
}

.speakeasy-button:focus,
.speakeasy-link:focus {
  outline: 2px dashed #000;
  outline-offset: 2px;
}

