/* Стили для аудиоплеера */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
    background-color: #121212;
    color: #fff;
    font-family: Arial, sans-serif;
}


#audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
}

/* Стили для секций плеера */
.player-section {
    position: relative;
    display: flex;
    align-items: center;
}

/* Кнопки плеера */
.player-section button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.player-section button:hover {
    color: #1DB954;
}

/* Выпадающие меню */
.dropdown-content {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 0;
    background-color: #333;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow-y: auto;
    max-height: 300px; /* Регулируйте в зависимости от высоты одной строки */
    overflow-y: auto;
}

.dropdown-content a,
.dropdown-content ul {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover,
.dropdown-content li:hover {
    background-color: #575757;
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li {
    padding: 5px 0;
    cursor: pointer;
}

/* Стиль для активного выпадающего меню */
.dropdown-toggle.active + .dropdown-content {
    display: block;
}

/* Таймлайн и громкость */
.timeline-volume {
    display: flex;
    align-items: center;
    width: 55%; /* Установите ширину по необходимости */
}

#current-time,
#total-time {
    font-size: 14px;
    width: 50px;
    text-align: center;
}

#progress-bar {
    flex-grow: 1;
    margin: 0 10px;
}

#volume-bar {
    width: 100px;
    margin-left: 10px;
}

/* Стили для списка треков */
#track-list li {
    padding: 5px 0;
    cursor: pointer;
}

#track-list li:hover {
    background-color: #575757;
}

/* Адаптивность */
@media (max-width: 600px) {
    #audio-player {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-volume {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    #progress-bar,
    #volume-bar {
        width: 100%;
        margin: 10px 0;
    }

    #current-time,
    #total-time {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
}

        /* Контейнер Flex */
        .container {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        /* Верхняя часть занимает 85% */
        .top {
            flex: 100;
            border: 1px solid #000;
        }
        /* Нижняя часть занимает 15% */
        .bottom {
            flex: 0;
            border: 1px solid #000;
        }
        /* Iframe заполняет весь контейнер */
        iframe {
            width: 100%;
            height: 100%;
            border: none;