:root {
    --brand-color: orange;
    --body-bg-color: #212429;
    --max-width: none;
    --desktop-menu: none;
    --location-small-border-color: rgba(0, 255, 0, .5);
    --location-small-bg-color: rgba(0, 255, 0, .1);
    --divider-color: white;
    --divider-bg-color-alpha-strong: #212429EE;
    --sync-spinner-bg-color: orange;
}




/************ FONTS ************/
/* roboto-thin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/Roboto/Roboto-Thin.ttf') format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/Roboto/Roboto-Regular.ttf') format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-medium */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/Roboto/Roboto-Medium.ttf') format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-bold */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/Roboto/Roboto-Bold.ttf') format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/************ DESKTOP ONLY ************/
@media only screen and (min-width: 800px) {
    :root {
        --brand-color: crimson;
        --max-width: 1440px;
        --desktop-menu: block;
    }
    /* #open-menu {
        display: none;
    } */
    /* .menu {
        float: left;
        width: 60px;
    }
    .content {
        margin-left: 70px;
    } */
}




/************ GENERAL MOBILE ************/
body {
    background: var(--body-bg-color);
    color: #FFFFFF;
    font-family: 'Roboto';
    margin: 0px;
    padding: 0px;
}




textarea {
    border: 1px solid #5b6474;
    border-radius: 10px;
    background: none;
    margin: auto;
    margin-bottom: 10px;
    width: 65%;
    height: 100px;
    padding: 8px 10px;
    color: white;
    display: block;
}

    textarea:focus {
        /* outline-color: orange; */
        /* outline-width: 2px; */
        border-color: orange;
        outline: none;
        /* -webkit-box-shadow: 0px 0px 5px 0px orange; */
        /* -moz-box-shadow: 0px 0px 5px 0px orange; */
        /* box-shadow: 0px 0px 5px 0px orange; */
    }



/*----------- BUTTON -----------*/
.arrow {
    border-bottom: 2px solid #FFF;
    border-right: 2px solid #FFF;
        /* position: absolute; */
        /* top: 50%;
        right: 30px; */
    /* margin-top: 5px; */
    width: 6px;
    height: 6px;
    transform: rotate(-45deg) translateX(-20%) translateY(-20%);
        /* transform-origin: right; */
    transition: all .2s;
}
    .arrow.up {
        transform: rotate(-135deg) translateX(-20%) translateY(30%);
    }
    .arrow.down {
        transform: rotate(45deg) translateX(-10%) translateY(-60%);
    }
    .arrow.left {
        transform: rotate(135deg);
    }

button {
    background: none;
    border: none;
    border-radius: 50px;
    color: white;
    font-family: 'Roboto';
    cursor: pointer;
}
    button.brand {
        background: var(--brand-color);
        padding: 15px;
        /* padding-bottom: 12px; */
        transition: all .2s;
    }
        button.brand.green {
            border: 1px solid var(--location-small-border-color);
            background: var(--location-small-bg-color);
        }
        button.brand.wrong {
            border: 1px solid rgb(220, 20, 60);/*crimson*/
            background: rgba(220, 20, 60, 0.1);
        }
    button.go {
        padding: 20px;
        padding-bottom: 18px;
    }
        button.go .arrow {
            width: 12px;
            height: 12px;
            border-width: 3px;
            margin-top: 8px;
            margin-left: 7px;
            margin-right: 0px;
        }

    button.icon {
        color: white;
        /* position: absolute; */
        /* bottom: 20px; */
        /* right: 20px; */
        vertical-align: middle;
        cursor: pointer;
    }
    /*
        .overlay button:not(.brand) {
            right: 22px;
        }
    */
        button.icon:not(.brand) svg {
            fill: white;
            width: 18px;
            height: 18px;
        }
        button.icon div:first-child {
            /* background: #333841; */
            float: left;
            padding: 15px;
            padding-left: 6px;
            padding-right: 5px;
            /* padding-bottom: 9px; */
            /* border-radius: 50px; */
        }
        button.icon div:last-child {
            float: right;
            /* margin-top: 13px; */
            /* margin-left: 15px; */
            padding: 15px;
            padding-left: 5px;
        }




















