/* JokerSound - Versions alternatives en accordeon */

.ja-alt-panel {
    display: none !important;
    list-style: none !important;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 0;
    margin: 4px 0;
    background: #f6f6f6;
    border-radius: 4px;
}

.ja-alt-panel.ja-open {
    display: block !important;
}

.ja-alt-loading,
.ja-alt-empty {
    padding: 10px 15px;
    font-size: 13px;
    color: #888;
}

.ja-alt-track {
    display: flex;
    align-items: center;
    /* Pas de padding a gauche ni de "gap" avant la waveform : la largeur de
       .ja-alt-info est calee au pixel pres sur la position de la waveform de
       la piste mere, tout ajout ici la decalerait. */
    padding: 6px 15px 6px 0;
}

.ja-alt-info {
    flex: 0 1 40%;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Le theme (style de bouton global d'Elementor) applique a tous les
   <button> du site un style "pilule noire", plus specifique qu'une
   simple classe. Le selecteur ".ja-alt-track .ja-alt-play" + !important
   est necessaire pour reprendre la main et avoir un simple triangle. */
.ja-alt-track .ja-alt-play {
    flex: 0 0 auto !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    color: #000 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.ja-alt-track .ja-alt-play:hover {
    color: #5D75FC !important;
}

.ja-alt-title {
    flex: 1 1 auto;
    min-width: 0;
    color: #333;
    /* Meme police/taille que le titre de la piste mere (mesurees en direct),
       mais pas en gras : ca suffit a le distinguer du titre principal. */
    font-family: Archivo, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    /* Les noms un peu longs passent sur 2 lignes au lieu d'etre coupes avec
       "..." des le premier debordement (plus agreable a lire). Au-dela de
       2 lignes, on coupe quand meme avec "...". */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ja-alt-wave {
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    margin-right: 10px;
}

.ja-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

/* Memes couleurs que la waveform de la piste mere (mesurees en direct sur le site) */
.ja-wave-bar {
    fill: #1f1f1f;
}

.ja-wave-bar.ja-wave-played {
    fill: #7401df;
}

.ja-alt-time {
    flex: 0 0 auto;
    min-width: 70px;
    text-align: right;
    /* Meme police/taille que la duree de la piste mere (mesurees en direct). */
    font-family: Archivo, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

@media (max-width: 600px) {
    .ja-alt-title {
        font-size: 12px;
    }
    .ja-alt-time {
        min-width: 50px;
        font-size: 10px;
    }
    .ja-alt-track {
        padding: 6px 10px 6px 0;
    }
}
