﻿:root {
    --sidebar-width: 270px;
}
*::-webkit-scrollbar-thumb {
    background-color: yellow;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 14px;
}

.sku-container {
    cursor: pointer;
    background: var(--normal-text);
    border-radius: 8px;
    color: var(--negative-text);
    padding: 5px 10px;
}

.clickable-span {
    display: flex;
    gap: 5px;
    align-items: center;
}

.clickable-span span {
    color: var(--hypertext);
    cursor: pointer;
}

.clickable-span span:hover {
    text-decoration: underline;
}

.clickable-span svg {
    width: 16px;
    fill: var(--normal-text);
    cursor: pointer;
}

.warning-button {
    height: 30px;
    border-radius: 8px;
    border: none;
    background: var(--error);
    color: var(--negative-text);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
    transition: scale 0.1s, background 0.1s, color 0.1s;
    padding: 0 10px;
    min-width: 100px;
}

    .warning-button:disabled {
        opacity: 50%;
        cursor: default;
    }

        .warning-button:disabled:hover {
            scale: 1;
        }

    .warning-button:hover {
        scale: 1.01;
    }

    .warning-button svg {
        width: 16px;
        fill: var(--negative-text);
    }

.primary-button {
    height: 30px;
    border-radius: 50px;
    border: none;
    background: var(--primary-color);
    color: var(--negative-text);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
    transition: scale 0.1s, background 0.1s, color 0.1s;
    padding: 0 10px;
    min-width: 100px;
}

    .primary-button:disabled {
        opacity: 50%;
        cursor: default;
    }
    .primary-button:disabled:disabled {
        scale: 1;
    }

    .primary-button:hover {
        scale: 1.01;
    }

    .primary-button:hover svg {

    }

    .primary-button svg {
        width: 16px;
        fill: var(--negative-text);
    }

.secondary-button {
    border: 2px solid var(--negative-text);
    border-radius: 8px;
    padding: 5px 10px;
    background: #ffffff00;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    color: var(--negative-text);
    transition: scale 0.1s, background 0.1s, color 0.1s;
    user-select: none;
    min-width: 100px;
}

    .secondary-button:disabled {
        cursor: default;
        opacity: 50%;
        scale: 1;
    }

    .secondary-button:hover {
        background: var(--negative-text);
        color: var(--normal-text);
    }

        .secondary-button:hover svg {
            fill: var(--normal-text);
        }

    .secondary-button svg {
        fill: var(--negative-text);
        height: 16px;
        transition: fill 0.1s;
    }


.secondary-button-contrast {
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 5px 10px;
    height: 30px;
    background: #ffffff00;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    color: var(--primary-color);
    transition: scale 0.1s, background 0.1s, color 0.1s;
    user-select: none;
    min-width: 100px;
}

    .secondary-button-contrast:disabled {
        cursor: default;
        scale: 1;
        opacity: 50%;
    }

.active-button:enabled {
    background: var(--primary-color);
    color: var(--negative-text);
}

    .active-button:enabled svg {
        fill: var(--negative-text);
    }

    .secondary-button-contrast:hover:enabled {
        background: var(--primary-color);
        color: var(--negative-text);
    }

        .secondary-button-contrast:hover:enabled svg {
            fill: var(--negative-text);
        }


    .secondary-button-contrast svg {
        fill: var(--primary-color);
        height: 16px;
        transition: fill 0.1s;
    }

    .secondary-button-contrast img {
        width: 23px;
    }



.card {
    padding: 20px;
    background: var(--normal-background);
    border-radius: 10px;
}

.custom-input {
    width: 100%;
    height: 40px;
    border: 2px solid var(--line-opacity);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    transition: border 0.1s;
    position: relative;
}

    .custom-input:focus-within {
        border: 2px solid var(--primary-color);
    }

    .custom-input .input {
        width: calc(100% - 45px - 45px);
        border: none;
        outline: none;
        height: 100%;
        background: none;
    }

    .custom-input label {
        width: 0px;
        color: var(--normal-text-opacity);
        position: absolute;
        left: 45px;
        top: 10px;
        transition: all 0.2s ease-in-out; 
    }

