/* style.css */
.elementor-player-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.el-player-card {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0,0,0,0.02);
    overflow: hidden;
    width: 100%;
    padding: 15px;
    gap: 25px;
    align-items: center;
    font-family: inherit; /* Utiliza la tipografía del tema, en este caso velox */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .el-player-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
}

.el-player-image-col {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .el-player-image-col {
        width: 200px;
        height: 200px;
        max-width: 100%;
        margin: 0 auto;
    }
}

.el-player-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.el-player-content-col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Permite truncar texto si es necesario */
}

.el-player-title {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--e-global-color-primary, #1a1a2e); /* Respeta los colores de Elementor si están definidos */
    line-height: 1.2;
}

.el-player-subtitle {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--e-global-color-text, #6c757d);
}

.el-player-progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.el-player-progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.el-player-progress::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #e52c2c var(--progress, 0%), #e9ecef var(--progress, 0%));
}

.el-player-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e52c2c;
    cursor: pointer;
    margin-top: -5px;
    box-shadow: 0 0 0 3px rgba(229, 44, 44, 0.2);
}

.el-player-progress::-moz-range-track {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e9ecef;
}
.el-player-progress::-moz-range-progress {
    background-color: #e52c2c;
    height: 4px;
    border-radius: 2px;
}
.el-player-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e52c2c;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 3px rgba(229, 44, 44, 0.2);
}

.el-player-time {
    font-size: 13px;
    color: #6c757d;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.el-player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.el-player-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    transition: transform 0.2s ease, color 0.2s ease;
}

.el-player-btn:hover {
    transform: scale(1.1);
    color: #e52c2c;
}

.el-player-play {
    padding: 0;
}

.el-player-play:hover {
    transform: scale(1.05);
}

.el-player-volume {
    color: #6c757d;
}

.el-player-volume:hover {
    color: #1a1a2e;
}
