#elevenlabs-tts-form {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}

#elevenlabs-voice-select,
#elevenlabs-text-input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#elevenlabs-voice-select {
    height: 40px;
}

#elevenlabs-text-input {
    resize: vertical;
    min-height: 100px;
}

#elevenlabs-char-count {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-bottom: 10px;
}

#elevenlabs-submit-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#elevenlabs-submit-btn:hover {
    background-color: #005177;
}

#elevenlabs-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#elevenlabs-audio-output {
    margin-top: 20px;
}

#elevenlabs-audio-output audio {
    width: 100%;
}

#elevenlabs-error-message {
    color: #d63638;
    background-color: #fde8e8;
    border: 1px solid #d63638;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    #elevenlabs-tts-form {
        max-width: 100%;
        margin: 10px;
        padding: 15px;
    }
}
