.logoVerticalMenu {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.binButton {
    color: grey;
}

.viewButton {
    color: black;
}

.orderQuantity {
    width: 90px;
}

.editButton {
    color: #ffab00;
}

.row-hover:hover {
    cursor: pointer;
}

.checkboxProduct:hover {
    cursor: pointer;
}

.crossed-out {
    position: relative;
    display: inline-block;
}

.crossed-out::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #697a8d;
    transform: translateY(-50%) rotate(-45deg);
    z-index: 1;
}

.crossed-out>i {
    font-size: 25px;
    transform: translateX(-0.5px);
}

.menu .app-brand.demo {
    height: 64px;
    margin-top: 12px;
}

.app-brand-logo.demo svg {
    width: 50px;
    height: 45px;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

.backButton {
    margin: 10px 0 10px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header .textAndButton {
    display: flex;
    align-items: center;
}

/* -- Pagination -- */
.paginateSelector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.paginateSelector>select {
    width: fit-content;
    height: fit-content;
    margin-right: 10px;
    transform: translateY(4px);
}

/* -- Custom selector -- */
.selected-brands {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.selected-brand {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0px 5px 0px 10px;
    margin: 5px;
    display: flex;
    align-items: center;
}

.selected-brand span {
    margin-left: 10px;
    cursor: pointer;
    color: #dc3545;
    font-size: 20px;
}

/* -- Manufacturer -- */
.siretNumber {
    display: flex;
}

.textCheckbox {
    cursor: pointer;
}

.textCheckbox>input {
    margin-left: 10px;
}

.multipleInputs {
    display: flex;
    justify-content: space-between;
}

.multipleInputs.search {
    margin: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
}

#searchFilter,
#searchProduct {
    margin-right: 10px;
}

.disabled-row {
    position: relative;
    opacity: 0.5;
}

.disabled-row-disabled::after {
    content: "Ce produit est désactivé";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    font-weight: bold;
    color: red;
    border-radius: 5px;
    z-index: 10;
    font-size: 17px;
}

.disabled-row-def-stopped::after {
    content: "Ce produit a été définitivement arrêté";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    font-weight: bold;
    color: red;
    border-radius: 5px;
    z-index: 10;
    font-size: 17px;
}

.filter-title {
    margin: 20px 25px 5px 25px;
}

.multipleInputs>div {
    flex-grow: 1;
    flex-basis: 0;
    margin-right: 10px;
}

.multipleInputs>div:last-child {
    margin-right: 0;
}

.actionsList {
    display: flex;
    margin-bottom: 10px;
    width: fit-content;
}

.actionsList>a {
    margin: 10px;
}

.input-group.search {
    margin: 10px;
}

/* Reception */
.bad {
    color: red;
    font-weight: bold;
}

.good {
    color: green;
    font-weight: bold;
}

.warning {
    color: orange;
    font-weight: bold;
}

.legend {
    background: #ceffd3;
    width: 30px;
    height: 20px;
    border: 1px solid grey;
    display: inline-block;
    vertical-align: middle;
    margin: 20px 0;
}

/* Products */
.headerProduct {
    display: flex;
    justify-content: space-between;
}

.imageContainer {
    height: 100px;
    margin: 10px;
}

.imageContainer img {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 200px);
    object-fit: contain;
}

.product-image {
    width: 50px;
    height: auto;
}

.status-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    gap: 5px;
}

.realstock-badge {
    font-size: 18px;
    font-weight: bold;
    align-self: center;
    padding: 13px;
}

.promo-container {
    position: relative;
}

.promo-circle-badge {
    position: absolute;
    top: 10px;
    right: 5px;
}

.promotion-price-text {
    color: #ff3e1d;
}

/* Order */
.statusList {
    display: flex;
    margin: 10px;
    width: fit-content;
}

.buttonHeader {
    display: flex;
    align-items: center;
    position: relative;
}

.buttonHeader .badge {
    position: absolute;
    top: -20px;
    right: -30px;
}

.status-form>button {
    margin-left: 5px;
    margin-right: 5px;
}

.statusButtons:hover .badge {
    color: #fff;
}

.statusList>button {
    margin: 10px;
    flex-direction: column;
    display: flex;
}

.statusList .buttonBody {
    margin-left: 10px;
    font-size: large;
}

