/**
 * Stili per il lettore TTS del plugin WKS - ReadIt
 */

.wks-readit-player-container {
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.wks-readit-player {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wks-readit-player .player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.wks-readit-player .player-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wks-readit-player .player-btn:hover {
    background: #005a87;
}

.wks-readit-player .player-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wks-readit-player .progress-container {
    width: 100%;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.wks-readit-player .progress-bar {
    height: 100%;
    background-color: #0073aa;
    width: 0%;
    transition: width 0.1s linear;
}

.wks-readit-player .current-time,
.wks-readit-player .total-time {
    font-size: 12px;
    color: #666;
}

.wks-readit-player .player-info {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

/* Stili per i paragrafi marcatori */
.wks-readit-paragraph-marker {
    background-color: yellow !important;
    position: relative;
}

.wks-readit-paragraph-marker::before {
    content: "🔊";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    cursor: move;
}