body {
    font-family: Helvetica, sans-serif;
}
.hide {
    display: none;
}

.dashboard-filter-button {
    margin-top: 45px;
}
.modal {
    top: 60px;
}
.modal-backdrop, .blockOverlay {
    z-index: 0;
}
@media only screen and (max-width: 768px) {
    .dashboard-filter-button {
        margin-top: 15px;
    }
}

.loader_upload {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    z-index: 9999;
}

.loader_upload .line-scale-pulse-out {
    transform: translate(-50%, -50%);
    top: 50%;
    position: absolute;
    left: 50%;
    padding: 20px 20px;
    background: white;
    border-radius: 6px;
}

.center {
    text-align: center;
}

.highlight {
    background: #f7e7d3;
    min-height: 30px;
    list-style-type: none;
}

.handle {
    min-width: 18px;
    background: #fff;
    display: inline-block;
    cursor: move;
    margin-right: 10px;
    width: 100%;
    padding: 0.75rem 1.25rem;
}
.handle:hover,
.handle:focus {
    background: #f1f3f4;
}
.list-group-item {
    padding: 0;
    margin-bottom: 10px;
}

.dd-handle {
    height: 35px;
}

/****************refonte style*******************/
.app-theme-white .app-page-title {
    background: #000;
    color: #fff;
}
.app-sidebar__heading {
    color: #e30621;
}
.vertical-nav-menu li a {
    font-size: 15px;
    font-weight: bold;
}
.vertical-nav-menu li.mm-active > a i,
.vertical-nav-menu li.mm-active > a {
    font-weight: bold;
    color: #e30621;
}
.vertical-nav-menu i.metismenu-state-icon {
    color: #686a93;
    font-size: 26px;
    font-weight: bold;
    right: -8px;
    opacity: 1;
}
.vertical-nav-menu i.metismenu-icon {
    color: #686a93;
    font-size: 24px;
    font-weight: bold;
    opacity: 1;
    left: 0;
}
.vertical-nav-menu ul > li > a {
    font-size: 16px;
    line-height: 2;
    color: #686a93;
    font-weight: 400;
}
.form-control {
    border-radius: 8px;
    border: solid 1px #d1d9e6;
    background-color: #fff;
    min-height: 48px;
}
.btn.btn-wide,
.btn {
    border-radius: 24px !important;
    padding: 9px 20px;
    font-size: 16px;
    line-height: 1.33;
    text-align: center;
}
.row-card-dashbord {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.col-item-dashbord > .widget-chart {
    height: 100%;
    border-radius: 16px;
    border: none;
}
.bg-chiffre {
    background-color: #0f0f10;
}
.bg-chiffre-net {
    background-color: #18021d;
}
.bg-panier {
    background-color: #b00057;
}
.bg-commande {
    background-color: #e42f4c;
}
.bg-offre {
    background-color: #fa694a;
}
.bg-remise {
    background-color: #ffb43f;
}
.widget-chart .widget-subheading {
    opacity: 1;
}
.fixed-sidebar .app-main .app-main__outer {
    background: #f1f1f9;
}
.card-header,
.card-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    color: #0f0f10;
}
.icon-wrapper i {
    font-size: 34px;
    color: #fff !important;
}
.icon-wrapper .bg-white {
    background-color: transparent !important;
}
.table td {
    font-size: 14px;
    line-height: 1.71;
    color: #0f0f10;
    border-top: none;
}
.table tbody tr:nth-child(even) {
    background-color: #faf9fd;
}
.table thead th {
    border-bottom: 1px solid #c6ccd4;
}
.table th,
.table td {
    border-top: none;
}
.btn-group .btn.btn_dates {
    font-weight: 400;
    background: #fff;
    border: solid 1px #ebe8ea;
    border-radius: 0 !important;
    font-size: 12px;
    line-height: 2;
    text-align: center;
    color: #686a93;
}
.btn-group .btn.btn_dates:hover,
.btn-group .btn.btn_dates.active {
    color: #fff;
    background-color: #0f0f10;
    border-color: #0f0f10;
}
.btn-group .btn.btn_dates:first-child {
    border-radius: 8px 0 0 8px !important;
}
.btn-group .btn.btn_dates:last-child {
    border-radius: 0 8px 8px 0 !important;
}