.addProductInOrder {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.viewOrder {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.sticky-footer {
    position: sticky;
    bottom: 0;
    background-color: white;
    z-index: 10;
    border-top: 1px solid #e5e7eb;
}

.sticky-footer-role {
    position: sticky;
    bottom: 20px;
    background-color: white;
    z-index: 10;
}

/* Remainder */
.buttonFooterForm {
    display: flex;
    margin: 10px;
    flex-direction: row-reverse;
    gap: 20px;
}

.addNewLine:hover {
    cursor: pointer;
}

.remainderList {
    text-align: center;
}

.inputFormRemainder {
    border: none;
    background: none;
    border-bottom: 1px solid black;
    width: fit-content;
}

.grised-line {
    background-color: #f2f2f2;
    pointer-events: none;
    /* Makes the row and its inputs readonly */
}

.remainderListHover:hover {
    cursor: pointer;
}

.confirmEdit {
    position: fixed;
    right: 20px;
    bottom: 20px;
    color: white;
    box-shadow: none;
}

/* Grouped row backgrounds to visually link consecutive rows with the same order reference */
.group-1 {
    background-color: white;
}

.group-2 {
    background-color: #eff4fd;
}

/* Hidden menus */
.buttonListHiddenMenus {
    margin: 15px;
}

.buttonListHiddenMenus>a {
    margin: 5px;
}

.shepherd-arrow:before {
    background: #838383;
    content: "";
    transform: rotate(45deg);
}

.rotateP {
    transform: rotate(180deg);
}

.pdfPreview {
    display: flex;
    margin: -22px;
    width: fit-content;
}

#pdfFileOptions {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 13px;
    margin-left: 10px;
}

#pdfFileOptions>a {
    margin-right: 10px;
}

/* Statistics */
tr.level-1,
tr.level-2,
tr.level-3,
tr.level-4,
tr.level-5 {
    display: none;
}

.toggle-btn {
    cursor: pointer;
    display: inline-block;
}

.rotate-90 {
    transform: rotate(90deg);
    transition: transform 0.2s ease-in-out;
}

tr.level-0 {
    background-color: #ffffff;
}

tr.level-1 {
    background-color: #f2f2f2;
}

tr.level-2 {
    background-color: #e8e8e8;
}

tr.level-3 {
    background-color: #dfdfdf;
}

tr.level-4 {
    background-color: #d6d6d6;
}

tr.level-5 {
    background-color: #cdcdcd;
}

.inactive-category {
    background-color: #f2f2f2;
    opacity: 0.7;
}

.sleeping-stock-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

.pageTitle {
    display: flex;
}

.pageTitle button {
    margin-left: 10px;
}

.stat-button-color {
    color: green;
}

/* --- Misc errors --- */
.misc-wrapper {
    padding: 2rem 0;
}

.error-illustration {
    margin-top: 2rem;
}

/* --- Usefull --- */
.mg-top-15 {
    margin-top: 15px;
}

.mg-top-10 {
    margin-top: 10px;
}

.height-84 {
    height: 84px;
}

.bold {
    font-weight: bold;
}

.black {
    color: black;
}

.red {
    color: #F40F02;
}

.max-height-300 {
    max-height: 300px;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border-width: 5px;
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
}

.hidden {
    display: none;
}

.single-cell {
    padding: 8px;
    font-weight: bold;
}

.single-cell span {
    display: inline-block;
    min-width: 30px;
    margin: 0 5px;
}

@media (max-width: 768px) {
    .single-cell span {
        display: block;
        margin: 5px 0;
    }
}

.sort-button {
    cursor: pointer;
    text-decoration: underline;
}

/* Sort icon positioning in table headers */
.sort-button {
    position: relative;
    padding-right: 28px;
}

.sort-button .sort-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
    display: block !important;
}

.demo-inline-spacing>* {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

#insertProductList tr {
    cursor: pointer;
}

#submitButton {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

@media screen and (min-width: 1400px) {
    .liste {
        overflow-x: initial;
    }
}

.deleteLine {
    cursor: pointer;
}

#brands {
    resize: vertical;
}

.delete-address {
    cursor: pointer;
}

.overflow {
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    overflow: hidden;
}

.overflow::-webkit-scrollbar {
    height: 10px;
}

.overflow::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px -2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.overflow::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: lightgrey;
}