/* LIGHT MODE */

html[data-bs-theme="light"] #kt_app_main {
    background: #F2F2EF;
}

html[data-bs-theme="light"] #kt_app_header {
    background: #fff;
}

/* LIGHT MODE */
.mobile-hide {
    display: block;
    /* Or any other desired display property */
}

/* Media query for screens smaller than a certain width (e.g., mobile devices) */
@media only screen and (max-width: 768px) {
    .mobile-hide {
        display: none;
        /* Hide the div on mobile */
    }
}

/* DARK MODE */

html[data-bs-theme="dark"] i {
    color: #fff !important;
}

html[data-bs-theme="dark"] label {
    background: #1C1C1C;
}

/* DARK MODE */
.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
}

.form-check-input:checked {
    background-color: #FFC600;
    border-color: #FFC600;
}

button#html5-qrcode-button-camera-stop,
button#html5-qrcode-button-camera-start {
    background-color: #FFC600 !important;
    border: none;
    border-radius: 7px;
    font-weight: 500;
    font-size: 16px;
    padding: 7px 15px;
}


.table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

.alert-text {
    margin-bottom: 0 !important;
}

.custom_tr_row tr {
    background-color: #F2F2EF;
}

.custom_tr_row td {
    color: #000 !important;
}

.w-100 .select2 {
    width: 100% !important;
}

.custom-order-tabs .nav-link.active,
.custom-order-tabs .nav-link:hover {
    border-bottom: 4px solid #FFC600 !important;
    padding-bottom: 4px;
    margin-bottom: -4px;
}

.custom-order-tabs .nav-item {
    margin-bottom: 0;
}

.custom-orders-table tr.new-row-order {
    background-color: #FFF7D9;
}

.custom-orders-table tr.new-row-warehouse {
    background-color: #FAE8E8;
}

.card .card-body-custom {
    padding: 2rem 2.25rem;
    color: var(--bs-card-color);
}

/* TABS */

.custom-warehouse-tabs .nav-link:hover {
    border-bottom: none !important;
}

.custom-warehouse-tabs .nav-link:hover {
    padding: 10px !important;
}

.custom-warehouse-tabs .nav-link.active {
    background-color: #FFC600 !important;
    padding: 10px;
    border-radius: 10px;
    border-bottom: none !important;
}

.custom-warehouse-tabs .nav-link {
    padding: 10px !important;
}

.custom-warehouse-tabs {
    background: #fff;
    padding: 3px 10px 3px 3px;
    border-radius: 15px;
}


.custom-settings-tabs .nav-link:hover {
    border-bottom: none !important;
}

.custom-settings-tabs .nav-link:hover {
    padding: 10px !important;
}

.custom-settings-tabs .nav-link.active {
    background-color: #FFC600 !important;
    color: #000000;
    font-weight: 500;
    padding: 10px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: none !important;
}

.custom-settings-tabs .nav-link {
    padding: 10px !important;
}

.custom-settings-tabs {
    background: #fff;
}

.custom-settings-tabs .nav-link:not(.active) {
    color: #4c4c4c !important;
}

/* TABS */


/* TIMEPICKER */

.custom-timepicker-container .input-group-text {
    height: 100%;
    padding: 8px;
    background-color: #FFC600;
}

.remove-radius-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.remove-radius-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.custom-timepicker-container i.la.la-clock-o {
    font-size: 25px;
    color: #000;
}

.custom-timepicker-container input {
    color: #000;
}

/* TIMEPICKER */


/* SETTINGS PAGE */

.custom-schedule-outer-container {
    border-bottom: 1px solid #c0c0c0a8;
    padding-bottom: 30px;
}

.tab.settings-schedule-tab button.activeTab {
    background-color: #FFC600;
    color: #000 !important;
    font-weight: 500;
}

.tab.settings-schedule-tab .checked {
    background-color: #FFC600;
}

.tab.settings-schedule-tab button:hover {
    background-color: #fbdb66;
}

.start-time-div label,
.end-time-div label {
    font-weight: 700;
    font-size: 14px;
}

/* SETTINGS PAGE */

.edit-profile-inputs input,
.edit-profile-inputs select {
    border-radius: 15px !important;
}

.edit-profile-inputs input.form-control.rounded-0,
.edit-profile-inputs select.form-control.rounded-0 {
    border-radius: 0px !important;
}

.edit-profile-outer-notifications {
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 10px;
}

.edit-profile-outer-notifications div:first-child {
    width: 30%;
}