.icon-container-1 {
    width: 45px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

    .icon-container-1 svg {
        fill: var(--normal-text-opacity);
        width: 16px;
        user-select: none;
    }

.icon-container-2 {
    width: 45px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

    .icon-container-2 svg {
        fill: var(--normal-text-opacity);
        width: 16px;
        user-select: none;
    }

.main-nav {
    background: var(--primary-color);
    height: 45px;
    max-height: 45px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 1px 4px 7px 0px rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 1px 4px 7px 0px rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 1px 4px 7px 0px rgba(0,0,0,0.19);
    position: relative;
}
#logo-hiperlink {
    cursor: pointer;
    user-select: none;
    height: 45px;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

    #logo-hiperlink img {
        height: 100%;
        scale: 1.5;
    }

.sidebar-collapse {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.sidebar-collapse svg {
    width: 18px;
    fill: var(--negative-text);
}

.sidebar-collapse-inner {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    padding: 5px;
    transition: background 0.1s;
}

    .sidebar-collapse-inner:hover {
        background: var(--glassy-transparent);
    }

.profile-options-container {
    overflow: hidden;
    width: 90px;
    height: 80%;
    border-radius: 31px;
    border: 2px solid #ffffff47;
    background: var(--glassy-transparent);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding-right: 9px;
    padding-left: 2px;
    transition: background 0.2s, scale 0.2s, transform 0.2s, border-bottom-right-radius 0.1s;
    cursor: pointer;
    border-bottom-right-radius: 31px;
}

    .profile-options-container:hover {
        background: var(--glassy-transparent-hover);
        scale: 1.03;
    }

    .profile-options-container .profile-picture {
        width: 26px;
        height: 26px;
        overflow: hidden;
        border-radius: 50%;
    }

        .profile-options-container .profile-picture img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


    .profile-options-container .user-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--negative-text);
        user-select: none;
    }

        .profile-options-container .user-info .name {
            font-weight: 700;
            font-size: 12px;
        }

        .profile-options-container .user-info .username {
            font-size: 11px;
        }

.profile-context-menu {
    position: absolute;
    right: 20px;
    top: 39px;
    border: 2px solid var(--line-opacity);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    background: var(--normal-background);
    border-radius: 8px;
    width: 120px;
    border-top-right-radius: 2px;
    overflow: hidden;
    transform-origin: top right;
    transition: all 0.1s;
    transform: scale(0);
    z-index: 11;
}