a {
    color: white;
    text-decoration: none;
}

header {
    margin: 15px;
}

h1 {
    font-family: 'Roboto';
    font-weight: 800;
    padding: 0px;
    margin: 0px;
    font-size: 16px;
}




.selected4scan {
    border: 1px solid orange;
    border-radius: 10px;
}




.main-window {
    max-width: var(--max-width);
    margin: auto;
}

    body:has(.menu) .main-window {
        margin-left: 300px;
        margin-right: auto;
    }



/* 
    .menu {
        display: var(--desktop-menu);
    }
        .menu button {
            border: 1px solid white;
            padding: 20px 10px;
            border-radius: 10px;
            color: var(--menu-color);
            padding-top: 10px;
            padding-bottom: 10px;
            margin-top: 10px;
            cursor: pointer;
            text-align: center;
            width: 60px;
            height: 44px;
            user-select: none;
        }
            .menu button svg {
                fill: white;
            }
            .menu button div:first-child {
                
            }
            .menu button div:last-child {

            } */
    .buttons-placeholder {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }


    .tile {
        background: #333841;
        border-radius: 10px;
        margin: 15px;
        padding: 15px 10px 15px 15px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 10px;
    }

        .tile .arrow {
            /* float: right; */
            margin-top: 8px;
            margin-right: 4px;
        }

            .tile .arrow.up {
                /* float: left; */
                /* margin: auto; */
                /* margin-top: 10px; */
                /* margin-right: 10px; */
            }

        .tile .arrow-icon-right {
            margin-left: auto;
        }

            .tile .arrow-icon-right svg {
                margin-bottom: -4px;
                fill: white;
            }
/*
        .tile input {
            border: 1px solid white;
            border: 50px;
            background: none;
            padding: 5px 10px;
        }
*/

        .tile .pallete {

        }

            .tile .pallete svg {
                fill: white;
                margin-bottom: -3px;
            }

        .tile .pallet-tile {

        }

            .tile .pallet-tile svg {
                fill: white;
                margin-bottom: -3px;
            }

        .tile .loc-perc {
            margin-left: auto;
        }

        .tile .mod-2-loc {
            width: 100%;
            font-size: 12px;
            display: flex;
            flex-direction: row;
            /* justify-content: space-between; */
            gap: 0px;
        }

            .tile .mod-2-loc div:nth-last-child(2) {
                margin-left: auto;
            }

            .tile .mod-2-loc div:last-child {
                width: 60px;
                text-align: right;
            }

            .tile .mod-2-loc input {
                background: none;
                border: 1px solid #fff;
                border-radius: 50px;
                padding: 5px 10px;
                width: 37px;
                color: #fff;
            }

                .tile .mod-2-loc input:disabled {
                    border: 1px solid gray;
                }

        .model {
            /* margin-left: 20px; */
            display: flex;
            gap: 8px;
            font-size: 15px;
            cursor: pointer;
        }

        .location-small {
            border: 1px solid var(--location-small-border-color);
            background: var(--location-small-bg-color);
            border-radius: 5px;
            /* color: orange; */
            margin-top: -10px;
            margin-left: 5px;
            padding: 3px 5px 3px 3px;
            font-size: 9px;
        }

            .location-small svg {
                /* fill: orange; */
                fill: white;
                width: 9px;
                height: 9px;
                margin-bottom: -1px;
            }

            .location-small.wrong {
                border-color: rgb(220, 20, 60);/*crimson*/
                background: rgba(220, 20, 60, 0.1);
            }

        .location-medium {
            border: 1px solid var(--location-small-border-color);
            background: var(--location-small-bg-color);
            border-radius: 50px;
            /* color: orange; */
            /* margin-top: 0px; */
            margin-left: 5px;
            padding: 5px 7px 5px 5px;
            font-size: 12px;
            display: inline-block;
        }
