@import "@radix-ui/colors/blackA.css";
@import "@radix-ui/colors/mauve.css";
@import "@radix-ui/colors/violet.css";

.ScrollAreaRoot {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px black;
    background-color: white;
    --scrollbar-size: 10px;
}

.ScrollAreaViewport {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.ScrollAreaScrollbar {
    display: flex;
    /* ensures no selection */
    user-select: none;
    /* disable browser handling of all panning and zooming gestures on touch devices */
    touch-action: none;
    padding: 2px;
    background: black;
}
.ScrollAreaScrollbar:hover {
    background: var(--blackA8);
}
.ScrollAreaScrollbar[data-orientation="vertical"] {
    width: var(--scrollbar-size);
}
.ScrollAreaScrollbar[data-orientation="horizontal"] {
    flex-direction: column;
    height: var(--scrollbar-size);
}

.ScrollAreaThumb {
    flex: 1;
    background: var(--mauve10);
    border-radius: var(--scrollbar-size);
    position: relative;
}

.ScrollAreaThumb::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 44px;
    min-height: 44px;
}