.hr-dashed {
    border-style: dashed;
}

.text-teal {
    color: #00BCD4 !important;
}

/*
.custom-yellow-bg.active{
    background-color: #FFC600 !important;
} */

.custom-yellow-text,
.text-yellow {
    color: #FFC600 !important;
}

.custom-yellow-bg,
.custom-yellow-bg.active {
    background-color: #FFC600 !important;
}

.custom-red-bg,
.custom-red-bg.active {
    background-color: red !important;
}

.custom-green-bg,
.custom-green-bg.active {
    background-color: #4caf50 !important;
}

.custom-blue-bg,
.custom-blue-bg.active {
    background-color: #3e97ff !important;
}

.custom-black-bg,
.custom-black-bg.active {
    background-color: black !important;
}

.custom-add-to-order-products .ki-plus-square .path2:before {
    opacity: 1;
    color: #FFC600;
}

.custom-add-to-order-products .ki-plus-square .path3:before {
    color: #000;
}

.bg-deleted {
    background-color: #ff003e1f !important;
}

.order-table .custom_tr_row td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.discount-btn {
    background: #c0c0c0;
    padding: 10px;
    border-radius: 10px;
}

.custom-order-status-links .nav-link {
    background: #F2F2EF;
    color: #000;
}

.custom-add-to-order-products {
    background: #F2F2EF;
    padding: 5px 2px 5px 5px;
    border-radius: 10px;
}

.custom-edit-icon {
    background: #e0e0e0;
    padding: 4px;
    padding-bottom: 2px;
    border-radius: 5px;
}

.warehouse-create-floating-notification {
    bottom: 10px;
    left: 50%;
    transform: translateX(-25%);
}

.product-chart path {
    fill: #FFC600;
}

.mark-as-read-button.active {
    background: #FFC600;
    padding: 7px 10px;
    border-radius: 10px;
    color: #000 !important;
    font-weight: 500;
}

/* SIDEBAR */

.theme-color-mode-container,
.sidebar-notification-badge {
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

.theme-color-mode-container .ki-moon,
.theme-color-mode-container .ki-user,
.sidebar-notification-badge .ki-notification {
    color: #030B2F;
}

/* .theme-color-mode-container .ki-sun{
        color:#fff;
    } */

.sidebar-notification-counter {
    top: -15px;
    right: -10px;
}

.sidebar-notification-counter span {
    border-radius: 50%;
    padding: 5px;
}

/* SIDEBAR */

/* HEADER CSS */

.header-page-title {
    font-weight: 500;
    font-size: 22px;
    margin: 0;
}

/* HEADER CSS */


/* PICKING */

.picking-modal.modal-content {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fefefe;
    padding: 5px;
    border: 1px solid #888;
    z-index: 1;
    left: 0;
}

.bulk-modal.modal-content {
    display: none;
    background-color: #fefefe;
    top: 0;
    position: sticky;
    z-index: 100;
    padding: 5px;
    border: 1px solid #888;
}

button.btn.main-scan-btn.active {
    background-color: #B9DBB8 !important;
    color: #357D38;
}

button.btn.main-scan-btn.active i {
    color: #357D38;
    font-size: 20px;
    padding: 0;
    margin-top: -5px;
}

.crates-and-ordes>div {
    width: 50%;
}

.picking-scan-outer {
    margin-top: 50px;
    margin-bottom: 100px;
}

.crates-and-ordes {
    box-shadow: 0 5px 20px -10px #000000ad;
    border-radius: 7px;
}

.picking-scan-footer {
    box-shadow: 0 -10px 61px -6px #0003;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
    background: #fff;
}

.picker-scan-table {
    background: #F2F2EF;
    border-radius: 10px;
}

.timeline-label .timeline-label {
    min-width: 75px;
}

.scan-product-position {
    background: #E6E6E3;
    margin: 7px 0;
}

.scan-product-name {
    margin: 7px 0;
}

.scan-product-qty {
    margin: 7px 0;
}

.scan-product-expiration {
    margin: 7px 0;
}

.scan-product-expiration-valid {
    background-color: #edffec;
}

.scan-product-expiration-invalid {
    background-color: #ffecec;
}

.scan-product-expiration-invalid-soon {
    background-color: #ffc7002b;
}

.scan-product-expiration-na {
    background-color: #fff9ec;
}

.scan-product-btn {
    margin-top: 10px;
}

.scan-product-btn button {
    text-transform: uppercase;
}

/* PICKING */


/* FLOATING LABELS */

.custom-form-floating {
    position: relative;
}

label.custom-floating-label {
    padding: 0 5px;
    height: auto;
    background: #fff;
    position: absolute;
    top: -9px;
    left: 5px;
    font-size: 11px;
    z-index: 99;
}

.modal {
    display: block;
    position: fixed;
    /* Stay in place */
    z-index: 1050;
    /* Sit on top */
    padding-top: 10px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 5px;
    border: 1px solid #888;
    width: 100%;
}

/* FLOATING LABELS */


.picker-header {
    display: none !important;
}

.active>.page-link,
.page-link.active {
    background-color: #FFC600;
}

.page-link:hover,
.page-item:hover:not(.active):not(.offset):not(.disabled) .page-link {
    color: #FFC600;
}

.drawer .custom-notification-row {
    border-bottom: 1px solid #FFC600;
    padding: 5px 7px;
}

.drawer .custom-notification-row.new {
    background-color: #c0c0c02b;
    ;
}

.drawer .custom-notification-row .symbol .symbol-label {
    width: 40px;
    height: 40px;
}

input.datepicker.btn.btn-sm.btn-light.d-flex.align-items-center.px-4 {
    /* width: 200px; */
}

.middle-modal .modal-content {
    width: 60%;
    top: 50%;
    transform: translateY(-50%);
    left: 7%;
    padding: 15px;
}

.custom-border-order-input button {
    border-radius: 0;
}

.input-end-reset-border {
    border-radius: 7px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 0;
}

.courirer-loading-svg {
    z-index: 999;
    width: 100%;
    height: 100%;
    background: #0004;
    left: 0;
    top: 0;
    border-radius: 7px;
}

.order-page input::-webkit-outer-spin-button,
.order-page input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#kt_app_layout_builder.drawer.drawer-end {
    width: 450px;
}