/*
            .location-medium div {
                display: inherit;
            }
*/
            .location-medium svg {
                /* fill: orange; */
                fill: white;
                width: 12px;
                height: 12px;
                /* margin-top: 8px; */
                /* margin-left: 8px; */
                /* position: absolute; */
                margin-bottom: -2px;
            }

            .location-medium.wrong {
                border-color: rgb(220, 20, 60); /*crimson*/
                background: rgba(220, 20, 60, 0.1);
            }

        .location-big {
            border: 1px solid var(--location-small-border-color);
            background: var(--location-small-bg-color);
            border-radius: 5px;
            margin-top: 0px;
            padding: 5px 7px 5px 5px;
            font-size: 15px;
        }

            .location-big svg {
                fill: white;
                width: 15px;
                height: 15px;
                margin-bottom: -2px;
            }

        .barcode-button {
            border: 1px solid white;
            border-radius: 50px;
            cursor: pointer;
            margin-left: 20px;
            padding: 4px 12px 3px 12px;
        }

        .stock-buttons {
            --stock-buttons-border-radius: 50px;
            margin-left: auto;
            display: flex;
            /* float: right; */
            /* margin-top: -6px; */
        }

            .stock-buttons div {
                border: 1px solid white;
                text-align: center;
            }

            .stock-buttons svg {
                fill: white;
                padding-top: 3px;
            }

            .stock-buttons div:first-child {
                border-top-left-radius: var(--stock-buttons-border-radius);
                border-bottom-left-radius: var(--stock-buttons-border-radius);
                padding: 0px 5px 0px 7px;
            }

            .stock-buttons div:nth-child(2) {
                border-left: none;
                border-right: none;
                width: 75px;
                padding-top: 6px;
                text-align: center;
            }

            .stock-buttons div:last-child {
                border-top-right-radius: var(--stock-buttons-border-radius);
                border-bottom-right-radius: var(--stock-buttons-border-radius);
                padding: 0px 7px 0px 5px;
            }



    .paddingClass {
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }




.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #212429EE;
    text-align: right;
    display: none;
    z-index: 1500;
}

    .overlay button {
        color: white;
        position: absolute;
        bottom: 20px;
        right: 20px;
        vertical-align: middle;
    }
/*
        .overlay button:not(.brand) {
            right: 22px;
        }
*/
        .overlay button:not(.brand) svg {
            fill: white;
            width: 18px;
            height: 18px;
        }

        .overlay button div:first-child {
            background: #333841;
            float: right;
            padding: 12px;
            padding-bottom: 9px;
            border-radius: 50px;
        }

        .overlay button div:last-child {
            float: left;
            margin-top: 13px;
            margin-right: 15px;
        }
/*
        .overlay button div:first-child {
            float: left;
            margin-top: 13px;
            margin-right: 15px;
        }

        .overlay button div:last-child {
            background: #333841;
            float: right;
            padding: 12px;
            padding-bottom: 9px;
            border-radius: 50px;
        }
*/
    .overlay .brand {
        background: var(--brand-color);
        padding: 15px;
        padding-bottom: 12px;
    }

        .overlay .brand svg {
            fill: white;
        }

    body:has(.overlay-restock) .overlay button {
        bottom: 40px;
    }

    body:has(.overlay-restock) .tile {
        /* border-left: 5px solid orange; */
        transition: border-color .3s;
    }
        body:has(.overlay-restock) .restock-outOfScope .tile {
            border-color: #00bfff;
        }
        body:has(.overlay-restock) .overlay-restock-action .tile {
            border-left: none;
        }
        .divider:has(.wrong) .tile {
            border-color: crimson;
        }

        body:has(.overlay-restock) .tile.green {
            border-color: var(--location-small-border-color);
        }
