/**
 * Text to Speech CSS
 */

.wp-tts-player {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    max-width: 600px;
}

.wp-tts-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wp-tts-play-button,
.wp-tts-stop-button {
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wp-tts-play-button:hover,
.wp-tts-stop-button:hover {
    background-color: #005177;
}

.wp-tts-stop-button {
    background-color: #d63638;
}

.wp-tts-stop-button:hover {
    background-color: #a00;
}

.wp-tts-progress-container {
    flex: 1;
    background-color: #ddd;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 5px;
}

.wp-tts-progress-bar {
    background-color: #0073aa;
    height: 100%;
    width: 0;
    transition: width 0.3s;
}

.wp-tts-time {
    font-size: 12px;
    color: #555;
    min-width: 80px;
    text-align: center;
}

.wp-tts-voice-select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: white;
    font-size: 14px;
    max-width: 150px;
}

.wp-tts-status {
    margin-top: 10px;
    font-style: italic;
    font-size: 13px;
    color: #666;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .wp-tts-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .wp-tts-progress-container {
        width: 100%;
        margin: 10px 0;
    }

    .wp-tts-voice-select {
        max-width: 100%;
        margin-top: 10px;
    }
}