body {
    font-family: Arial, sans-serif;
    padding-bottom: 100px;

    /* Espace pour le lecteur audio fixe */
}

.track-list {
    margin: 20px;
    text-align: center !important;
}

.track-list li {
    list-style: none;
    font-size: 18px;
    cursor: pointer;
}

.track-list li:hover {
    text-decoration: none;
    color: #ef4d4d;
}

.audio-player {
    position: fixed;
    bottom: -100px;

    /* Position initiale hors de l'écran */
    left: 0;
    width: 100%;
    background-color: #172d3f;
    color: white;
    display: flex;

    /* Masqué par défaut */
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 30px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    opacity: 0;

    /* Transparence initiale */
    transition: bottom 0.8s ease, opacity 0.8s ease;

    /* Transition pour l'apparition */
}

.progress-container {
    flex: 1;
    width: 80%;
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    border-radius: 5px;
}

.progress-bar-fill {
    height: 100%;
    background-color: #2788cd;
    width: 0;
    border-radius: 5px;
}

.time-display {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.audio-player button {
    background-color: #2788cd;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-size: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.4em;
    margin-top: 5px;
}

.track-info {
    padding-top: 10px;
    padding-bottom: 5px;
}

/* Classe pour afficher le lecteur audio */
.audio-player.show {
    display: flex;
    bottom: 0;

    /* Position finale, visible à l'écran */
    opacity: 1;

    /* Opacité finale */
}

.close-button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-button:hover {
    color: #ef4d4d;
}