@import url('https://fonts.googleapis.com/css?family=Poppins:400,700,900');

@font-face {
    font-family: SegoeUI;
    src: local("Segoe UI"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
    font-weight: 400;
}
.footer {    
    text-align: center;
    padding: 3px;
    color: #ffffff;
    height:30px;
}
.footer > span{
    
}
.mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
    border-width: 2px !important;
    border-color: var(--color-primary) !important;
    border-bottom-width: 3.5px !important;
    border-bottom-color: var(--color-primary) !important;
}
.footer-2dsoft {
    margin-top: 2px;
    margin-right: 5px;
    height: 80%;
    float: right;
}

.toolbar-info {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
}

    .toolbar-info::-webkit-scrollbar {
        display: none;
    }

/* Hide scrollbar for IE, Edge and Firefox */
.toolbar-info {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.company-toolbar {
    border-right: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    padding-right: 30px;
    padding-left: 30px;
    height: 30px;
    padding-top: 5px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
}


.user-toolbar {
    height: 30px;
    padding-right: 10px;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.toolbar-ico-user {
    height: 50px;
    width: 50px;
    background-color: white !important;
    -webkit-mask: url("../images/toolbar_ico_user.svg") no-repeat center;
    mask: url("../images/toolbar_ico_user.svg") no-repeat center;
}

.settings-editor-view {
    width: 58vw;
   /* height: 68vh;*/
    background-image: url("../images/settings_bg.svg");
    background-position: right bottom; /*Positioning*/
    background-repeat: no-repeat; /*Prevent showing multiple background images*/
}

.list-ico-back {
    background-color: var(--color-primary) !important;
    -webkit-mask: url("../images/ico_back.svg") no-repeat center;
    mask: url("../images/ico_back.svg") no-repeat center;
}

/*Icons for MAIN Navigation*/
.menu-ico-general {
    background-color: #424242 !important;
    -webkit-mask: url("../images/menu_ico_general.svg") no-repeat center;
    mask: url("../images/menu_ico_general.svg") no-repeat center;
}

.menu-ico-sales {
    background-color: #424242 !important;
    -webkit-mask: url("../images/menu_ico_sales.svg") no-repeat center;
    mask: url("../images/menu_ico_sales.svg") no-repeat center;
}

.menu-ico-warehouse {
    background-color: #424242 !important;
    -webkit-mask: url("../images/menu_ico_warehouse.svg") no-repeat center;
    mask: url("../images/menu_ico_warehouse.svg") no-repeat center;
}

.menu-ico-profiles {
    background-color: #424242 !important;
    -webkit-mask: url("../images/menu_ico_profiles.svg") no-repeat center;
    mask: url("../images/menu_ico_profiles.svg") no-repeat center;
}


/*DASHBOARD*/
.dashboard{
    height:80vh;
    display:flex;    
    flex-direction:column;
}

.dashboard-actions {
    display:flex;
    justify-content:flex-end;
    margin:10px;
}

.dashboard-row{
    height:33%;
    display:flex;
    flex-direction:row-reverse;
}
.dashboard-row-actions {
    display: flex;
    justify-content: flex-end;
}
.dashboard-row-content {
    display: flex;
    width: 100%;
    gap: 10px;
    padding: 10px;
    height: 100%;
}
.dashboard-element {
    padding:10px;
    background-color: white;
    border-radius: 5px;
    filter: drop-shadow(0 0 0.15rem gray);
    height:100%;

}
.dashboard-element-actions {
    display: flex;
    justify-content: flex-end;
    height:10%;
}
.dashboard-element-control{
    display:flex;
    justify-items:center;
    align-items:center;
    height:90%;
}
.dashnoard-element > .setup {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.dashboard-sidepanel {
    width: 0;
    position: fixed;
    z-index: 9999;
    height: 100vh;
    top: 0;
    left: 0;
    background-color:white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
    filter: drop-shadow(0 0 0.15rem gray);
}
.dashboard-sidepanel-controls {
    display: flex;
    flex-direction: column;
    justify-items: center;
    gap: 10px;
    width: 100%;
}

.dashboard-sidepanel-control {
    align-self:center;
    width: 200px;
    height: 200px;
    background-color:white;
    filter: drop-shadow(0 0 0.15rem gray);
}

/*TERMINAL*/
.terminal-qr-code{
    padding:20px;
    margin-bottom:10px;
}

.terminal-activation-code{
    display:flex;
    flex-direction:column;
    width:100%;
    justify-content:flex-end;
    padding:10px;
}
/*RECEIPT INFO*/

.receipt-header{
    display:flex;
    height:200px;
    gap:20px;
    margin-bottom:20px;
}

.receipt-summary {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 10px;
    width: 20%;
    padding: 20px;
    color: white;
}

.receipt-number{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.receipt-amount {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 45px;
    font-weight: 700;
}

.receipt-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 10px;
    width: 50%;
    padding: 20px;
    color: white;
}

.receipt-info-element {
    height: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.receipt-payments {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 10px;
    width: 30%;
    padding: 20px;
    color: white;
}
.receipt-payment {
    height: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid white;
    margin-top:5px;
}
    .receipt-payment > span {
        font-weight: 600;
    }

.receipt-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 110px;
    background-color: var(--color-primary);
    border-radius: 10px;
    width:100%;
    padding: 20px;
    color: white;
}
.receipt-footer-element {
    height: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
}
.receipt-footer-element > span{
    font-weight:600;
}

/*Terminal status*/

.terminal-status-container{
    display:flex;
    flex-direction:column;
    gap:10px;
    overflow-y:scroll;
}

.terminal-status-item {
    height: 150px;
    border-radius: 10px;
    border: 1px solid #bdc3c7;
    display: flex;
    padding: 10px 20px 10px 20px;
    gap:40px;
}
.terminal-status-item-summary {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    width: 100px;
}
.terminal-status-item-summary > img{
    max-height:80%;
}
    .terminal-status-item-summary > span {
        font-size:17px;
        font-weight:700;
    }
.terminal-status-item-details{
    height:100%;
    width:50%;
}

    .terminal-status-item-details > .last-active {
        height: 30px;
        width:130px;
        background-color: #27ae60;
        color: white;
        padding: 5px;
        border-radius: 5px;
        border-color: 1px solid #bdc3c7;
    }

    .terminal-status-item-details > .field {
        height: 30px;
        width:fit-content;
        background-color: var(--color-primary);
        color: white;
        padding: 5px;
        border-radius: 5px;
        border-color: 1px solid #bdc3c7;
    }
.terminal-events {
    width: 30%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #bdc3c7;
    padding:10px;
    justify-content:end;
}

    .terminal-events > .field {
        height: 30px;
        width: fit-content;
        background-color: var(--color-primary);
        color: white;
        padding: 5px;
        border-radius: 5px;
        border-color: 1px solid #bdc3c7;
    }
    .terminal-events > .event-info {
        margin-top: 10px;
        height: 50px;
        width: 100px;
        color: white;
        padding: 5px;
        border-radius: 5px;
        border-color: 1px solid #bdc3c7;
        font-size:25px;
        text-align:center;
    }

.ok {
    background-color: #27ae60;
}

.nok {
    background-color: #c0392b;
    font-size: 10px !important;
}

.event-json {
    height: 100%;
    width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    resize: none;
    padding:10px;
    border: 1px solid var(--color-primary);
    border-radius:5px;
    height:55vh
}

.list-item-container {
    display: flex;
    flex-direction: column;
}

.mud-list {
    overflow-y: scroll;
}

.pill {
    display: inline-block;
    padding: 5px 5px;
    border-radius: 3px; /* Makes it pill-shaped */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-size:0.7rem;
    min-width:120px;
}

.success {
    background-color: #28a745; /* Green for success */
    color: white;
}

.danger {
    background-color: #dc3545; /* Red for danger */
    color: white;
}
.warning {
    background-color: #ffc107; /* Yellow for warning */
    color: black;
}

@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }

    to {
        background-position: 0 0;
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }

    to {
        background-position: 0 0;
    }
}

.progress {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.progress-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #2c3e50;
    -webkit-transition: width 0.6s ease;
    -o-transition: width 0.6s ease;
    transition: width 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
    .progress-bar {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

.progress-bar-striped {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

.progress-bar-animated {
    -webkit-animation: progress-bar-stripes 1s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .progress-bar-animated {
        -webkit-animation: none;
        animation: none;
    }
}

/*ITEM CONFIGURATION*/
.item-conf-xsmall {
    width: 20% !important;
    height: 50vh !important;
}

    .item-conf-xsmall > .items {
        height: 65% !important;
    }

.item-conf-small {
    width: 30% !important;
    height: 50vh !important;
}

    .item-conf-small > .items {
        height: 65% !important;
    }

.item-conf-medium {
    width: 50% !important;
}

.item-conf-large {
    width: 80% !important;
}

.item-conf-xlarge {
    width: 100% !important;
}

.item-conf-left {
    background-color: var(--item-configuration-background-color);
    height: 89.5vh;
    padding: 10px 10px 10px 10px;
    position: relative;
    margin-top: 8px;
    margin-bottom: 5px;
    -webkit-box-shadow: 0px 0px 15px -6px rgba(0,0,0,0.67);
    box-shadow: 0px 0px 15px -6px rgba(0,0,0,0.67);
}

    .item-conf-left > .header {
        background-color: transparent;
        border-bottom: 1px solid;
    }

    .item-conf-left > .items {
        width: 100%;
        height: 68%;
        background-color: white;
        position: absolute;
        overflow-y: scroll;
        overflow-x: hidden;
    }

        .item-conf-left > .items::-webkit-scrollbar {
            border: 1px solid white;
            width: 12px;
        }

        .item-conf-left > .items::-webkit-scrollbar-track {
            background: #ecf0f1;
        }

        .item-conf-left > .items::-webkit-scrollbar-thumb {
            background-color: #bdc3c7; /* color of the scroll thumb */
            border-radius: 20px; /* roundness of the scroll thumb */
            height: 50px;
            border: 1px solid #ecf0f1; /* creates padding around scroll thumb */
        }

    .item-conf-left > .footer {
        width: 100%;
        display: flex;
        align-content: center;
        justify-content: center;
        background-color: transparent !important;
        position: absolute;
        bottom: 0;
        left: 0;
    }

.item-conf-right {
    background-color: var(--item-configuration-background-color);
    height: 89.5vh;
    padding: 10px 10px 10px 10px;
    position: relative;
    margin-top: 8px;
    margin-bottom: 5px;
    -webkit-box-shadow: 0px 0px 15px -6px rgba(0,0,0,0.67);
    box-shadow: 0px 0px 15px -6px rgba(0,0,0,0.67);
}

    .item-conf-right > .header {
        display: inline-flex;
        width: 100%;
        background-color: transparent;
        border-bottom: 1px solid;
    }

        .item-conf-right > .header > .collapsible {
            opacity: 1;
            transition: opacity linear 1s, width linear 1s;
        }

.collapsed {
    transform: scaleY(0);
    -webkit-transition: all 100ms linear;
    transform-origin: top;
    max-height: 0;
}

.item-conf-right > .header > .groups {
    display: inline-flex;
    width: 20%;
    border-right: 1px solid #7f8c8d;
    gap: 10px;
}

    .item-conf-right > .header > .groups > .groups-content {
        padding-top: 0px !important;
        display: inline-flex;
    }

.item-conf-right > .header > .subgroups {
    display: inline-flex;
    width: 30%;
    border-right: 1px solid #7f8c8d;
    gap: 10px;
}

    .item-conf-right > .header > .subgroups > .content {
        padding-top: 0px !important;
        display: inline-flex;
        gap: 5px;
        padding-right: 7px;
    }

.item-conf-right > .header > .items {
    display: inline-flex;
    width: 30%;
    border-right: 1px solid #7f8c8d;
}

    .item-conf-right > .header > .items > .content {
        padding-top: 0px !important;
        display: inline-flex;
        gap: 10px;
        padding-right: 7px;
    }

.item-conf-right > .header > .actions {
    align-items: center;
    padding-right: 5px;
    display: inline-flex;
    justify-content: space-around;
    width: 20%;
    gap: 10px;
}

.title {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    font-family: "Segoe UI" !important;
    font-size: 10px !important;
    font-weight: 200 !important;
}

.header-btn-collapse {
    background-color: #fafafa;
    border: none;
    color: rgb(0, 0, 0);
    padding: 0px 10px 0px 10px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    margin: 4px 2px;
    opacity: 0.6;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

    .header-btn-collapse:hover {
        background-color: #ecf0f1;
    }

.btn-item-config-general {
    align-items: center;
    appearance: none;
    background-color: #FCFCFD;
    border-radius: 4px;
    border-width: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
    box-sizing: border-box;
    color: #36395A;
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono",monospace;
    height: 48px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 18px;
}

    .btn-item-config-general:focus {
        box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    }

    .btn-item-config-general:hover {
        box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
        transform: translateY(-2px);
    }

    .btn-item-config-general:active {
        box-shadow: #D6D6E7 0 3px 7px inset;
        transform: translateY(2px);
    }
/*ITEM CONFIGURATION - ITEM LIST*/
.item-conf-left > .items {
    padding-top: 10px;
    background-color: inherit;
    width: 90%;
    position: absolute;
}

.selected {
    padding-left: 2px;
    border-left: 2px solid var(--color-primary) !important;
    background: #e8e8e8 !important;
}

.selectedButton {
    background-color: #d35400 !important;
    color: white;
}

.selected-button-subgroup {
    border: 2px dashed red;

}

.drag {
    outline: none;
    width: 100%;
    text-align: left;
    font-family: "Segoe UI" !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: 300 !important;
    margin-bottom: 0px !important;
}

.selectedItem {
    background-color: var(--color-primary);
}
/*END ITEM CONFIGURATION - ITEM LIST*/

/*ITEM CONFIGURATION - ITEM SCHEME*/
.item-conf-right > .configuration {
    background-color: #09233A;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

    .item-conf-right > .configuration > .groups {
        width: 100%;
    }

        .item-conf-right > .configuration > .groups > .groups-content {
            padding-top: 0.5rem;
            padding-bottom: 1px;
            width: 100%;
            display: inline-flex;
            gap: 2px;
        }

    .item-conf-right > .configuration > .subgroups {
        display: flex;
        width: 100%;
        height: 5%;
        padding: 5px;
        flex-grow: 1;
        align-self: stretch;
        flex-direction: row;
    }

    .item-conf-right > .configuration > .items {
        padding: 0px 6px 6px 6px;
        display: flex;
        width: 100%;
        height: 68.5%;
        flex-grow: 1;
        align-self: stretch;
        flex-direction: row;
    }

.item-conf-dialog-icon-container {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #09233A;
    padding: 5px;
    align-items: center;
}

    .item-conf-dialog-icon-container > .item-conf-button-subgroup-item {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 15em;
        max-width: fit-content;
        height: fit-content;
    }

.item-conf-image-manipulator {
    height: 200px;
}

    .item-conf-image-manipulator > .container {
        background-color: #bdc3c7;
        height: 80%;
    }
/*END ITEM CONFIGURATION*/
/*RP BUTTONS GENERAL*/
.item-conf-button-image {
    width: 100%;
    height: 100%;
    align-self: stretch;
    display: flex;
}

.item-conf-button-text {
    margin: 0;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    align-self: stretch;
    display: flex;
    color: black;
    font-family: 'Segoe UI', RobotoCondensed,'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    line-height:1;
    padding: 5px 10px;
}

.item-conf-button {
    padding: 2px 2px 2px 2px;
    overflow: hidden;
}

.item-conf-button-relative {
    display: flex;
}

.item-conf-button-overlay {
    position: relative;
}

.item-conf-button-vertical {
    flex-direction: column;
}

.item-conf-button-horizontal {
    flex-direction: row;
}


.item-conf-button-groups {
    height: 40px;
    width: 130px;
    border-radius: 5px;
    padding: 0px 0px 0px 0px;
    margin-left: 5px;
}

.draggable {
    display: flex;
    justify-content: center;
    align-items: center;
    border-width: 1px;
    border-style: solid;
    border-color: #d35400;
    cursor: grab
}
.draggable-group {
    display: flex;
    justify-content: center;
    align-items: center;
    border-width: 1px;
    border-style: solid;
    cursor: grab
}

    .draggable:active {
        cursor: grabbing
    }

.can-drop {
    border: dashed;
    border-color: red;
}

.item-conf-button-flex-column {
    display: flex;
    flex-direction: column;
}

.item-conf-button-flex-row {
    display: flex;
    flex-direction: column;
}
/*RP BUTTONS GENERAL END*/

/*RpItemConfigGroupButton*/
.rp-config-group-btn-fill {
    background-color: white;
}

.rp-config-group-btn-empty {
    background-color: #f39c12;
}
/*END RpItemConfigGroupButton*/

/*RpItemConfigSubGroupButton*/
.item-conf-button-subgroups {
    margin: 2px;
    height: auto;
    width: auto;
    border-radius: 0px;
}

.rp-config-subgroup-btn-fill {
    background-color: #5f7787;
}

.rp-config-subgroup-btn-empty {
    background-color: #e6fbff !important;
}

.draggable-subgroups {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab
}
/*END RpItemConfigSubGroupButton*/

/*RpItemConfigSubGroupItemButton*/
.item-conf-button-subgroup-item {
    margin: 2px;
    height: auto;
    width: auto;
    border-radius: 0px;
}

.rp-config-subgroup-item-btn-fill {
    background-color: grey;
}

.rp-config-subgroup-item-empty {
    background-color: white !important;
}

.draggable-subgroups {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab
}
/*END RpItemConfigSubGroupItemButton*/
