::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #3A3A42;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #4A4A52;
    }

.sidebar-closed {
    width: 0 !important;
    opacity: 0;
    overflow: hidden;
    border-right-width: 0px !important;
}

#folders-panel {
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, border-width 0.3s ease;
}

.community-closed {
    width: 0 !important;
    opacity: 0;
    overflow: hidden;
    border-left-width: 0px !important;
    padding: 0 !important;
}

#community-panel {
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, border-width 0.3s ease;
}

.drag-over-dropzone {
    border: 2px dashed #C87A65 !important;
    background-color: rgba(200, 122, 101, 0.1) !important;
    transform: scale(1.02);
    transition: all 0.2s cubic-bezier(0.2, 1, 0.3, 1);
    border-radius: 12px;
}

.dragging {
    opacity: 0.8;
    transform: scale(1.03) rotate(2deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid #C87A65 !important;
    z-index: 50;
}

.hide-arrows::-webkit-inner-spin-button, .hide-arrows::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hide-arrows {
    -moz-appearance: textfield;
}

.ambient-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(200, 122, 101, 0.08) 0%, rgba(26, 26, 30, 0) 70%);
    top: 50%;
    left: 50%;
    margin-left: -400px;
    margin-top: -400px;
    z-index: 0;
    pointer-events: none;
    transition: all 1.5s ease;
    opacity: 0.4;
}

    .ambient-glow.active {
        opacity: 1;
        background: radial-gradient(circle, rgba(200, 122, 101, 0.15) 0%, rgba(26, 26, 30, 0) 70%);
    }

@keyframes timerBreathe {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(200, 122, 101, 0.1));
        color: #D5D5D8;
    }

    50% {
        filter: drop-shadow(0 0 45px rgba(200, 122, 101, 0.8));
        color: #FFFFFF;
    }
}

.timer-active {
    animation: timerBreathe 4s ease-in-out infinite;
}

.tab-spring {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s ease-out;
}

@keyframes eq {
    0% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0.3);
    }
}

.eq-bar {
    transform-origin: bottom;
    animation: eq 1s ease-in-out infinite;
}

    .eq-bar:nth-child(1) {
        animation-delay: 0.1s;
    }

    .eq-bar:nth-child(2) {
        animation-delay: 0.3s;
    }

    .eq-bar:nth-child(3) {
        animation-delay: 0.2s;
    }

    .eq-bar:nth-child(4) {
        animation-delay: 0.4s;
    }

.sound-slider {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

    .sound-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 14px;
        width: 14px;
        border-radius: 50%;
        background: #D5D5D8;
        cursor: pointer;
        margin-top: -4px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.5);
        transition: all 0.1s;
    }

        .sound-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            background: #FFFFFF;
        }

        .sound-slider::-webkit-slider-thumb:active {
            transform: scale(1.1);
        }

    .sound-slider::-webkit-slider-runnable-track {
        width: 100%;
        height: 6px;
        cursor: pointer;
        background: #1A1A1E;
        border-radius: 3px;
    }

    .sound-slider:focus {
        outline: none;
    }


@media (max-width: 767px) {
    #folders-panel, #community-panel {
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .sidebar-closed {
        width: 100% !important;
        border-right-width: 0 !important;
        opacity: 1 !important;
        transform: translateX(-100%);
    }

    .community-closed {
        width: 100% !important;
        border-left-width: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        transform: translateX(100%);
    }
}