.student-tts-wrapper {
    max-width: 600px;
    margin: 1.5em 0;
    font-family: inherit;
}

.student-tts-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
}

.student-tts-input {
    flex: 2 1 200px;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.student-tts-voice-select {
    flex: 1 1 180px;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.student-tts-button {
    padding: 0.5em 1.2em;
    border: none;
    border-radius: 4px;
    background-color: #0073aa;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.student-tts-button:hover,
.student-tts-button:focus {
    background-color: #005a87;
}

.student-tts-status {
    margin-top: 0.5em;
    font-style: italic;
    color: #666;
}

.student-tts-status.error {
    color: #c00;
}