.piper-tts-ui {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

.piper-tts-ui textarea {
    width: 100%;
    max-width: 100%;
    min-height: 120px;
}

.piper-tts-ui select {
    margin: 0.5em 0;
    padding: 0.25em;
    font-size: 1em;
}

.piper-tts-ui button {
    margin-top: 0.75em;
}

.piper-preview.button {
  color: #000 !important;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
}
.piper-preview.button:hover {
  background-color: #e4e4e4;
}

/* Sliders — doubled width */
.piper-speed,
.piper-pitch {
    width: 400px;
    max-width: 100%;
}

.piper-status-warn {
  color: #c00;
  font-weight: bold;
  display: none;
}
.piper-status-stats {
  font-weight: bold;
  color: #090;
}

.piper-model {
  width: 300px !important; /* Adjust this value as needed */
  max-width: 100%;
}

#preset_speed, #preset_pitch {
  accent-color: #0073aa; /* WP blue */
}

.piper-synth-box label {
  color: #222;
  margin-bottom: 3px;
}
.piper-synth-box select {
  margin-bottom: 10px;
  width: 260px;
}

.piper-synth-box .button:first-child {
  background-color: #5aa4e0;
  color: #fff;
}


/* Results list for split mode (non-destructive, small additions) */
.piper-split-results {
    border: 1px solid #dfe6ea;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    background: #ffffff;
    font-size: 0.95em;
}

.piper-split-results-header {
    font-size: 1em;
    margin-bottom: 8px;
}

.piper-split-results-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