/*
        body:has(.overlay-restock) .tile::before {
            content: '';
            width: 6px;
            height: 10px;
            background: crimson;
        }
*/


.barcode {
    width: 30%;
    margin: auto;
    text-align: center;
}
    .barcode svg {
        margin-top: 15px;
        margin-bottom: 35px;
    }



.action div:last-child {
    color: black;
    position: absolute;
    font-size: 13px;
    width: 15px;
    height: 15px;
    border: 4px solid var(--body-bg-color);
    border-radius: 50px;
    background: white;
    margin-top: -40px;
    margin-left: 16px;
}


.overlay-restock {
    /* border-top: 1px solid #5b6474; */
    /* border-radius: 50px; */
    background: var(--body-bg-color);
    position: fixed;
    bottom: 0px;
    /* right: 20px; */
    /* text-align: right; */
    display: block;
    z-index: 1000;
    width: 100%;
    height: 66px;
    border-top: 1px solid #5b6474;
    /* -webkit-box-shadow: 0px 10px 40px -6px rgba(150, 150, 150, 1); */
    /* -moz-box-shadow: 0px 10px 40px -6px rgba(150, 150, 150, 1); */
    /* box-shadow: 0px 10px 40px -6px rgba(150, 150, 150, 1); */
}

    .blablabla {
        margin-top: 15px;
        margin-left: 15px;
        display: flex;
        gap: 20px;
    }

    .buttons-placeholder button,
    .overlay-restock button {
        /* background: #333841; */
        border: 1px solid white;
        border-radius: 40px;
        /* padding: 12px; */
        width: 40px;
        height: 40px;
    }

        .buttons-placeholder .wrong {
            border-color: rgb(255, 165, 0); /*orange*/
            background: rgba(255, 165, 0, 0.1);
        }
/*
    .overlay-restock button:first-child {
        padding-right: 0px;
        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
    }

        .overlay-restock button:first-child div {
            border-right: 1px solid silver;
            padding-right: 11px;
        }

    .overlay-restock button:last-child {
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }
*/
    .buttons-placeholder svg,
    .overlay-restock svg {
        fill: white;
        margin-top: +1px;
        margin-bottom: -1px;
    }

    .overlay-restock-fab-holder {
        border: 1px solid #5b6474;
        border-top: 1px solid #333841;
        background: #333841;
        width: 64px;
        height: 32px;
        border-bottom-left-radius: 80px;
        border-bottom-right-radius: 80px;
        position: absolute;
        bottom: 33px;
        right: 14.5px;
    }


.overlay-restock-action {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #212429EE;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    z-index: 1700;
}

    .overlay-restock-action .header {
        padding: 50px 0px;
    }

    .overlay-restock-action .footer button{
        padding: 50px 0px;
        width: 100vw;
    }

    .add-model {
        display: none;
    }

    .add-pallet {
        display: none;
    }

    .select-pallet {
        display: none;
    }

    .generate-pallets {
        display: none;
        overflow-y: auto;
    }

    .set-location {
        display: none;
    }

    .print-labels {
        display: none;
    }

        .pallet-label-html {
            text-align: left;
            overflow-y: auto;
            height: 300px;
        }



.restock-buttons {
    margin: 10px 0px 80px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

    .restock-buttons button {
        font-size: 16px;
    }

    .restock-buttons button:not(.brand) {
        padding: 15px;
    }

        .restock-buttons button:not(.brand) div {
            border-bottom: 1px solid white;
            padding-bottom: 4px;
            margin-bottom: -5px;
        }

    .restock-buttons h2 {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .restock-buttons h3 {
        margin-top: 0px;
        font-size: 14px;
    }

    .restock-buttons.header {
        margin-bottom: 20px;
    }





#open-search {
    bottom: 370px;
}

    body:has(.overlay-restock) #open-search {
        bottom: 400px;
    }

