@font-face{
    font-family: "poppins-light";
    src: url(../fonts/Poppins-Light.ttf);
    font-display: swap;
}

@font-face{
    font-family: "poppins-regular";
    src: url(../fonts/Poppins-Regular.ttf);
    font-display: swap;
}

@font-face{
    font-family: "poppins-medium";
    src: url(../fonts/Poppins-Medium.ttf);
    font-display: swap;
}

@font-face{
    font-family: "poppins-semibold";
    src: url(../fonts/Poppins-SemiBold.ttf);
    font-display: swap;
}

@font-face{
    font-family: "poppins-bold";
    src: url(../fonts/Poppins-Bold.ttf);
    font-display: swap;
}

@font-face{
    font-family: "poppins-extrabold";
    src: url(../fonts/Poppins-ExtraBold.ttf);
    font-display: swap;
}

:root{
    --dark-txt-color: #373737;
    --white-txt-color: #fff;
    --gray-txt-color: #787878;
    --light-gray-txt-color: #9e9e9e;
    --blue-txt-color: #0099c3;
    --gray-blue-txt-color: #4c5a65;
    --red-txt-color: #ff0000;
    --white-back-color: #fff;
    --blue-back-color: #0099c3;
    --black-back-color: #000;
    --dark-back-color: #373737;
    --light-gray-back-color: #ecf1f6;
    --light-gray-back-color-2: #f8f7fc;
    --light-gray-border: #e4e8ec;
    --placeholder-color: #7b7e83;
    --transparent-back: transparent;
    --border-color: #dbdbdb;
    --font-size: 17.5px;   
}

*, *::before, *::after{
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
}

body{
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    font-size: inherit;
    background-color: var(--white-back-color);
    color: var(--dark-txt-color);
    font-family: "poppins-regular", sans-serif;
    letter-spacing: 0.02em;
    display: flex;
    min-height: 100vh;
    height: 100%;
    opacity: 0;
    transition: all 0.2s linear;
}

::-webkit-scrollbar{
    width: 0.5em; /* Adjust as desired */
    height: 0.5em;
}

::-webkit-scrollbar-track{
    background-color: var(--light-gray-back-color-2); /* Light gray background */
    -webkit-box-shadow: inset 0 0 5px rgb(192, 192, 192);
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
    box-shadow: inset 0 0 5px rgb(192, 192, 192);
}

::-webkit-scrollbar-thumb{
    background-color: var(--blue-back-color); /* Blue background */
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover{
    background-color: var(--blue-back-color);
}

#overlay-submit{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 999999;
}

h1, h2, h3, h4, h5, h6, p, ol, ul, button, input, textarea, figure{
    margin: 0;
    padding: 0;
}

