.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    height: 70px;
}

.play-pause-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}

.metadata {
    display: flex;
    align-items: center;
    flex: 1;
}

#album-art {
    width: 70px;
    height: 70px;
    margin-right: 15px;
}

.metadata-text {
    display: flex;
    flex-direction: column;
}

#artist, #title {
    font-size: 16px;
    line-height: 1.3;
}

.center-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.center-image img {
    max-height: 50px; /* Ajustar según el diseño */
    width: auto;
}

.volume-wrapper {
    position: relative;
    margin-left: 10px;
}

.volume-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
}

.volume-btn svg {
    stroke: #fff;
}

.volume-control {
    display: none;
    position: absolute;
    bottom: 40px;
    right: 0;
    background: #333;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.volume-control input[type="range"][orient="vertical"] {
    -webkit-appearance: slider-vertical;
    writing-mode: bt-lr;
    width: 10px;
    height: 100px;
    background: #555;
    border-radius: 5px;
}

.volume-control input[type="range"][orient="vertical"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.volume-control input[type="range"][orient="vertical"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

/* Ocultar la imagen central en dispositivos móviles */
@media (max-width: 950px) {
    .center-image {
        display: none;
    }
}