#open-move {
    bottom: 300px;
}

    body:has(.overlay-restock) #open-move {
        bottom: 340px;
    }

#open-locations {
    bottom: 230px;
}

    body:has(.overlay-restock) #open-locations {
        bottom: 270px;
    }

#open-handover {
    bottom: 160px;
}

    body:has(.overlay-restock) #open-handover {
        bottom: 200px;
    }

#open-add {
    bottom: 90px;
}

    body:has(.overlay-restock) #open-add {
        bottom: 130px;
    }

#open-cargo {
    bottom: 160px;
    left: 20px;
    right: unset;
}

    body:has(.overlay-restock) #open-cargo div {
        float: left;
    }

    body:has(.overlay-restock) #open-cargo div:last-child {
        margin-left: 15px;
        margin-right: unset;
    }

    body:has(.overlay-restock) #open-cargo {
        bottom: 200px;
    }

#open-remanent {
    bottom: 90px;
    left: 20px;
    right: unset;
}

    body:has(.overlay-restock) #open-remanent div {
        float: left;
    }

    body:has(.overlay-restock) #open-remanent div:last-child {
        margin-left: 15px;
        margin-right: unset;
    }

    body:has(.overlay-restock) #open-remanent {
        bottom: 130px;
    }

#open-menu {
    background: var(--brand-color);
    color: white;
    padding: 15px;
    padding-bottom: 12px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

    #open-menu svg {
        fill: white;
    }

    body:has(.overlay-restock) #open-menu {
        bottom: 40px;
        width: 54px;
        height: 54px;
    }

.left-panel {
    border-right: 1px solid #333841;
    display: block;
    height: 100%;
    position: fixed;
    width: 250px;
    top: 0;
}

    .menu {
        display: flex;
        flex-direction: column;
        margin-top: 30px;
        gap: 20px;
    }

        .menu button {
            display: flex;
            flex-direction: row;
            font-size: 14px;
            gap: 10px;
            margin-left: 5px;
        }

            .menu button svg {
                fill: white;
                margin-top: -3px;
            }


/*----------- LOGIN -----------*/

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .login-image {
        height: 300px;
        color: white;
    }

    .login-picklist {
        width: 200px;
        background: #333841;
        border-radius: 25px;
        padding: 15px 15px 15px 20px;
        font-size: 16px;
        text-align: left;
        margin-bottom: 80px;
        cursor: pointer;
    }

        .login-picklist .arrow {
            float: right;
            margin-top: 8px;
            margin-left: 8px;
        }

        .picklist-options {
            display: none;
        }

            .picklist-item {
                border-top: 1px solid #464c58;
                padding: 15px 0px;
                cursor: pointer;
            }

                .picklist-item:nth-child(2) {
                    border-top: none;
                }

            .picklist-start {
                /* border-top: 1px solid white; */
                width: 30px;
                margin: auto;
                margin-top: 5px;
                margin-bottom: 0px;
                font-size: 20px;
                text-align: center;
            }

    #loginButton {

    }

    #login_to_password {
        width: 62px;
        height: 62px;
    }

        #login_to_password .arrow {
            margin-top: -1px;
            margin-left: 5px;
        }




.nice {
    background: none;
    border: 1px solid white;
    border-radius: 50px;
    color: white;
    margin-top: 0px;
    padding: 10px 15px;
    /* width: 60%; */
    max-width: 500px;
    transition: all .3s ease-in-out;
}
    .nice::placeholder {
        color: #FFFFFFAA;
        opacity: 1; /* Firefox */
    }
    .nice:focus {
        outline: none;
        padding: 12px 17px;
        margin-top: -2px;
        /* margin-bottom: -2px; */
    }
    .nice.action {
        width: 80%;
    }
    .divider:has(.nice) {
        display: block;
        text-align: center;
    }



