/* TTS Player Styles - Neutral & Compact */
.tts-player {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    /* Slightly rounded, but basically rectangular */
    padding: 8px 12px;
    margin: 15px 0;
    font-family: 'Lato', sans-serif;
    display: inline-flex;
    /* Compact width */
    align-items: center;
    max-width: 100%;
}

.tts-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tts-controls button {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 2px;
    /* Square/Rectangular */
    padding: 4px 10px;
    height: 32px;
    min-width: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.tts-controls button:hover {
    background: #eee;
    border-color: #999;
}

#tts-time {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    margin: 0 5px;
    white-space: nowrap;
}

#tts-speed-toggle {
    font-weight: bold;
    min-width: 45px;
    background: #f0f0f0;
}

/* Icons styling if needed */
#tts-play,
#tts-pause,
#tts-stop {
    font-size: 12px;
}

@media (max-width: 480px) {
    .tts-player {
        display: flex;
        /* Full width on mobile */
        justify-content: center;
        padding: 10px;
    }

    .tts-controls {
        width: 100%;
        justify-content: space-between;
    }

    .tts-controls button {
        flex: 1;
        max-width: 60px;
    }
}