.body.back {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #d44c66 0%, #6c3fb9 90%, #4d5aaf 100%) fixed;
}

body {
    background: linear-gradient(
            135deg,
            #d44c66 0%,
            #8a2be2 50%,
            #4d5aaf 80%,
            #2a3a8f 100%
    ) fixed,
    radial-gradient(
            circle at 70% 30%,
            rgba(255, 255, 255, 0.2) 0%,
            transparent 30%
    ) fixed;
}

.general-col {
    background-color: white;
}

.general-col {
    max-width: 1000px;
}

/* Аудиоплеер */

.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    /*box-shadow: 0 -2px 10px rgba(0,0,0,0.1);*/
    z-index: 1000;

    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    height: 0;
    overflow: hidden;
}

.audio-player.visible {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

/* Чтобы контент не перекрывался плеером */
body {
    padding-bottom: 100px; /* Высота плеера + отступ */
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.seek-slider {
    /* Сброс стандартных стилей */
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
    margin: 10px 0;
    /* Плавность перемещения */
    transition: background 0.1s ease;
    --progress: 0%;
}

/* Для WebKit (Chrome, Safari) */
.seek-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #2c3e50;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.1s ease;
}

/* Для Firefox */
.seek-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #2c3e50;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.1s ease;
}

/* Прогресс-бар перед ползунком */
.seek-slider::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(90deg, #2c3e50 var(--progress, 0%), #ddd var(--progress, 0%));
    border-radius: 3px;
}

.seek-slider {
    /* Общие стили для трека */
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px; /* Толщина линии */
    background: #ddd; /* Цвет фона */
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

/* Скрытие ползунка во всех браузерах */
.seek-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0;
    height: 0;
    opacity: 0;
}

.seek-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    opacity: 0;
}

.seek-slider::-ms-thumb {
    width: 0;
    height: 0;
    opacity: 0;
}

.song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.song-item:hover {
    background: #d2f4ea;
}

.song-item-active {
    background-color: #d2f4ea;
}

.song-body {
    margin-top: -5px;
    margin-bottom: -5px;
    padding-top: 5px;
}

.audio-player-current-time {
    width: 40px;
}

.audio-player-duration {
    margin-left: 5px;
}

.repeat-button.active {
    color: #1db954; /* Цвет активной кнопки */
}

/* Для режима повтора одного трека */
[data-audio-player-target="repeatButton"][data-repeat-mode-value="one"] {
    font-weight: bold;
}

.bg-dropzone {
    background: linear-gradient(
            115deg,
            #f8f9ff 0%,
            #e6e9f2 50%,
            #dde1ed 100%
    );
}