.context-menu-option {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 5px;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.context-menu-option:hover {
    background: var(--normal-background-hover);
}

    .context-menu-option .icon {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .context-menu-option .icon svg {
            width: 16px;
            fill: var(--normal-text);
        }

    .context-menu-option span {
        color: var(--normal-text);
    }

.exit .icon svg{
    fill: var(--error);
}
.exit span{
    color: var(--error);
}

.border-bottom {
    border-bottom: 1px solid var(--line-opacity);
}

.styled-card {
    min-width: 100px;
    min-height: 100px;
    max-height: 80%;
    height: fit-content;
    border-radius: 8px;
    background: var(--normal-background);
    box-shadow: -1px 1px 13px 2px rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: -1px 1px 13px 2px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: -1px 1px 13px 2px rgba(0,0,0,0.16);
    overflow: hidden;
}

.styled-card-header {
    min-height: 30px;
    width: 100%;
    background: var(--secondary-color);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.styled-card-body {
}

.red-tag {
    padding: 5px 10px;
    background: var(--error);
    border-radius: 8px;
    color: var(--negative-text) !important;
}

.bold {
    font-weight: bold;
}

.input-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 170px;
}

    .input-container label {
        margin-left: 3px;
        color: var(--normal-text);
        width: max-content;
    }

.input-container small {
    margin-left: 3px;
    color: var(--error);
    font-size: 12px;
}

select {
    border: 2px solid var(--line-opacity);
    border-radius: 8px;
    padding: 4px;
    outline: none;
    height: 30px;
    color: var(--normal-text);
    fill: var(--normal-text);
}

    select:focus-visible {
        border: 2px solid var(--primary-color);
    }

    select:focus {
        border: 2px solid var(--primary-color);
    }

input[type="date"] {
    height: 30px;
    fill: var(--normal-text);
}

textarea {
    border: 2px solid var(--line-opacity);
    border-radius: 8px;
    color: var(--normal-text);
    fill: var(--normal-text);
    outline: none;
    padding: 8px;
}
    textarea:focus-visible {
        border: 2px solid var(--primary-color);
    }

    textarea:focus {
        border: 2px solid var(--primary-color);
    }

input {
    height: 30px;
    border: 2px solid var(--line-opacity);
    border-radius: 8px;
    padding: 8px;
    outline: none;
    color: var(--normal-text);
    fill: var(--normal-text);
}

input:focus-visible {
    border: 2px solid var(--primary-color);
}

    input:focus {
        border: 2px solid var(--primary-color);
    }

.error-input {
    border: 2px solid var(--error);
}



.input-horizontal-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
}

.alert-info {
    width: 100%;
    min-height: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 8px;
    background: var(--info-background);
    padding: 14px;
    align-items: center;
    gap: 5px;
}

.alert-info svg {
    width: 16px;
    fill: var(--info-text);
}

.alert-info span {
    color: var(--info-text);
}

.alert-warning {
    width: 100%;
    min-height: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 8px;
    background: var(--warning-background);
    padding: 14px;
    align-items: center;
    gap: 5px;
}

    .alert-warning svg {
        width: 16px;
        fill: var(--warning-text);
    }

    .alert-warning span {
        color: var(--warning-text);
    }

.admin-side-nav {
    height: calc(100dvh - 45px);
    width: 260px;
    background: var(--line-opacity);
}

.admin-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    .admin-content .content {
        width: calc(100% - 260px);
        overflow: hidden;
        height: calc(100dvh - 45px);
    }

.admin-side-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0px 20px 0;
    gap: 10px;
    user-select: none;
    box-shadow: 4px 1px 9px 0px rgba(0, 0, 0, 0.09);
    -webkit-box-shadow: 4px 1px 9px 0px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 4px 1px 9px 0px rgba(0,0,0,0.09);
    overflow: auto;
}

    .admin-side-nav .title {
        color: var(--normal-background);
        padding: 10px 10px 10px 25px;
        background: var(--primary-color);
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        font-weight: bold;
        margin-right: 20px;
    }

    .admin-side-nav .option {
        padding: 10px;
        background: var(--negative-text);
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        color: var(--normal-text);
        cursor: pointer;
        margin-right: 20px;
        text-decoration: none;
        transition: margin-right 0.1s ease-in-out, padding-left 0.1s ease-in-out, background 0.1s;
    }

        .admin-side-nav .option:hover {
            margin-right: 10px;
            padding-left: 25px;
            background: var(--normal-background);
        }

    .admin-side-nav .selected-option {
        background: var(--normal-text) !important;
        color: var(--negative-text) !important;
    }

.main-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.content-container {

}

hr {
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid var(--line-opacity);
}

h2 {
    font-weight: 100;
    font-size: 18px;
    color: var(--normal-text);
}

h3 {
    color: var(--normal-text);
}

.content-inner {
    padding: 20px;
    width: 100%;
    height: 100%;
    overflow: auto;
}


.side-modal-container {
    position: fixed;
    width: 600px;
    height: calc(100dvh - 45px);
    top: 45px;
    right: 0px;
    background: var(--normal-background);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    transform: translateX(600px);
}