/* 
#test-input {
    width: 200px;
    background: var(--brand-color);
    /* background: crimson; /
    border: none;
    /* border: 1px solid crimson; /
    border-radius: 50px;
    color: white;
    padding: 20px;
    padding-top: 19.5px;
    padding-bottom: 19.5px;
    position: fixed;
    bottom: 20px;
    left: 20px;
}
    #test-input::placeholder {
        color: #000000AA;
        opacity: 1; /* Firefox /
      }
*/





.keyboard {
    margin: 30px auto 0px auto;
    border-spacing: 5px;
    border-collapse: separate;
}

    .keyboard td {
        /* border: 1px solid #65768A; */
        padding: 20px 50px;
        text-align: center;
        cursor: pointer;
    }

    .keyboard td:has(svg) {
        fill: #e8eaed;
        margin: 0px;
        padding: 0px;
    }

#numKeybord {
    background: orange;
    border: 1px solid #fff;
    border-radius: 5px;
    display: none;
    flex-direction: row;
    position: fixed;
    top: 0px;
    right: 0px;
    /* padding: 5px 10px; */
    z-index: 3000;
    flex-wrap: wrap;
    width: 150px;
    justify-content: center;
}

    #numKeybord div {
        padding: 10px 20px;
        cursor: pointer;
    }







.password-panel {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
    .password-panel h1 {
        text-align: center;
        margin-bottom: 40px;
    }




.pin-code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .pin-dot {
        border: 1px solid var(--brand-color);
        border-radius: 20px;
        width: 15px;
        height: 15px;
    }

    .pin-dot.active {
        background: var(--brand-color);
    }

















nav {
    margin-top: 4px;
}

    nav:empty {
        margin-top: 40px;
    }





.divider {
    border-top: 1px solid #5b6474;
    border-bottom: 1px solid transparent;
    background: var(--body-bg-color);
    margin: 15px;
    margin-bottom: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
    color: var(--divider-color);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    position: sticky;
    top: 0;
    z-index: 300;
    transition: all .5s;
}

    /* .divider.absent {
        --divider-color: white;
    } */

    .divider.is-sticky {
        border-top-color: transparent;
        border-bottom-color: #5b6474;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .divider svg {
        fill: var(--divider-color);
        margin-bottom: -3px;
    }

    .divider + .tile {
        margin-top: 0px;
    }

    .divider .model-summary {
        margin-left: auto;
    }




.tile div:has(.location) {
    width: 80%;
}


.location {
    border: 1px solid var(--location-small-border-color);
    border-radius: 50px;
    background: var(--location-small-bg-color);
    padding: 5px;
    width: 70px;
    color: white;
    text-align: center;
}

.pallet {
    border: 1px solid white;
    border-radius: 50px;
    background: none;
    padding: 5px;
    width: 70px;
    color: white;
    text-align: center;
}

    .pallet-medium {
        border: 1px solid white;
        background: none;
        border-radius: 50px;
        /* color: orange; */
        /* margin-top: 0px; */
        margin-left: 5px;
        padding: 5px 7px 5px 5px;
        font-size: 12px;
    }

        .pallet-medium svg {
            /* fill: orange; */
            fill: white;
            width: 12px;
            height: 12px;
            margin-bottom: -2px !important;
        }


label {
    /* font-size: 9px; */
}



.form {
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    flex-wrap: wrap;
    row-gap: 10px;
}

    .form input {
        border: 1px solid white;
        border-radius: 50px;
        background: none;
        color: white;
        max-width: 100px;
        padding: 5px 10px 5px 30px;
    }





/* TO REMOVE? */
.buttons {
    margin: 15px;
    display: flex;
    column-gap: 10px;
}







.overlay-spinner {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #212429EE;
    text-align: right;
    display: none;
    z-index: 2000;
}

.overlay-spinner div {
    height: 50px;
    width: 50px;
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.loader {
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
    display: block;
  }

  .loader:before,
  .loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
  }
  .loader:before {
    animation: ball1 1s infinite;
    background-color: #fff;
    box-shadow: 30px 0 0 orange;
    margin-bottom: 10px;
  }
  .loader:after {
    animation: ball2 1s infinite;
    background-color: orange;
    box-shadow: 30px 0 0 #fff;
  }

  @keyframes rotate {
    0% { transform: rotate(0deg) scale(0.8) }
    50% { transform: rotate(360deg) scale(1.2) }
    100% { transform: rotate(720deg) scale(0.8) }
  }

  @keyframes ball1 {
    0% {
      box-shadow: 30px 0 0 orange;
    }
    50% {
      box-shadow: 0 0 0 orange;
      margin-bottom: 0;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 orange;
      margin-bottom: 10px;
    }
  }

  @keyframes ball2 {
    0% {
      box-shadow: 30px 0 0 #fff;
    }
    50% {
      box-shadow: 0 0 0 #fff;
      margin-top: -20px;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #fff;
      margin-top: 0;
    }
  }
  

.sync-spinner {
        width: 100%;
        height: 2px;
        display: none;
        position: fixed;
        overflow: hidden;
        top: 1px;
        z-index: 1800;
    }
    .sync-spinner::after {
        content: '';
        width: 96px;
        height: 2px;
        background: var(--sync-spinner-bg-color);
        border-radius: 10px;
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        animation: hitZak .6s ease-in-out infinite alternate;
    }

    @keyframes hitZak {
        0% {
            left: 0;
            transform: translateX(-1%);
        }
        100% {
            left: 100%;
            transform: translateX(-99%);
        }
    }
      




.bounce-animation {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}
    .bounce-animation div {
        animation: bounce2 2s ease infinite;
        line-height: 22px;
    }
@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}