.per_page {
    background-color: #FFC600 !important;
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .475rem;
    height: 2.5rem;
    min-width: 2.5rem;
    font-weight: 500;
    font-size: 1.075rem;
}

.fa-sm {
    font-size: .875em !important;
    line-height: .07143em;
    vertical-align: .05357em;
}

@media only screen and (min-width: 992px) {

    .app-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

}

@media only screen and (max-width: 992px) {
    [data-kt-app-toolbar-enabled=true]:not([data-kt-app-toolbar-fixed-mobile=true]) .app-content {
        padding-top: 20px !important;
    }

    div#kt_app_header {
        background: #030B2F !important;
    }

    .nav-line-tabs .nav-item .nav-link {
        margin: 0 0.75rem 0 0 !important;
    }

    .select2-container {
        width: 100% !important;
    }
}

@media only screen and (max-width: 768px) {
    .app-container {
        padding-left: 15px !important;
        padding-right: 0px !important;
    }

    div#kt_app_header {
        background: #030B2F !important;
    }

    #kt_app_sidebar_mobile_toggle i {
        font-size: 30px !important;
    }

    .picking-scan-outer {
        margin-top: 0;
    }

    .picker-header {
        display: flex !important;
    }

    .picker-header i {
        font-size: 30px;
        color: #000;
        margin-left: 5px;
    }

    .picking-modal.modal-content {
        top: 0;
        transform: none;
    }

    .picking-modal .picker-scan-table:last-child {
        margin-bottom: 100px !important;
    }

    .mobile-full-width {
        width: 100% !important;
        margin-bottom: 15px;
    }

    #kt_app_header.mobile-header-buttons-fix {
        height: auto !important;
    }

    .mobile-header-buttons-fix #kt_app_header_container {
        flex-wrap: wrap;
    }

    .mobile-header-buttons-fix #kt_app_header_wrapper .app-navbar {
        flex-wrap: wrap;
        justify-content: start !important;
        margin: 15px 0;
    }

    #kt_app_layout_builder.drawer.drawer-end {
        width: 85%;
    }

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

    .table-stacked thead {
        display: none;
    }

    .table-stacked,
    .table-stacked tbody,
    .table-stacked tr,
    .table-stacked td {
        display: block;
        width: 100%;
    }

    .table-stacked tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        padding: 0.5rem;
        background: #fff;
    }

    .table-stacked td {
        position: relative;
        border: none;
        border-bottom: 1px solid #f1f1f1;
    }

    .table-stacked td:last-child {
        border-bottom: none;
    }

    .table-stacked td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 45%;
        text-align: left;
        font-weight: 600;
        color: #6c757d;
        white-space: nowrap;
    }

}