/* app/static/css/components/player.css */
/* Стили для плеера — как в оригинале */

#jp_container_1 {
    background: white;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.27);
    padding: 0 10px;
}

#jp_container_1 .jp-controls {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#jp_container_1 .jp-controls li {
    display: inline-grid;
    padding: 15px 20px;
    border-right: 1px solid rgba(68, 68, 68, 0.2);
    max-height: 90px;
    align-items: center;
}

#jp_container_1 .jp-controls li:last-child {
    border-right: none;
}

/* Группа кнопок управления в одном блоке */
#jp_container_1 .jp-controls .jp-controls-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
}

#jp_container_1 .jp-controls a {
    color: #444444;
    text-decoration: none;
    transition: all 250ms ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
}

#jp_container_1 .jp-controls a:hover {
    color: #0091ff;
}

#jp_container_1 .jp-controls a i {
    font-size: 20px;
}

#jp_container_1 .jp-controls a span {
    font-size: 14px;
    font-weight: 500;
}

/* Горизонтальная полоска громкости */
.jp-volume-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 80px;
}

.jp-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 70px;
    height: 4px;
    background: #444444;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.jp-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0091ff;
    cursor: pointer;
    margin-top: -5px;
}

.jp-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0091ff;
    cursor: pointer;
    border: none;
}

.jp-volume-slider::-ms-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0091ff;
    cursor: pointer;
    border: none;
}

.jp-volume-slider::-webkit-slider-runnable-track {
    width: 70px;
    height: 4px;
    background: #444444;
    border-radius: 2px;
}

.jp-volume-slider::-moz-range-track {
    width: 70px;
    height: 4px;
    background: #444444;
    border-radius: 2px;
    border: none;
}

.jp-volume-slider::-ms-track {
    width: 70px;
    height: 4px;
    background: #444444;
    border-radius: 2px;
    border: none;
    color: transparent;
}

/* Обложка */
#alimg {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 90px !important;
    height: 90px !important;
    flex-shrink: 0;
    max-height: none !important;
    padding: 5px !important;
    margin-bottom: 0;
}

#alimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.efirtext {
    color: #0091ff;
    font-weight: bold;
}

#contentsss {
    max-width: 340px;
    font-weight: bold;
    font-size: 80%;
}

#contentsss .js-now-track {
    font-weight: normal;
    color: #444444;
}

#comingUp {
    max-width: 380px;
    font-weight: bold;
    font-size: 80%;
}

#comingUp .js-next-track {
    font-weight: normal;
    color: #444444;
}

.jp-no-solution {
    display: none !important;
}

@media (max-width: 1024px) {
    #contentsss {
        width: auto;
    }

    #alimg {
        width: 65px !important;
        height: 65px !important;
        padding: 4px !important;
    }
}

@media (max-width: 768px) {
    #jp_container_1 .jp-controls {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    #jp_container_1 .jp-controls li {
        padding: 10px 12px;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(68, 68, 68, 0.1);
    }

    #jp_container_1 .jp-controls .jp-controls-group {
        padding: 10px 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #contentsss,
    #comingUp {
        max-width: 100%;
        font-size: 70%;
    }

    #alimg {
        width: 55px !important;
        height: 55px !important;
        padding: 4px !important;
    }

    #jp_container_1 .jp-controls a span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    #jp_container_1 .jp-controls li {
        padding: 8px 10px;
        font-size: 12px;
    }

    #jp_container_1 .jp-controls .jp-controls-group {
        padding: 8px 10px;
        gap: 8px;
    }

    #contentsss,
    #comingUp {
        font-size: 65%;
    }

    #alimg {
        width: 45px !important;
        height: 45px !important;
        padding: 3px !important;
    }

    #jp_container_1 .jp-controls a i {
        font-size: 16px;
    }

    #jp_container_1 .jp-controls a span {
        font-size: 10px;
    }
}