.action-page .divider {
    border-top: none;
}

.action-page h1 {
    text-align: center;
}

.history {

}

    .history .tile {
        flex-direction: column;
        align-items: baseline;
    }

        .history .author {
            display: flex;
        }

        .history .timedate {
            font-size: 10px;
            margin-left: 10px;
        }

        .history .arrow-icon-right {
            margin-top: 15px;
            margin-bottom: -45px;
        }

.dot {
    font-size: 15px;
}

    .dot.wrong {
        color: orange;
    }

    .dot.green {
        color: var(--location-small-border-color);
        /* border: 1px solid var(--location-small-border-color); */
        /* background: var(--location-small-bg-color); */
    }



.cube {
    border: 1px solid gray;
    border-bottom: none;
    min-height: 10px;
    min-width: 20px;
}
    .cube:first-child {
        border-top-width: 2px;
    }
    .cube.full-rack {
        border-bottom: 1px solid gray;
    }
    .cube:last-child {
        border-bottom: 2px solid gray;
    }

.path {
    min-width: 15px;
}

#debug {
    width: 300px;
    height: 300px;
    position: fixed;
    margin-top: 60px;
    overflow:scroll;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
}

.slider {
    -webkit-appearance: none;
    width: 300px;
    height: 25px;
    background: #333841;
    border-radius: 50px;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%; 
        background: var(--brand-color);
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: var(--brand-color);
        cursor: pointer;
    }

    .slider:hover {
        opacity: 1;
    }


.allocation-range {
    display: flex;
}

    .allocation-range input {
        border: none;
        background:
            linear-gradient(gray, gray) 0 100% / 100% 1px no-repeat, /* dół */
            linear-gradient(gray, gray) 0 100%   / 1px 20% no-repeat, /* lewa 1/2 */
            linear-gradient(gray, gray) 100% 100% / 1px 20% no-repeat; /* prawa 1/2 */
        width: 20px;
        margin: 0px 2px 0px 2px;
        padding-bottom: 5px;
        color: #fff;
        text-align: center;
        font-size: 15px;
    }

    .allocation-range .row input,
    .allocation-range .column input {
        width: 35px;
    }

.allocation-divider {
    width: 50px;
    text-align: center;
}