.side-modal-body {
    height: calc(100% - 75px);
    width: 100%;
    overflow: auto;
    padding: 20px;
}

.side-modal-footer {
    height: 75px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.side-modal-background {
    background: #00000047;
    width: 100dvw;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
}


.width-50 {
    width: 50%;
}

.width-33 {
    width: 33%;
}

.subtitle {
    color: var(--normal-text);
    font-weight: 700;
    padding: 7px 5px;
    background: var(--negative-text);
}

.flex-down {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.dual-input {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
}


table input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.help {
    font-size: 12px;
    color: var(--normal-text-opacity);
    margin-left: 3px;
}

.label-span {
    margin-left: 3px;
}

.radio-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px;
}
.radio-container label {

}
.radio-container input {

}

.checkbox-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 3px;
    overflow: auto;
    align-content: flex-start;
}

.checkbox-container label {
    padding-left: 8px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}




.modal-holder {
    width: 100dvw;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}



.modal-background {
    background: #00000047;
    width: 100dvw;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.modal-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.modal-container {
    background: var(--normal-background);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    transition: all 0.15s;
}

.inner-body-modal {
    padding: 20px;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skeleton {
    display: contents;
    /* Define the colors as css custom props */
    --_default-color: #e8e8e8;
    --_shimmer-color: #fff;
}
.skeleton .sk-inner {
    animation: skeleton-shimmer 1s ease-out infinite;
    background: linear-gradient( 100deg, var(--_default-color), var(--_default-color) 50%, var(--_shimmer-color) 60%, var(--_default-color) 70% );
    background-size: 200% 100%;
    border-radius: 8px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid;
    border-color: var(--primary-color) transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} 

@keyframes skeleton-shimmer {
    0% {
        background-position-x: 200%;
    }

    100% {
        background-position-x: 0%;
    }
}

.modal-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 10px;
    user-select: none;
    border-bottom: 1px solid var(--line-opacity);
    height: 45px;
}

.modal-header span {
    
}

.close-modal {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.1s;
    scale: 1.3;
}

    .close-modal:hover {
        background: var(--negative-text);
    }

    .close-modal svg {
        width: 16px;
        height: 16px;
        fill: var(--normal-text);
    }

.modal-body {
    height: calc(100% - 45px - 50px);
    overflow: hidden;
    width: 100%;
}

.modal-footer {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--line-opacity);
    gap: 15px;
}

.flex-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.default-table-parent {
    height: 100%;
    overflow: auto;
}

.default-table-container {
    border: 1px solid var(--line-opacity);
    border-radius: 8px;
    margin: 20px;
    overflow: hidden;
}

.default-table {
    border-collapse: collapse;
    width: 100%;
}

.default-table thead {

}

.default-table thead tr {

}

    .default-table thead tr th {
        border-bottom: 1px solid var(--line-opacity);
        padding: 5px 5px;
        background: #f7f7f7;
    }
        .default-table thead tr th:not(:last-child) {
            border-right: 1px solid var(--line-opacity);
        }

.default-table tbody {

}

    .default-table tbody tr:not(:last-child) {
        border-bottom: 1px solid var(--line-opacity);
    }

    .default-table tbody tr td {
        padding: 5px 10px !important;
    }

    .default-table tbody tr td:not(:last-child) {
        border-right: 1px solid var(--line-opacity);
    }

.delete-inner {
    width: 100%;
    background: white;
    border-radius: 8px;
    padding: 10px;
    color: var(--normal-text);
    height: fit-content;
    border: 2px solid var(--normal-text-opacity);
}
.delete-container {
    display: flex;
    gap: 15px;
    overflow: auto;
    height: 100%;
    padding: 10px;
    flex-direction: column;
}

.expandable-nav {
    min-width: var(--sidebar-width);
    height: 100%;
    background: var(--secondary-color);
    overflow: auto;
    overflow-x: hidden; 
}

