.audio-player {
    padding: 11px 14px;
    border-radius: 8px;
    margin: 20px auto 5px auto;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;width: 93%;
}

.audio-player__audio-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-player__play-button {
    font-size: 19px;
    background-color: #2d8f96;
    border: none;
    color: #fff;
    border-radius: 20%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 15px;
}

.audio-player__play-button .fa-play::before {
    position: relative;
    left: 2px;
}


.audio-player__play-button:hover {
    background-color: #1bbac7;
}

.audio-player__container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;


}

.audio-player__title {
    font-size: 16px;position: relative;
    top: 3px;
    color: #2d8f96;-webkit-font-smoothing: antialiased;
}

.audio-player__title b {
    float: left;
    margin-right: 10px;position: relative;
    top: 5px;
}

.audio-player__timeline {
    height: 6px;
    background-color: rgba(202, 212, 223, 0.52);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    width: 100%;
}

.audio-player__progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #93e5eb;
    border-radius: 3px;
    width: 0%;background-image: repeating-linear-gradient(135deg,rgba(0,0,0,.2),rgba(0,0,0,.2) 1px,transparent 2px,transparent 2px,rgba(0,0,0,.3) 3px);
}

.audio-player__time-display {
    font-size: 12px;
    color: #aaa;
    align-self: flex-start;
    width: 66px;
}

.audio-player__control-buttons {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    float: right;
    margin-left: 15px;
}

.audio-player__rewind-button,
.audio-player__pause-button,
.audio-player__mute-button,
.audio-player__fast-forward-button {
    border: none;
    cursor: pointer;
    font-size: 15px;
    background-color: transparent;
    color: #ccc;
}

.audio-player__mute-button .fa-volume-up {
    font-size: 14px;
}

.audio-player__rewind-button:hover,
.audio-player__pause-button:hover,
.audio-player__mute-button:hover,
.audio-player__fast-forward-button:hover {
    color: #19395e;
}

/* Style du curseur de volume pour un look discret */
.audio-player__volume-slider {
    -webkit-appearance: none; /* Pour retirer le style par défaut */
    appearance: none;
    width: 52px;
    height: 4px; /* Hauteur discrète */
    background-color: #ccc; /* Couleur gris clair */
    border-radius: 2px;
    cursor: pointer;
    outline: none;
}

/* Style du curseur (thumb) pour le rendre minimaliste */
.audio-player__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background-color: #666; /* Gris un peu plus foncé pour contraste */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.audio-player__volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background-color: #666;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Couleur du curseur au survol */
.audio-player__volume-slider::-webkit-slider-thumb:hover,
.audio-player__volume-slider::-moz-range-thumb:hover {
    background-color: #333; /* Gris foncé au survol pour meilleur contraste */
}

.audio-player__secondary-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    float: right;
    border: 1px solid #ccc;
    padding: 3px 9px 2px;
    border-radius: 8px;position: relative;
    top: -3px;
}

.audio-player__container-time {
    display: flex;
    gap: 10px;
    align-items: center;padding-top: 3px;
}

.audio-player-minutes {
    text-transform: uppercase;
    color: #aaa;
    font-weight: 400;
}

.cfnews-player-container {
    display: flex;
    justify-content: space-between; /* Place les éléments aux extrémités */
    align-items: center; /* Aligne verticalement si nécessaire */
}
.cfnews-powered {
    text-align: right;
    text-transform: none;
    font-size: 8px;color:#999;
    font-style: italic;
}

@media screen and (max-width: 480px) {

    .audio-player__time-display {
        width: 82px;
    }

    .audio-player {
        width: 97%;
    }


}