﻿.state-disabled {
    opacity: 0.3 !important;
    pointer-events: none;
}

.grid-container {
    height: 100%;
    width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    background: var(--color-background-controls);
    border: 0.25px solid lightgray;
    margin-bottom: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: var(--shadow-05);
}

.card {
    background: var(--color-background-controls);
    box-shadow: var(--shadow-05);
    border-radius: 4px;
}

.toolbar {
    width: 100%;
    min-height: 38px;
    max-height: 38px;
    padding: 4px 4px 4px 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
}

.hidden-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.toolbar.hidden-scroll {
    height: 100%;
}

    .hidden-scroll::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

.overflown {
}

.toolbar .dropdown {
    height: 100%;
    min-height: 26px;
    padding-right: 2px;
}

.toolbar div {
    min-width: fit-content;
    max-width: fit-content;
    font-size: 14px;
}

.toolbar button {
    min-width: fit-content;
    max-width: fit-content;
    font-size: 14px;
}

.toolbar button .material-icons:nth-last-of-type(1)  {
    font-size: 16px;
}

.toolbar .material-icons {
    font-size: 24px;
}

.toolbar .material-icons-outlined {
    font-size: 24px;
}

.toolbar .sys-icons {
    font-size: 24px;
}

.toolbar .separator {
    min-height: 30px;
    min-width: 1px;
    margin-left: 4px;
    margin-right: 4px;
    background: var(--color-base-400);
}

.toolbar-entry {
    max-width: 500px !important;
    min-width: 100px !important;
}


.hidden-scroll-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-foreground-white);
    background: var(--color-primary);
    box-shadow: var(--shadow-2);
    border: none;
    outline: none;
    border-radius: 4px;
    height: 24px;
    width: 24px;
    min-width: unset !important;
    line-height: 1rem;
    overflow: hidden;
    white-space: nowrap;
    transition: box-shadow 0.25s ease-in-out, opacity 0.5s ease;
    user-select: none;
    -webkit-user-select: none;
}

    .hidden-scroll-button.disabled {
        pointer-events: none;
    }

    .hidden-scroll-button:hover:not(.disabled) {
        box-shadow: var(--shadow-4);
        opacity: 1 !important;
        transition: opacity 0.2s ease;
    }



.spinner-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spin 0.75s linear infinite;
    animation: spin 0.75s linear infinite;
}


@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}