.expandable-nav-element {
    user-select: none;
    cursor: pointer;
    transition: background 0.15s ease, padding-left 0.1s ease-in-out, padding-right 0.1s ease-in-out;
    position: relative;
    text-decoration: none;
}
    .expandable-nav-element:hover {
        background: var(--glassy-transparent);
        padding-left: 14px;
        padding-right: 6px;
    }

    .expandable-nav-element svg {
        fill: var(--negative-text);
        width: 20px;
        height: 20px;
    }

    .expandable-nav-element span {
        color: var(--negative-text);
        font-size: 16px;
        height: 16px;
    }

.primary-expandable-nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    height: 45px;
    padding: 8px 10px;
    gap: 10px;
}

.arrow {
    position: absolute;
    right: 10px;
    transform: rotate(270deg);
    transition: transform 0.05s ease-in-out;
}   

.container-expandable-nav-menu {

}

.container-expandable-nav-menu-content {
    height: 0;
    overflow: hidden;
    transition: height 0.1s ease-in-out;
}

.container-expandable-nav-menu-content .primary-expandable-nav-menu {
    padding-left: 30px;
}

.container-expandable-nav-menu-content .primary-expandable-nav-menu:hover {
    padding-left: 34px;
    padding-right: 6px;
}

.content {
    height: calc(100dvh - 45px);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: nowrap;
}

.rendered-body {
    height: 100%;
    /*width: calc(100% - var(--sidebar-width));*/
    overflow: auto;
    width: stretch;
}

.marketplace-card {
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s ease-in-out;
    width: calc(20% - 60px);
    min-width: 260px;
}

.marketplace-card span {
    color: var(--negative-text);
}

    .marketplace-card:hover {
        transform: scale(1.05);
    }

.blank-card {
    border-radius: 8px;
    min-width: 100px;
    min-height: 100px;
    max-height: 80%;
    height: fit-content;
    border-radius: 8px;
    background: var(--normal-background);
    box-shadow: -1px 1px 13px 2px rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: -1px 1px 13px 2px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: -1px 1px 13px 2px rgba(0,0,0,0.16);
    overflow: hidden;
}

.stat-container {
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.canvasjs-chart-credit {
    top: 0 !important;
    bottom: 0 !important;
}

.active-nav {
    border-left: 6px solid var(--solid-glassy-transparent-hover);
}

.main-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: auto;
}
.control-card {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: fit-content;
}

.controls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
}

.controls button,select {
    margin-bottom: 5px;
}

.mini-table {
    border: 1px solid var(--line-opacity);
    border-radius: 8px;
}

.mini-table-title {
    padding: 6px;
    border-bottom: 1px solid var(--line-opacity);
}

    .mini-table-title span {
        font-weight: bold;
    }

