.audio-player {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
	margin: 30px 0px;
}

.player-container {
    padding: 25px;
    background: linear-gradient(135deg, #0040a0, #6e8efb);
    color: white;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.play-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.progress-bar {
    flex-grow: 1;
    margin: 0 10px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

#current-time, #duration {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    min-width: 40px;
    text-align: center;
}

.volume-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.volume-icon {
    margin-right: 10px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.volume-bar {
    flex-grow: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
}

.volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.track-info {
    text-align: center;
}

.track-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.track-artist {
    font-size: 16px;
    opacity: 0.9;
}

.playlist-container {
    padding: 20px;
}

.playlist-container h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.playlist {
    list-style: none;

    overflow-y: auto;
}

.playlist li {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
}

.playlist li:last-child {
    border-bottom: none;
}

.playlist li:hover {
    background-color: #f8f8f8;
}

.playlist li.playing {
    background-color: #eef4ff;
    color: #6e8efb;
    font-weight: bold;
}

.playlist li .song-duration {
    color: #999;
    font-size: 14px;
}

.playlist li.playing .song-duration {
    color: #6e8efb;
}

/* Адаптивность */
@media (max-width: 600px) {
    .audio-player {
        flex-direction: column;
    }
    
    .player-container {
        padding: 20px 15px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        margin: 0 8px;
    }
    
    .play-btn {
        width: 55px;
        height: 55px;
    }
    
    .track-title {
        font-size: 18px;
    }
    
    .track-artist {
        font-size: 14px;
    }
    
    .playlist-container {
        padding: 15px;
    }
}

/* Стили для скроллбара плейлиста */
.playlist::-webkit-scrollbar {
    width: 6px;
}

.playlist::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.playlist::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.playlist::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}