/* Основной контейнер плеера в стиле сайдбара */
.player-container {
    background: hsla(240, 7%, 12%, 0.88);
    padding: 25px 10px;
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-bottom: 5px solid rgba(85, 122, 149, 0.2);
    border-radius: 7px;
    display: block;
    margin-bottom: 45px;
    width: 100%;
}

/* Заголовок в стиле сайдбара */
.n-m {
    text-align: center;
    font-size: 14px;
    color: #5ab9ea;
    font-weight: 600;
    border-bottom: 1px solid #eef3fa;
    padding: 5px 0 15px;
}

/* Контент плеера */
.player-content {
    margin-top: 10px;
}

/* Селектор качества */
.quality-selector {
    margin: 15px 0;
    text-align: center;
}

.quality-title {
    font-size: 13px;
    color: #A4B3BA;
    margin-bottom: 10px;
    font-weight: 500;
}

.quality-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    padding: 8px 15px;
    color: #A4B3BA;
    cursor: pointer;
    margin: 2px 3px;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-block;
}

.quality-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.quality-btn.active {
    background: linear-gradient(to right, #5260d5, #42a4f3);
    border-color: #42a4f3;
    color: #fff;
    font-weight: 600;
}

/* Элементы управления */
.controls {
    margin: 20px 0;
    text-align: center;
}

.play-btn {
    background: linear-gradient(to right, #5260d5, #42a4f3);
    border: none;
    border-radius: 3px;
    padding: 12px 25px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid rgba(210, 253, 255, 0.7);
}

.play-btn:hover {
    background: linear-gradient(to right, #6371e4, #5eb6fd);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px 0 rgba(210, 253, 255, 0.3);
}

.play-btn i {
    margin-right: 5px;
}

.stop-btn {
    background: linear-gradient(to right, #e74c3c, #c0392b);
    border-bottom: 3px solid rgba(255, 200, 200, 0.7);
}

.stop-btn:hover {
    background: linear-gradient(to right, #ec7063, #e74c3c);
    box-shadow: 0 10px 25px 0 rgba(255, 200, 200, 0.3);
}

/* Контроль громкости */
.volume-control {
    margin: 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.volume-control i {
    color: #5ab9ea;
    font-size: 14px;
}

.volume-slider {
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #5ab9ea;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #5ab9ea;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.volume-value {
    font-size: 12px;
    color: #A4B3BA;
    min-width: 30px;
    text-align: left;
}

/* Информация о воспроизведении */
.now-playing {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.status {
    font-size: 13px;
    font-weight: 600;
    color: #5ab9ea;
    margin-bottom: 8px;
}

.track-info {
    font-size: 12px;
    color: #A4B3BA;
    line-height: 1.4;
}

.loading {
    opacity: 0.7;
    color: #feca57;
}

.error {
    color: #e74c3c;
}

/* Ссылки на потоки */
.stream-links {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-links-title {
    font-size: 12px;
    color: #5ab9ea;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.stream-link-item {
    margin: 5px 0;
}

.stream-link {
    display: block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: #A4B3BA;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.stream-link:hover {
    background: rgba(90, 185, 234, 0.1);
    border-color: rgba(90, 185, 234, 0.3);
    color: #5ab9ea;
    text-decoration: none;
    transform: translateY(-1px);
}

.stream-link i {
    margin-right: 5px;
    font-size: 11px;
}

/* Адаптивность */
@media (max-width: 575.98px) {
    .quality-btn {
        display: block;
        margin: 5px auto;
        width: 90%;
    }

    .controls {
        margin: 15px 0;
    }

    .play-btn {
        padding: 10px 20px;
        font-size: 13px;
        margin: 3px;
    }

    .volume-slider {
        width: 100px;
    }

    .stream-link {
        font-size: 11px;
        padding: 6px 10px;
    }
}