.mini-table-body {
    padding: 6px;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.info-mini-table {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.simple-card {
    width: fit-content;
    border: 1px solid var(--line-opacity);
    border-radius: 8px;
    overflow: hidden;
}

.simple-card-header {
    padding: 10px;
    background: var(--negative-text);
    border-bottom: 1px solid var(--line-opacity);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.simple-card-header-inner {
    gap: 10px;
    display: flex;
    flex-direction: row;
}

    .simple-card-header-inner svg {
        width: 16px;
        height: 16px;
    }

.simple-card-body {
    padding: 10px;
}

.simple-card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: var(--negative-text);
    border-top: 1px solid var(--line-opacity);
}

.span-down {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.simple-card-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
}

.expandable-nav-background {
    display: none;
    opacity: 0;
    background: #00000073;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.normal-table-container {
    border: 1px solid var(--line-opacity);
    border-radius: 8px;
    border-radius: 8px;
}

.normal-table {
    width: 100%;
    border-spacing: unset;
}

    .normal-table thead th {
        background: var(--negative-text);
        border-bottom: 1px solid var(--line-opacity);
        padding: 5px;
    }

        .normal-table thead th:first-of-type {
            border-radius: 8px 0px 0px 0px;
        }
        .normal-table thead th:last-of-type {
            border-radius: 0px 8px 0px 0px;
        }

        .normal-table thead th:not(:last-child) {
            border-right: 1px solid var(--line-opacity);
        }


    .normal-table tbody tr {

    }

        .normal-table tbody tr td {
            padding: 5px;
        }

    .normal-table tbody tr:not(:last-child) td {
        border-bottom: 1px solid var(--line-opacity);
    }

        .normal-table tbody tr td:not(:last-child) {
            border-right: 1px solid var(--line-opacity);
        }

.text-align-right {
    text-align: right;
}
.text-align-center {
    text-align: center;
}
.text-align-left {
    text-align: left;
}

.dt-scroll {
    border: 1px solid var(--line-opacity);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 0px 22px -11px rgba(0,0,0,0.19) inset;
    -webkit-box-shadow: 0px 0px 22px -11px rgba(0,0,0,0.19) inset;
    -moz-box-shadow: 0px 0px 22px -11px rgba(0,0,0,0.19) inset;
}
.loading-scan {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    background: #00000047;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-scan-inner {
    background: var(--normal-background);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.loading-scan .loader {
}

.loading-scan span {
}

.success-background {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #32ff304a;
    z-index: 1;
    pointer-events: none;
    animation: appear-background-scan 1.5s ease both;
}

.error-background {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff303085;
    z-index: 1;
    pointer-events: none;
    animation: appear-background-scan 7s ease both;
}


@keyframes appear-background-scan {
    0% {
        opacity: 0;
    }

    1% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 1366px) {
    .modal-container {
        height: 80% !important;
    }
}
@media (max-width: 1024px) {
    .expandable-nav {
        position: absolute;
        z-index: 10;
        height: calc(100% - 70px);
        left: -270px;
    }

    .content {
        height: calc(100dvh - 70px);
    }

    .expandable-nav-background {
    }

    #logo-hiperlink {
        font-size: 20px;
    }

    .main-nav {
        position: static;
        height: 70px;
        max-height: 70px;
    }

    .profile-options-container {
        width: 100px;
        display: flex;
        justify-content: center;
        gap: 10px;
        height: 70%;
    }

    .side-nav-close-animation {
        animation: nav-close-mobile 0.15s ease-in-out 0.05s both, nav-close 0.15s ease-in-out both;
    }

    .side-nav-open-animation {
        animation: nav-open-mobile 0.15s ease-in-out both, nav-open 0.15s ease-in-out both;
    }
    .modal-container {
        max-width: calc(100dvw - 40px);
    }
}

@media (max-width: 768px) {


    button,select {
        min-height: 40px !important;
        height: 40px !important;
    }
    input {
        min-height: 40px !important;
        height: 40px !important;
    }

    .control-card .controls {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

        .control-card .controls button {
            /*flex: 0 0 calc(50% - 7.5px);*/
            width: 100%;
        }

    .modal-container {
        max-width: calc(100dvw - 40px);
        max-height: 90dvh;
        flex-wrap: nowrap;
    }

    .modal-body {
        height: calc(100% - 45px - 60px);
        overflow: auto;
        padding: 15px;
    }

    .modal-footer {
        min-height: 60px;
    }

    .modal-footer button {
        height: 45px;
    }

    .customer-info-container {
        overflow-x: hidden;
    }

    .horizontal-table-container {
        flex-direction: column !important;
    }

    .customer-info-container .vertical-table {
        width: 100% !important;
    }

    .customer-info-container .normal-table-container {
        overflow: auto;
        width: 100%;
        min-height: fit-content;
    }

        .customer-info-container .normal-table-container table {
            width: 700px;
        }

    .vertical-table {
        overflow: auto !important;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }
}







@media (max-height: 640px) {
    .modal-container {
        max-width: calc(100dvw - 40px);
    }
}