input, textarea, button, select, a, i, svg, img, span, div, .aside-products .wrapper-text p{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.wrapper-form input, .wrapper-form textarea{
    font-size: 1em;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, a, button, span, b, strong, li, i, textarea, figure, label, input, figcaption{
    font-weight: 400;
}

ol, ul{
    list-style-type: none;
}

a, button{
    color: inherit;
    cursor: pointer;
}

a{
    text-decoration: none;
}

button{
    border: 0;
}

.container{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.row{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, 
.col-xs-11, .col-xs-12, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, 
.col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, 
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, 
.col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-xl-1, .col-xl-2, 
.col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, 
.col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6, .col-xxl-7, .col-xxl-8, .col-xxl-9, 
.col-xxl-10, .col-xxl-11, .col-xxl-12, .col-xxxl-1, .col-xxxl-2, .col-xxxl-3, .col-xxxl-4, .col-xxxl-5, .col-xxxl-6, 
.col-xxxl-7, .col-xxxl-8, .col-xxxl-9, .col-xxxl-10, .col-xxxl-11, .col-xxxl-12, .col-brand{
    position: relative;
    min-height: 1px;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.wrapper-title h1{
    font-size: 1.6em;
    line-height: 1.4;
    color: var(--dark-txt-color);
    font-family: "poppins-semibold", sans-serif;
}

.wrapper-title h1 span{
    color: var(--blue-txt-color);
    font-family: "poppins-regular", sans-serif;
}

.wrapper-title h2{
    font-size: 1.3em;
    line-height: 1.4;
    color: var(--dark-txt-color);
    font-family: "poppins-regular", sans-serif;
}

.wrapper-title h3{
    font-size: 1.2em;
    line-height: 1.5;
    color: var(--dark-txt-color);
}

.wrapper-title + .wrapper-text{
    margin-top: 0.5em;
}

.title-part{
    margin-bottom: 1.5em;
}

.wrapper-text{
    margin-top: 1em;
}

.wrapper-text p{
    font-size: 1em;
    margin-bottom: 1em;
    line-height: 1.6;
}

.wrapper-text p:last-child{
    margin-bottom: 0;
}

.wrapper-btn{
    display: flex;
    align-items: center;
    /* margin-top: 1.5em; */
}

.wrapper-btn a, .wrapper-btn button{
    height: 3em;
    padding: 0.4em 1.3em;
    font-size: 1em;
    line-height: 1.6;
    border-width: 0.07em;
    border-style: solid;
    border-radius: 0.2em;
    align-items: center;
    transition: all 0.5s ease;
    font-family: "poppins-regular", sans-serif;
}

.wrapper-btn a svg, .wrapper-btn button svg{
    font-size: 0.8em;
}

.wrapper-img img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.flex{
    display: flex;
}

.flex-wrap{
    display: flex;
    flex-wrap: wrap;
}

.inline-flex{
    display: inline-flex;
}

.block{
    display: block;
}

.none{
    display: none;
}

.inline-block{
    display: inline-block;
}

.inline{
    display: inline;
}

.relative{
    position: relative;
}

.absolute{
    position: absolute;
}

.fixed{
    position: fixed;
}

.align-center{
    align-items: center;
}

.align-end{
    align-items: flex-end;
}

.align-start{
    align-items: flex-start;
}

.align-baseline{
    align-items: baseline;
}

.align-content-center{
    align-content: center;
}

.align-content-start{
    align-content: flex-start;
}

.align-content-between{
    align-content: space-between;
}

.justify-center{
    justify-content: center;
}

.justify-between{
    justify-content: space-between;
}

.justify-around{
    justify-content: space-around;
}

.space-evenly{
    justify-content: space-evenly;
}

.justify-end{
    justify-content: flex-end;
}

.direction-column{
    flex-direction: column;
}

.direction-row{
    flex-direction: row;
}

.uppercase{
    text-transform: uppercase;
}

.lowercase{
    text-transform: lowercase;
}

.capitalize{
    text-transform: capitalize;
}

.pointer{
    cursor: pointer;
}

.text-left{
    text-align: left;
}

.text-center{
    text-align: center;
}

.text-right{
    text-align: right;
}

.dark-txt{
    color: var(--dark-txt-color);
}

.white-txt{
    color: var(--white-txt-color);
}

.gray-txt{
    color: var(--gray-txt-color);
}

.light-gray-txt{
    color: var(--light-gray-txt-color);
}

.gray-blue-txt{
    color: var(--gray-blue-txt-color);
}

.blue-txt{
    color: var(--blue-txt-color);
}

.red-txt{
    color: var(--red-txt-color);
}

.light-grey-back{
    background-color: var(--light-gray-back-color);
}

.light-grey-back-2{
    background-color: var(--light-gray-back-color-2);
}

.white-back{
    background-color: var(--white-back-color);
}

.blue-back{
    background-color: var(--blue-back-color);
}

.black-back{
    background-color: var(--black-back-color);
}

.dark-back{
    background-color: var(--dark-back-color);
}

.transparent-back{
    background-color: var(--transparent-back);
}

.border-blue{
    border-color: var(--blue-back-color);
}

.border-light-gray{
    border-color: var(--light-gray-border);
}

.err-info{
    width: 100%;
    margin-top: 0.5em;
    line-height: 1.5;
    display: none;
}

.system-content .ui.input{
    flex-wrap: wrap;
}

.system-content .ui.input input::selection, 
.system-content .ui.input textarea::selection{
    opacity: 1;
}
    
.system-content .ui.input > input, 
.system-content .ui.fluid.input > input, 
.system-content .ui.fluid.input > textarea{
    font-family: "poppins-regular", sans-serif;
    display: flex;
    align-items: center;
    min-height: 0;
    color: var(--dark-txt-color);
    outline: 0;
    font-size: 1em;
    opacity: 1;
    border: 0.07em solid #d1d4d8;
    border-radius: 0.3em;
    transition: all 0.3s ease;
}

.system-content .ui.input > input, 
.system-content .ui.fluid.input > input{
    height: 3em;
    padding: 0.8em 1em;
}

.system-content .ui.input > input.input-date-from, 
.system-content .ui.input > input.input-date-to{
    min-width: 10em;
    width: 11em;
    max-width: 13em;
}

.system-content .ui.selection.dropdown.sort-by-category{
    min-width: 13em;
}

.system-content .ui.selection.dropdown.sort-by-dropdown{
    min-width: 9em;
}

.system-content .state .ui.selection.dropdown{
    min-width: 10em;
    width: 12em;
    max-width: 14em;
}

.system-content .ui.selection.dropdown.discount-brand{
    min-width: 9em;
    width: 11em;
    max-width: 13em;
}

.system-content .ui.input > textarea, 
.system-content .ui.fluid.input > textarea{
    padding: 1.2em 1.2em;
}

.system-content input[type="text"]:focus, .system-content input[type="email"]:focus, 
.system-content input[type="password"]:focus, .system-content input[type="tel"]:focus, 
.system-content input[type="number"]:focus, .system-content textarea:focus{
    border-color: #979797;
    opacity: 1 !important;
}

.system-content input[type="number"]::-webkit-inner-spin-button{
    -webkit-appearance: none;
    appearance: none;
}

.system-content .ui.input > input::-webkit-input-placeholder, 
.system-content .ui.input > textarea::-webkit-input-placeholder{
    color: var(--placeholder-color);
    font-size: 1em;
}

.system-content .ui.input > input::placeholder, 
.system-content .ui.input > textarea::placeholder{
    color: var(--light-gray-txt-color);
    font-size: 1em;
}

input#input-date-from::-webkit-input-placeholder,
input#input-date-to::-webkit-input-placeholder,
input#input-date-from::placeholder,
input#input-date-to::placeholder{
    color: var(--light-gray-txt-color) !important;
    font-family: "poppins-regular", sans-serif;
    opacity: 1 !important;
    font-size: 0.9em !important;
}

.system-content .ui.input > input::-ms-input-placeholder, 
.system-content .ui.input > textarea::-ms-input-placeholder{
    color: var(--placeholder-color) !important;
    font-size: 1em !important;
}

.system-content .ui.input > input::-moz-placeholder, 
.system-content .ui.input > textarea::-moz-placeholder{
    color: var(--placeholder-color) !important;
    font-size: 1em !important;
}

.system-content .ui.input > input:-ms-input-placeholder, 
.system-content .ui.input > textarea:-ms-input-placeholder{
    color: var(--placeholder-color) !important;
    font-size: 1em !important;
}

.system-content input[type="file"].ui.invisible.file.input, 
.system-content .ui.invisible.file.input input[type="file"]{
    visibility: hidden;
}

.system-content .ui.icon.input>i.icon{
    color: var(--placeholder-color);
    font-size: 1.2em;
}

.system-content .ui.selection.dropdown{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 0.07em solid #d1d4d8;
    box-shadow: unset;
    line-height: 1.2;
    font-size: 1em;
    padding: 0.8em 1em;
    border-radius: 0.3em;
    min-height: unset;
    height: 3em;
    min-width: auto;
}

.system-content .ui.selection.dropdown svg{
    font-size: 0.85em;
    vertical-align: middle;
}

.system-content .ui.selection.dropdown .text{
    font-size: 1em;
    color: var(--dark-txt-color);
    margin-right: 1em;
}

.system-content .ui.selection.dropdown .default.text{
    color: var(--light-gray-txt-color);
    font-size: 1em;
    margin-right: 1em;
}

.system-content .ui.selection.dropdown .menu{
    border: 0.07em solid var(--light-gray-border) !important;
    box-shadow: unset !important;
    min-width: unset;
}

.system-content .ui.selection.dropdown .menu div{
    color: var(--dark-txt-color);
    font-size: 1em;
    display: block;
    border-color: #f1f1f1 !important;
    padding: 0.8em 1.1em 0.8em 1.1em !important;
    transition: all 0.3s ease !important;
}

.system-content .ui.selection.dropdown .menu .active.item{
    font-weight: inherit !important;
    background-color: var(--blue-back-color) !important;
    color: var(--white-txt-color) !important;
}

.system-content .ui.selection.dropdown .menu > .item{
    line-height: 1.3;
}

.system-content .ui.selection.dropdown .menu > .item:hover{
    background-color: var(--blue-back-color) !important;
    color: var(--white-txt-color) !important;
}

.system-content #date-from .ui.bottom.popup, 
.system-content #date-to .ui.bottom.popup{
    font-size: 1em;
}

.system-content #date-from .ui.calendar .ui.table tr th, 
.system-content #date-from .ui.calendar .ui.table tr td,
.system-content #date-to .ui.calendar .ui.table tr th, 
.system-content #date-to .ui.calendar .ui.table tr td{
    padding: 0.5em;
}

.system-content .ui.calendar .ui.table.day{
    min-width: 16em;
}

.system-content .product-filters{
    margin-top: 1.5em;
}

.system-content .product-filters .sort-by{
    margin-top: 0.7em;
    margin-right: 1em;
}

.system-content .selected-filter{
    margin-top: 0;
}

.system-content .selected-filter .wrapper-btn{
    margin-top: 0.7em;
}

.wrapper-products{
    margin-top: 2em;
}

.wrapper-products .col-type-product{
    margin: 0.2em 0;
}

.wrapper-products .col-type-product a{
    padding-right: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 0.07em solid #f0f0f0;
}

.wrapper-products .type-product img{
    width: 8em;
    margin-right: 1em;
    aspect-ratio: 14 / 10;
    object-fit: contain;
}

.wrapper-products .type-product .din{
    margin-bottom: 0.3em;
    font-size: 0.95em;
    color: var(--gray-txt-color);
}

.wrapper-products .type-product .type-name{
    font-family: "poppins-semibold", sans-serif;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.system-content .wrapper-material, 
.system-content .wrapper-diameter, 
.system-content .wrapper-length, 
.system-content .wrapper-width, 
.system-content .wrapper-height,
.system-content .wrapper-dimension,
.system-content .wrapper-ral,
.system-content .wrapper-material-body,
.system-content .wrapper-material-ring{
    margin-top: 1em;
}

.system-content .wrapper-material p, 
.system-content .wrapper-diameter p, 
.system-content .wrapper-length p, 
.system-content .wrapper-width p, 
.system-content .wrapper-height p,
.system-content .wrapper-dimension p,
.system-content .wrapper-ral p,
.system-content .wrapper-material-body p,
.system-content .wrapper-material-ring p{
    font-size: 1.1em;
    font-family: "poppins-semibold", sans-serif;
    margin-bottom: 0.2em;
}

.toast{
    position: fixed;
    top: 1.5em;
    right: 1.5em;
    margin-left: 1.5em;
    max-width: 30em;
    background: #4caf50; /* zelena */
    color: white;
    padding: 0.6em 1em;
    border-radius: 0.3em;
    font-size: 1.05em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

.toast.show{
    opacity: 1;
}

.toast.success{ 
    background: #4caf50; /* zelena */
}

.toast.error{
    background: #f44336; /* crvena */
}

/* The actual popup */
.err-input{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.err-input .popuptext{
    visibility: hidden;
    width: auto;
    font-size: 0.95em;
    background-color: red;
    color: var(--white-back-color);
    text-align: center;
    border-radius: 0.2em;
    padding: 0.6em 1.2em;
    position: absolute;
    bottom: 120%;
    left: -2em;
    z-index: 10;
}

/* Popup arrow */
.err-input .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: red var(--transparent-back) var(--transparent-back) var(--transparent-back);
}

/* Toggle this class - hide and show the popup */
.err-input .show{
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn{
    from{ opacity: 0; } 
    to{ opacity: 1; }
}

@keyframes fadeIn{
    from{ opacity: 0; }
    to{ opacity: 1; }
}

.icon.small{
    width: 1.5em;
}

::selection{
    background-color: var(--blue-back-color);
    color: var(--white-txt-color);
}

.message-info{
    margin-top: 1em;
    padding: 1.2em 1.5em;
}

.message-info .wrapper-text{
    margin-top: 0;
}

.system-aside, 
.system-aside .middle-aside a .system-aside-text, 
.system-aside .bottom-aside a .system-aside-text, 
.system-content{
   transition: all 0.5s ease;
}

.system-aside a .system-aside-text{
    margin-left: 3em;
}

.system-aside{
   top: 0;
   left: 0;
   width: 17em;
   height: 100%;
   padding: 1.5em 0;
   z-index: 999;
}

.system-aside .top-aside .hamburger{
    width: 2.3em;
    margin-left: 0.7em;
}

.system-aside .top-aside .hamburger svg{
    font-size: 2.2em;
}

.system-aside .middle-aside{
    margin-top: 4em;
}

.system-aside .middle-aside > div{
    margin-bottom: 0.5em;
}

.system-aside .middle-aside > div#active-aside-link{
    background-color: var(--blue-back-color);
    color: var(--white-txt-color);
}

.system-aside .middle-aside > div a, .system-aside .bottom-aside > div a{
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.1em;
    white-space: nowrap;
    width: 100%;
    padding: 0.7em 0.5em 0.7em 0.7em;
    overflow: hidden;
}

.system-aside .middle-aside > div a svg, .system-aside .bottom-aside > div a svg{
    font-size: 1.1em;
    position: absolute;
    left: initial;
    width: 1.8em;
    white-space: nowrap;
}

.system-aside .middle-aside a:last-child{
    margin-bottom: 0;
}

.system-content{
    height: 100%;
    width: 100%;
    min-height: 100vh;
    flex-grow: 1;
}

.section-panel{
    padding: 1.5em 2em 3em 2em;
}

.section-panel .system-header .wrapper-content{
    padding-bottom: 1em;
    border-bottom: 0.07em solid var(--border-color);
}

.section-panel .system-header .wrapper-content .wrapper-text{
    margin: 0 0.7em 0 0;
}

.section-panel .system-header .wrapper-content .wrapper-text p{
    font-size: 1.1em;
}

.section-panel .system-header .wrapper-content .wrapper-span{
    width: 2em;
    height: 2em;
    border-radius: 0.6em;
}

.section-panel .system-header .wrapper-content .wrapper-span span{
    border: 0.3em solid var(--blue-back-color);
    border-radius: 50%;
    width: 2em;
    height: 2em;
}

.section-panel .system-body{
    margin-top: 2em;
}

.section-panel .col-date-from, .section-panel .col-date-to, .system-body form .wrapper-btn{
    margin-top: 1em;
}

.section-panel .col-date-from, .section-panel .col-date-to{
    margin-right: 1em;
}

.section-panel form .input-field label{
    font-size: 1.1em;
    margin: 0.2em 0;
    margin-right: 0.5em;
    display: block;
}

.section-panel form .input-field svg{
    z-index: 5;
    right: 1em;
    font-size: 1.1em;
    color: var(--blue-txt-color);
}

.section-panel .system-body .col-system-info{
    margin-top: 4em;
}

.section-panel .system-body .dash-card .dash-icon{
    font-size: 3.5em;
    top: -0.5em;
    left: initial;
    color: var(--blue-back-color);
}

.section-panel .system-body .summury-card{
    padding: 4em 1.5em 1.5em 1.5em;
    border-radius: 0.7em;
    white-space: nowrap;
}

.section-panel .system-body .summury-card .wrapper-text{
    margin: 0.8em 0 0 0;
}

.section-panel .system-body .summury-card .wrapper-text p,
.section-panel .system-body .summury-card .wrapper-text span{
    font-size: 1.2em;
    line-height: 1.2;
    font-family: "poppins-light", sans-serif;
    margin-bottom: 0;
}

.section-panel .system-body .summury-card .wrapper-text p{
    margin-right: 1em;
}

.section-panel .system-body .summury-card > p{
    font-size: 2em;
    font-family: "poppins-semibold", sans-serif;
    line-height: 1;
}

.section-panel .system-body .summury-card > p span{
    font-family: "poppins-regular", sans-serif;
    font-size: 0.6em;
}

.wrapper-users::-webkit-scrollbar, .table-orders::-webkit-scrollbar, .wrapper-discount .discount-list::-webkit-scrollbar,
.wrapper-discount .discount-popup::-webkit-scrollbar{
    width: 0.4em; /* Adjust as desired */
    height: 0.4em;
}

.wrapper-users::-webkit-scrollbar-track, .table-orders::-webkit-scrollbar-track, .wrapper-discount .discount-list::-webkit-scrollbar-track,
.wrapper-discount .discount-popup::-webkit-scrollbar-track{
    background-color: var(--light-gray-back-color-2); /* Light gray background */
    -webkit-box-shadow: inset 0 0 5px rgb(192, 192, 192);
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
    box-shadow: inset 0 0 5px rgb(192, 192, 192);
}

.wrapper-users::-webkit-scrollbar-thumb, .table-orders::-webkit-scrollbar-thumb, .wrapper-discount .discount-list::-webkit-scrollbar-thumb,
.wrapper-discount .discount-popup::-webkit-scrollbar-thumb{
    background-color: var(--blue-back-color); /* Blue background */
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

/* Handle on hover */
.wrapper-users::-webkit-scrollbar-thumb:hover, .table-orders::-webkit-scrollbar-thumb:hover, .wrapper-discount .discount-list::-webkit-scrollbar-thumb:hover,
.wrapper-discount .discount-popup::-webkit-scrollbar-thumb:hover{
    background-color: var(--blue-back-color);
}

/* .wrapper-users{
    min-height: 10vh;
    max-height: 75vh;
} */

.wrapper-users, .table-orders{
    overflow-x: auto;
    overflow-y: auto;
}

.wrapper-users table, .table-orders table{
    width: 100%;
    border-collapse: collapse;
}

.wrapper-users table thead, .table-orders table thead.main-thead{
    position: sticky;
    top: 0;
}

.wrapper-users table thead tr, .table-orders table thead tr{
    border-bottom: 0.07em solid var(--border-color);
}

.wrapper-users table tr th, .table-orders table tr th{
    text-align: left;
    padding: 0.7em 1.5em 0.7em 0;
    vertical-align: baseline;
    font-family: "poppins-bold", sans-serif;
    white-space: nowrap;
}

.wrapper-users table thead tr th, .wrapper-users table tbody tr td,
.table-orders table thead tr th, .table-orders table tbody tr td{
    padding: 0.8em 2em 0.8em 0.8em;
}

.wrapper-users table tbody tr, .table-orders table tbody tr{
    border-bottom: 0.07em solid var(--border-color);
}

.wrapper-users table tbody tr td, .table-orders table tbody tr td:not(.td-desc){
    white-space: nowrap;
}

.table-orders td.td-desc{
    width: 22em;
    white-space: normal;
    display: inline-flex;
}

.table-orders table tbody tr.tr-order + tr{
    display: none;
    border-bottom: 0;
}

.table-orders .arrow-wrapper{
    transition: transform 0.3s ease;
    transform: rotateZ(0deg);
}

.table-orders .arrow-wrapper.rotated{
    transform: rotateZ(-180deg);
}

.wrapper-users .status span{
    display: inline-flex;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    vertical-align: middle;
}

.wrapper-users td button{
    border: unset;
    padding-left: 0;
    font-size: 1em;
}

.active-status{
    background-color: #00be00;
}

.non-active-status{
    background-color: #ff2e2e;
}

.user-content .col-user-item{
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.user-content .data-item{
    border: 0.07em solid var(--border-color);
    padding: 1.5em;
    position: relative;
    height: 100%;
}

.user-content .data-item .wrapper-title{
    top: 0;
    transform: translateY(-50%);
    padding: 0 0.7em;
    left: 0.8em;
    background-color: var(--white-back-color);
}

.user-content .data-item .wrapper-title h2{
    font-family: "poppins-semibold", sans-serif;
}

.user-content .data-item .user-data{
    margin-top: 1em;
}

.user-content .data-item .user-data .user-item{
    margin-bottom: 1em;
}

.user-content .data-item .user-data .user-item:last-child{
    margin-bottom: 0;
}

.user-content .data-item .user-data .user-item p{
    line-height: 1.2;
}

.user-content .data-item .user-data .user-item p:first-child{
    font-family: "poppins-bold", sans-serif;
    margin-bottom: 0.3em;
}

.wrapper-discount .discount-content{
    padding: 1em 1.5em 0.5em 1.5em;
    border: 0.07em solid var(--border-color);
}

#set-discount-btn + img{
    width: 2em;
    top: 50%;
    left: calc(100% + 1em);
    transform: translateY(-50%) rotateZ(0deg);
    animation: rotate_loader 2s linear infinite;
    animation-play-state: paused;
}

.wrapper-discount .discount-popup .dropdown-brands{
    margin-top: 1em;
    padding-bottom: 0.5em;
}

.wrapper-discount .discount-popup .dropdown-brands > div.discount-field,
.wrapper-discount .discount-popup .dropdown-brands > div.wrapper-btn,
.wrapper-discount .discount-popup .dropdown-brands > div.wrapper-btn div.discount-field{
    display: flex;
}

.wrapper-discount .discount-popup .dropdown-brands > div.discount-field,
.wrapper-discount .discount-popup .dropdown-brands > div.wrapper-btn{
    margin: 0.5em 1em 0.5em 0;
}

.wrapper-discount .discount-popup .dropdown-brands > div.wrapper-btn .discount-field.wrp-icon{
    justify-content: center;
    height: 2em;
    margin-left: 1em;
}

.wrapper-discount .discount-popup .dropdown-brands .wrapper-btn .wrp-icon svg{
    min-width: 1.5em;
    height: 1.2em;
    font-size: 1.5em;
}

.wrapper-discount .discount-popup .dropdown-brands .discount-input{
    width: 4em;
    text-align: center;
    flex-grow: unset;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.wrapper-discount .discount-content > .wrapper-btn button{
    margin: 1.5em 0 1em 0;
}

.wrapper-discount .wrapper-btn > p:first-child{
    margin-right: 1em;
    font-size: 1.3em;
    line-height: 1.6;
    top: 0;
    transform: translateY(-50%);
    z-index: 2;
    background-color: var(--white-back-color);
    font-family: "poppins-semibold", sans-serif;
}

.wrapper-discount .discount-list{
    margin-top: 1.5em;
    overflow-x: auto;
}

.wrapper-discount .discount-list .list-title{
    font-size: 1.3em;
    margin-bottom: 0.5em;
    font-family: "poppins-semibold", sans-serif;
}

.wrapper-discount .discount-list .d-list{
    white-space: nowrap;
    border-bottom: 0.07em solid var(--border-color);
    padding: 0.8em 0;
}

.wrapper-discount .discount-list .d-list:last-child{
    border-bottom: unset;
}

.wrapper-discount .discount-list .d-list span{
    margin-right: 2em;
    font-size: 1.05em;
}

.wrapper-discount .discount-list .d-list > span:first-child{
    display: inline-flex;
    min-width: 10em;
    max-width: 15em;
}

.wrapper-discount .discount-list .d-list > span:nth-of-type(2){
    min-width: 4em;
}

.wrapper-discount .discount-list .d-list svg{
    min-width: 1.4em;
    height: 1.25em;
    font-size: 1em;
}

.discount-info{
    margin-top: 2em;
    padding: 1.2em 1.5em;
}

.discount-info .wrapper-text{
    margin-top: 0;
}

.system-body .product-img{
    margin-bottom: 2em;
}

.system-body .product-img img{
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    aspect-ratio: 14/8;
}

.login-system{
    width: 100vw;
    height: 100vh;
}

.login-system .wrapper-form{
    max-width: 32em;
    width: 100%;
    padding: 0 1rem;
}

.login-system .wrapper-form .wrapper-title h1{
    color: var(--white-txt-color);
}

.login-system .wrapper-form .form-items{
    margin-top: 1.5em;
    border-radius: 0.8em;
    overflow: hidden;
}

.login-system .wrapper-form .form-items .wrapper-img{
    background-color: var(--light-gray-back-color);
    padding: 1.5em 7.2em;
}

.login-system .wrapper-form .form-items .form-fields{
    padding: 3em 2em;
}

.login-system .wrapper-form .form-items .form-fields .input-field{
    margin-bottom: 1.5em;
}

.login-system .wrapper-form .form-items .form-fields .input-field:nth-child(2){
    margin-bottom: 4em;
}

.login-system .wrapper-form .form-items .form-fields .wrapper-btn{
    margin-top: 0;
}

.login-system .wrapper-form .form-items .form-fields .wrapper-btn button{
    border: unset;
    box-shadow: 0 0 0.8em 0.05em #d1d1d1;
    border-radius: 2em;
    padding-left: 1.6em;
    padding-right: 1.6em;
    font-family: "poppins-medium", sans-serif;
}

.login-system .wrapper-form .form-items .form-fields .wrapper-btn button svg{
    margin-left: 1.5em;
    font-size: 0.9em;
}

.login-system .ui.fluid.input > input{
    border: unset;
    background-color: var(--transparent-back) !important;
    border-bottom: 0.07em solid #d1d4d8;
    border-radius: unset;
    padding: 0 0.5em !important;
    height: 3em;
    font-size: 1.1em;
    width: 100%;
}

.login-system .ui.fluid.input > input + span{
    width: 100%;
    margin-top: 0.5em;
    line-height: 1.5;
}

.login-system .ui.input > input::placeholder{
    color: #a5a5a5 !important;
    font-family: "poppins-regular", sans-serif;
    font-size: 1em !important;
}

.login-system .ui.input > input::-webkit-input-placeholder{
    color: #a5a5a5 !important;
    font-family: "poppins-regular", sans-serif;
    font-size: 1em !important;
}

.login-system .ui.input > input::-ms-input-placeholder{
    color: #a5a5a5 !important;
    font-family: "poppins-regular", sans-serif;
    font-size: 1em !important;
}

.login-system .ui.input > input::-moz-placeholder{
    color: #a5a5a5 !important;
    font-family: "poppins-regular", sans-serif;
    font-size: 1em !important;
}

.login-system .ui.input > input:-ms-input-placeholder{
    color: #a5a5a5 !important;
    font-family: "poppins-regular", sans-serif;
    font-size: 1em !important;
}

.login-system .wrapper-form .wrapper-btn img{
    width: 2em;
    top: 50%;
    right: -3.5em;
    transform: translateY(-50%) rotateZ(0deg);
    animation: rotate_loader 2s linear infinite;
    animation-play-state: paused;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0px 1000px var(--white-back-color) inset !important;
    -webkit-text-fill-color: var(--black-back-color) !important; /* Optional: to change text color */
    transition: var(--transparent-back) 5000s ease-in-out 0s; /* Optional: smooth transition */
}

@keyframes rotate_loader{
    0%{
        transform: translateY(-50%) rotateZ(0deg);
    }
    100%{
        transform: translateY(-50%) rotateZ(360deg);
    }
}

.wrapper-pagination{
    margin-top: 1.5em;
}

.wrapper-pagination ul li{
    margin: 0.3em;
}

.wrapper-pagination ul li a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.3em;
    height: 3.3em;
    border: 0.07em solid #d1d4d8;
    cursor: pointer;
}

.wrapper-pagination ul li.active a{
    border: 0.07em solid var(--blue-back-color);
    background-color: var(--blue-back-color);
    color: var(--white-txt-color);
}

#confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#confirm-popup {
    background: var(--white-back-color);
    padding: 1.5rem;
    border-radius: 0.5em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    text-align: center;
    max-width: 230px;
    width: 100%;
}

#confirm-popup p{
    font-size: 1.1em;
    font-family: "poppins-medium", sans-serif;
}

.popup-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5em;
}

.popup-buttons button {
    padding: 0.5em 1.5em;
    border-radius: 0.3em;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

#confirm-yes {
    background: #28a745;
    color: var(--white-txt-color);
}

#confirm-no {
    background: #dc3545;
    color: var(--white-txt-color);
}

@media screen and (min-width: 100px){
    html{
        font-size: calc(var(--font-size) - 0.44em);
    }
    .col-xs-1{
        max-width: 8.33%;
        flex-basis: 8.33%;
    }
    .col-xs-2{
        max-width: 16.66%;
        flex-basis: 16.66%;
    }
    .col-xs-3{
        max-width: 25%;
        flex-basis: 25%;
    }
    .col-xs-4{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
    .col-xs-5{
        max-width: 41.66%;
        flex-basis: 41.66%;
    }
    .col-xs-6{
        max-width: 50%;
        flex-basis: 50%;
    }
    .col-xs-7{
        max-width: 58.33%;
        flex-basis: 58.33%;
    }
    .col-xs-8{
        max-width: 66.66%;
        flex-basis: 66.66%;
    }
    .col-xs-9{
        max-width: 75%;
        flex-basis: 75%;
    }
    .col-xs-10{
        max-width: 83.33%;
        flex-basis: 83.33%;
    }
    .col-xs-11{
        max-width: 91.66%;
        flex-basis: 91.66%;
    }
    .col-xs-12{
        max-width: 100%;
        flex-basis: 100%;
    }
    .system-aside{
        width: 4em;
    }
    .system-content{
        padding-left: 5.4em;
    }
    .system-aside-text{
        opacity: 0;
    }
    .col-brand{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
}

@media screen and (min-width: 576px){
    html{
        font-size: calc(var(--font-size) - 0.42em);
    }
    .container{
        max-width: 560px;
    }
    .col-sm-1{
        max-width: 8.33%;
        flex-basis: 8.33%;
    }
    .col-sm-2{
        max-width: 16.66%;
        flex-basis: 16.66%;
    }
    .col-sm-3{
        max-width: 25%;
        flex-basis: 25%;
    }
    .col-sm-4{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
    .col-sm-5{
        max-width: 41.66%;
        flex-basis: 41.66%;
    }
    .col-sm-6{
        max-width: 50%;
        flex-basis: 50%;
    }
    .col-sm-7{
        max-width: 58.33%;
        flex-basis: 58.33%;
    }
    .col-sm-8{
        max-width: 66.66%;
        flex-basis: 66.66%;
    }
    .col-sm-9{
        max-width: 75%;
        flex-basis: 75%;
    }
    .col-sm-10{
        max-width: 83.33%;
        flex-basis: 83.33%;
    }
    .col-sm-11{
        max-width: 91.66%;
        flex-basis: 91.66%;
    }
    .col-sm-12{
        max-width: 100%;
        flex-basis: 100%;
    }
    .col-brand{
        max-width: 25%;
        flex-basis: 25%;
    }
}

@media screen and (min-width: 768px){
    html{
        font-size: calc(var(--font-size) - 0.4em);
    }
    .container{
        max-width: 760px;
    }
    .col-md-1{
        max-width: 8.33%;
        flex-basis: 8.33%;
    }
    .col-md-2{
        max-width: 16.66%;
        flex-basis: 16.66%;
    }
    .col-md-3{
        max-width: 25%;
        flex-basis: 25%;
    }
    .col-md-4{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
    .col-md-5{
        max-width: 41.66%;
        flex-basis: 41.66%;
    }
    .col-md-6{
        max-width: 50%;
        flex-basis: 50%;
    }
    .col-md-7{
        max-width: 58.33%;
        flex-basis: 58.33%;
    }
    .col-md-8{
        max-width: 66.66%;
        flex-basis: 66.66%;
    }
    .col-md-9{
        max-width: 75%;
        flex-basis: 75%;
    }
    .col-md-10{
        max-width: 83.33%;
        flex-basis: 83.33%;
    }
    .col-md-11{
        max-width: 91.66%;
        flex-basis: 91.66%;
    }
    .col-md-12{
        max-width: 100%;
        flex-basis: 100%;
    }
    .system-aside{
        width: 17em;
    }
    .system-content{
        padding-left: 17em;
    }
    .system-aside-text{
        opacity: 1;   
    }
    .col-brand{
        max-width: 20%;
        flex-basis: 20%;
    }
}

@media screen and (min-width: 992px){
    html{
        font-size: calc(var(--font-size) - 0.38em);
    }
    .container{
        max-width: 970px;
    }
    .col-lg-1{
        max-width: 8.33%;
        flex-basis: 8.33%;
    }
    .col-lg-2{
        max-width: 16.66%;
        flex-basis: 16.66%;
    }
    .col-lg-3{
        max-width: 25%;
        flex-basis: 25%;
    }
    .col-lg-4{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
    .col-lg-5{
        max-width: 41.66%;
        flex-basis: 41.66%;
    }
    .col-lg-6{
        max-width: 50%;
        flex-basis: 50%;
    }
    .col-lg-7{
        max-width: 58.33%;
        flex-basis: 58.33%;
    }
    .col-lg-8{
        max-width: 66.66%;
        flex-basis: 66.66%;
    }
    .col-lg-9{
        max-width: 75%;
        flex-basis: 75%;
    }
    .col-lg-10{
        max-width: 83.33%;
        flex-basis: 83.33%;
    }
    .col-lg-11{
        max-width: 91.66%;
        flex-basis: 91.66%;
    }
    .col-lg-12{
        max-width: 100%;
        flex-basis: 100%;
    }
    /* .system-body .product-img img{
        width: 80%;
    } */
    .col-brand{
        max-width: 20%;
        flex-basis: 20%;
    }
    .system-content .ui.selection.dropdown .menu{
        max-height: 30em;
    }
}

@media screen and (min-width: 1200px){
    html{
        font-size: calc(var(--font-size) - 0.35em);
    }
    .container{
        max-width: 1120px;
    }
    .col-xl-1{
        max-width: 8.33%;
        flex-basis: 8.33%;
    }
    .col-xl-2{
        max-width: 16.66%;
        flex-basis: 16.66%;
    }
    .col-xl-3{
        max-width: 25%;
        flex-basis: 25%;
    }
    .col-xl-4{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
    .col-xl-5{
        max-width: 41.66%;
        flex-basis: 41.66%;
    }
    .col-xl-6{
        max-width: 50%;
        flex-basis: 50%;
    }
    .col-xl-7{
        max-width: 58.33%;
        flex-basis: 58.33%;
    }
    .col-xl-8{
        max-width: 66.66%;
        flex-basis: 66.66%;
    }
    .col-xl-9{
        max-width: 75%;
        flex-basis: 75%;
    }
    .col-xl-10{
        max-width: 83.33%;
        flex-basis: 83.33%;
    }
    .col-xl-11{
        max-width: 91.66%;
        flex-basis: 91.66%;
    }
    .col-xl-12{
        max-width: 100%;
        flex-basis: 100%;
    }
    .col-brand{
        max-width: 10%;
        flex-basis: 10%;
    }
}

@media screen and (min-width: 1440px){
    html{
        font-size: calc(var(--font-size) - 0.3em);
    }
    .container{
        max-width: 1250px;
    }
    .col-xxl-1{
        max-width: 8.33%;
        flex-basis: 8.33%;
    }
    .col-xxl-2{
        max-width: 16.66%;
        flex-basis: 16.66%;
    }
    .col-xxl-3{
        max-width: 25%;
        flex-basis: 25%;
    }
    .col-xxl-4{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
    .col-xxl-5{
        max-width: 41.66%;
        flex-basis: 41.66%;
    }
    .col-xxl-6{
        max-width: 50%;
        flex-basis: 50%;
    }
    .col-xxl-7{
        max-width: 58.33%;
        flex-basis: 58.33%;
    }
    .col-xxl-8{
        max-width: 66.66%;
        flex-basis: 66.66%;
    }
    .col-xxl-9{
        max-width: 75%;
        flex-basis: 75%;
    }
    .col-xxl-10{
        max-width: 83.33%;
        flex-basis: 83.33%;
    }
    .col-xxl-11{
        max-width: 91.66%;
        flex-basis: 91.66%;
    }
    .col-xxl-12{
        max-width: 100%;
        flex-basis: 100%;
    }
    .col-brand{
        max-width: 10%;
        flex-basis: 10%;
    }
}

@media screen and (min-width: 1920px){
    html{
        font-size: calc(var(--font-size) - 0.25em);
    }
    .container{
        max-width: 1500px;
    }
    .col-xxxl-1{
        max-width: 8.33%;
        flex-basis: 8.33%;
    }
    .col-xxxl-2{
        max-width: 16.66%;
        flex-basis: 16.66%;
    }
    .col-xxxl-3{
        max-width: 25%;
        flex-basis: 25%;
    }
    .col-xxxl-4{
        max-width: 33.33%;
        flex-basis: 33.33%;
    }
    .col-xxxl-5{
        max-width: 41.66%;
        flex-basis: 41.66%;
    }
    .col-xxxl-6{
        max-width: 50%;
        flex-basis: 50%;
    }
    .col-xxxl-7{
        max-width: 58.33%;
        flex-basis: 58.33%;
    }
    .col-xxxl-8{
        max-width: 66.66%;
        flex-basis: 66.66%;
    }
    .col-xxxl-9{
        max-width: 75%;
        flex-basis: 75%;
    }
    .col-xxxl-10{
        max-width: 83.33%;
        flex-basis: 83.33%;
    }
    .col-xxxl-11{
        max-width: 91.66%;
        flex-basis: 91.66%;
    }
    .col-xxxl-12{
        max-width: 100%;
        flex-basis: 100%;
    }
    .col-brand{
        max-width: 10%;
        flex-basis: 10%;
    }
}

@media screen and (max-width: 991px){
    .system-content .ui.selection.dropdown .menu{
        max-height: 30em;
    }
}

@media screen and (max-width: 767px){
    .system-content .ui.selection.dropdown .menu{
        max-height: 25em;
    }
}

@media screen and (max-width: 575px){
    .section-panel{
        padding: 1em 1.5em 2em 1.5em;
    }
    .discount-popup .discount-items .discount-brand label, 
    .discount-popup .discount-items .discount-brand .ui input{
        margin-right: 1em;
    }
    .discount-popup .discount-items .discount-brand .ui input{
        width: 4.5em;
    }
}