.btn-outline-alternate {
    color: #fff;
    border-color: #794c8a;
    background-color: #794c8a;
}
.btn-outline-alternate:focus,
.btn-outline-alternate:hover {
    color: #794c8a;
    border-color: #794c8a;
    background-color: #fff;
}
.btn-outline-focus {
    color: #fff;
    border-color: #444054;
    background-color: #444054;
}
.btn-outline-focus:focus,
.btn-outline-focus:hover {
    color: #444054;
    border-color: #444054;
    background-color: #fff;
}
.btn-outline-warning {
    color: #fff;
    border-color: #414850;
    background-color: #414850;
}
.btn-outline-warning:focus,
.btn-outline-warning:hover {
    color: #414850;
    border-color: #414850;
    background-color: #fff;
}
.btn-outline-info {
    color: #fff;
    border-color: #000;
    background-color: #000;
}
.btn-outline-info:focus,
.btn-outline-info:hover {
    color: #000;
    border-color: #000;
    background-color: #fff;
}
.btn-outline-danger {
    color: #fff;
    border-color: #d92550;
    background-color: #d92550;
}
.btn-outline-danger:focus,
.btn-outline-danger:hover {
    color: #d92550;
    border-color: #d92550;
    background-color: #fff;
}
.btn-outline-dark {
    color: #fff;
    border-color: #343a40;
    background-color: #343a40;
}
.btn-outline-dark:focus,
.btn-outline-dark:hover {
    color: #343a40;
    border-color: #343a40;
    background-color: #fff;
}
.btn-outline-success {
    color: #fff;
    border-color: #3ac47d;
    background-color: #3ac47d;
}
.btn-outline-success:focus,
.btn-outline-success:hover {
    color: #3ac47d;
    border-color: #3ac47d;
    background-color: #fff;
}
.btn-info {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0);
}
.table-bordered {
    border: none;
}
a {
    color: #e30621;
}
/************Custum Checkbox*******************/
.custum_checkbox {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    color: #0f0f10;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.custum_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.custum_checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    border-radius: 8px;
    border: solid 1px #d1d9e6;
    background-color: #fff;
}
.custum_checkbox:hover input ~ .checkmark {
    /*background-color: #ccc;*/
}
.custum_checkbox input:checked ~ .checkmark {
    background-color: #686a93;
    border: solid 1px #686a93;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custum_checkbox input:checked ~ .checkmark:after {
    display: block;
}
.custum_checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/************Custum Radio*******************/
.custum_radio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    /* old value : 16px*/
    font-size: 10px;
    font-weight: 400;
    letter-spacing: normal;
    color: #0f0f10;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.custum_radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.custum_radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: solid 1px #d1d9e6;
    background-color: #fff;
}
.custum_radio:hover input ~ .checkmark {
    /*background-color: #ccc;*/
}
.custum_radio input:checked ~ .checkmark {
    background-color: #686a93;
    border: solid 1px #686a93;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custum_radio input:checked ~ .checkmark:after {
    display: block;
}
.custum_radio .checkmark:after {
    left: 5px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #fff;
    border-radius: 50%;
}
/************END Custum Radio*******************/

.form-check-inline {
    width: 30%;
}
.form-check {
    padding-left: 0;
}
.form-inline {
    margin-bottom: 20px;
}
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
    color: #0f0f10;
    font-size: 18px;
    opacity: 1;
}
.header-megamenu.nav > li > .nav-link {
    color: #0f0f10;
    font-size: 15px;
}
.nav-link .nav-link-icon {
    opacity: 1;
    color: #686a93;
    font-size: 18px;
    font-weight: bold;
}
@media (max-width: 991px) {
    .dropdown-menu {
        top: 31% !important;
    }
}

@media (max-width: 767px) {
    .col-item-dashbord {
        margin-bottom: 20px;
    }
    .form-check-inline {
        width: 45%;
    }
}
@media (max-width: 480px) {
    .form-check-inline {
        width: 100%;
        margin-right: 0;
    }
}
.row-to-clone {
    border-top: 1px solid #eaeaf2;
    padding-top: 15px;
}
.title_ingredients {
    margin: 0;
    font-size: 20px;
}

.btn-outline-light-blue {
    color: #fff;
    border-color: #4cccff;
    background-color: #4cccff;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid #007bff; /* Couleur du spinner */
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.page-title-actions {
    margin-bottom: 20px; /* Add spacing below the action bar */
}

.custom-filter {
    min-width: 300px; /* Ensure the dropdown is wide enough */
    padding-top: 5px;
}

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

.custom-filter label {
    white-space: nowrap; /* Prevent label text from wrapping */
}

.form-check-input {
    display: inline-block !important;
    margin-top: 0.3rem;
    margin-right: 0.5rem;
}

.category-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.subcategory-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem 2rem;
}

/* Make the category header sticky */
.category-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 0.75rem 1rem;
    z-index: 1;
    border-bottom: 1px solid #eee;
}



@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
