.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #F1416C !important;
}

.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #50CD89 !important;
}

.text-justify {
    text-align: justify !important;
}

.btn-xs {
    font-size: 0.85em !important;
    padding: 0.25em 0.75em !important;
}

@media (min-width: 1200px) {
    .modal-xxl {
        --bs-modal-width: 90% !important;
    }
}

[data-bs-theme="dark"] .app-sidebar {
    background: #0D0E12 !important;
    border-right: 1px solid #1f1f1f !important;
}

[data-bs-theme="dark"] .app-sidebar .app-sidebar-logo {
    border-bottom: 1px dashed #1f1f1f !important;
}

[data-bs-theme="light"] .app-sidebar .btn-custom {
    color: #B5B5C3;
    background-color: rgba(40, 42, 62, 0.35);
}

.app-sidebar .menu-item .menu-link:hover i {
    color: #6db6ff !important;
}

/* Original hover rule - keep for non-active main items */
.app-sidebar .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-icon i {
    color: #f6c000 !important;
}

/* Yellow icons for MAIN dropdowns (like "Repair") */
.app-sidebar > .menu-item.menu-accordion.hover > .menu-link .menu-icon i,
.app-sidebar > .menu-item.menu-accordion.here > .menu-link .menu-icon i,
.app-sidebar > .menu-item.menu-accordion > .menu-link.active .menu-icon i {
    color: #f6c000 !important;
}

/* Yellow icons for NESTED dropdowns (like "Quality Management") */
.app-sidebar .menu-item.menu-accordion.hover > .menu-link .menu-icon i,
.app-sidebar .menu-item.menu-accordion.here > .menu-link .menu-icon i,
.app-sidebar .menu-item.menu-accordion > .menu-link.active .menu-icon i {
    color: #f6c000 !important;
}

/* Ensure regular menu items (non-dropdowns) keep default styling */
.app-sidebar .menu-sub .menu-item:not(.menu-accordion) > .menu-link .menu-icon i {
    color: inherit;
}

.app-sidebar .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active) {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.app-sidebar .menu-item .menu-link.active .menu-icon,
.app-sidebar .menu-item .menu-link.active .menu-icon .svg-icon,
.app-sidebar .menu-item .menu-link.active .menu-icon i,
.app-sidebar .menu-item .menu-link.active {
    color: #1092f2 !important;
}

.app-sidebar .menu-item .menu-link.active {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

@media (min-width: 1200px) {
    .modal-xxl {
        --bs-modal-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* DataTables Custom */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control {
    padding-left: 10px !important;
}

div.dataTables_scrollBody, div.dataTables_scrollFootInner table.table-bordered tr th:first-child, div.dataTables_scrollHeadInner table.table-bordered tr th:first-child {
    border-left: 0 !important;
}

.search_highlight {
    background-color: #fff8dd;
    padding: 5px;
}

@media only screen
and (min-device-width: 390px)
and (max-device-width: 850px)
and (-webkit-min-device-pixel-ratio: 3) {
    /* Margen entre botones cuando esta Mobile */
    .spacing {
        margin-bottom: 5px;
    }

    .daterangepicker .ranges ul {
        min-width: 185px !important;
    }

}

@media screen and (min-width: 1600px) {
    .daterangepicker .ranges ul {
        min-width: 200px !important;
    }
}

/* Calculator */
#calculator input{
    border: none;
}
#calculator button {
    height: 50px;
    width: 50px;
    margin: 2px 1px;
    border: none !important;
    padding: 6px 7px;
}
*:focus {
    outline: 0 !important;
}
#allClear {
    box-shadow: inset 1px 1px 50px  #990000;
    border: none;
}
#clear {
    box-shadow: inset 1px 1px 50px  #CC6600;
    border: none;
}
#equals{
    box-shadow: inset 1px 1px 50px #006633;
    border: none;
}
#blank {
    visibility: hidden;
}
#calculator .screen {
    width: auto;
    height: 50px;
    border-radius: 3px;
    padding: 10px;
    margin: 2px -7px;
    font-size: 15px;
    font-weight: bold;
    background: #8e9eab;
}
#calculator small {
    color: #fff;
    font-weight: bold;
}
.navbar-custom-menu .popover-content, .pos-header .popover-content{
    padding: 4px 0;
}

.flatpickr-input[readonly] {
    background-color: #ececec !important;
}

@media print {
    .no-print,
    .main-sidebar,
    .left-side,
    .main-header,
    .toastr-container,
    .toastr-success,
    .toastr-danger,
    .content-header {
        display: none !important;
    }
}

.bg-orange {
    background: #ff9a3c;
}

.external-event {
    padding: 5px 10px;
    font-weight: 700;
    margin-bottom: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    text-shadow: 0 1px 1px rgba(0,0,0,.1);
    border-radius: 3px;
    cursor: move;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-title {
    color: #e7e8f0;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-icon,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-icon .svg-icon,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-icon i {
    color: #FFFFFF;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-arrow:after {
    background-color: #cecfd4;
}


.daterangepicker {
    z-index: 99 !important;
}


table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    border-color: transparent transparent transparent rgba(0, 0, 0, .5);
    border-style: none;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>th.dtr-control:before {
    border-color: transparent;
    border-style: none;
    background: #f8285a;
}

/** Kanban Styling */
.kanban-board {
    border-radius: 5px !important;
}
.kanban-board header {
    background: #2a92bf !important;
    color: whitesmoke !important;
    border-radius: 5px !important;
}

.kanban-item {
    border-radius: 6px;
}

.meta-tasks .kanban-item:hover:before {
    background: #14aad6 !important;
    bottom: 5px !important;
    top: 5px !important;
    width: 4px !important;
}

.kanban-item:last-child {
    margin: 10px 0 !important;
}

.meta-tasks .kanban-board-header .kanban-title-board {
    text-shadow: none !important;
}

.min-w-155px {
    min-width: 155px !important;
}

.min-w-160px {
    min-width: 160px !important;
}

.min-w-165px {
    min-width: 165px !important;
}

.min-w-170px {
    min-width: 170px !important;
}

.min-w-185px {
    min-width: 185px !important;
}

.min-w-195px {
    min-width: 195px !important;
}
/**
 * Colors Palette
 */
.bg-red-50 {
    background-color: #ffebee !important;
}

.bg-red-100 {
    background-color: #ffcdd2 !important;
}

.bg-red-200 {
    background-color: #ef9a9a !important;
}

.bg-red-300 {
    background-color: #e57373 !important;
}

.bg-red-400 {
    background-color: #ef5350 !important;
}

.bg-red-500 {
    background-color: #f44336 !important;
}

.bg-red-600 {
    background-color: #e53935 !important;
}

.bg-red-700 {
    background-color: #d32f2f !important;
}

.bg-red-800 {
    background-color: #c62828 !important;
}

.bg-red-900 {
    background-color: #b71c1c !important;
}

.bg-red-a100 {
    background-color: #ff8a80 !important;
}

.bg-red-a200 {
    background-color: #ff5252 !important;
}

.bg-red-a300 {
    background-color: #ff1744 !important;
}

.bg-red-a400 {
    background-color: #d50000 !important;
}

.red-50 {
    color: #ffebee !important;
}

.red-100 {
    color: #ffcdd2 !important;
}

.red-200 {
    color: #ef9a9a !important;
}

.red-300 {
    color: #e57373 !important;
}

.red-400 {
    color: #ef5350 !important;
}

.red-500 {
    color: #f44336 !important;
}

.red-600 {
    color: #e53935 !important;
}

.red-700 {
    color: #d32f2f !important;
}

.red-800 {
    color: #c62828 !important;
}

.red-900 {
    color: #b71c1c !important;
}

.red-a100 {
    color: #ff8a80 !important;
}

.red-a200 {
    color: #ff5252 !important;
}

.red-a300 {
    color: #ff1744 !important;
}

.red-a400 {
    color: #d50000 !important;
}

.bg-pink-50 {
    background-color: #fce4ec !important;
}

.bg-pink-100 {
    background-color: #f8bbd0 !important;
}

.bg-pink-200 {
    background-color: #f48fb1 !important;
}

.bg-pink-300 {
    background-color: #f06292 !important;
}

.bg-pink-400 {
    background-color: #ec407a !important;
}

.bg-pink-500 {
    background-color: #e91e63 !important;
}

.bg-pink-600 {
    background-color: #d81b60 !important;
}

.bg-pink-700 {
    background-color: #c2185b !important;
}

.bg-pink-800 {
    background-color: #ad1457 !important;
}

.bg-pink-900 {
    background-color: #880e4f !important;
}

.bg-pink-a100 {
    background-color: #ff80ab !important;
}

.bg-pink-a200 {
    background-color: #ff4081 !important;
}

.bg-pink-a300 {
    background-color: #f50057 !important;
}

.bg-pink-a400 {
    background-color: #c51162 !important;
}

.pink-50 {
    color: #fce4ec !important;
}

.pink-100 {
    color: #f8bbd0 !important;
}

.pink-200 {
    color: #f48fb1 !important;
}

.pink-300 {
    color: #f06292 !important;
}

.pink-400 {
    color: #ec407a !important;
}

.pink-500 {
    color: #e91e63 !important;
}

.pink-600 {
    color: #d81b60 !important;
}

.pink-700 {
    color: #c2185b !important;
}

.pink-800 {
    color: #ad1457 !important;
}

.pink-900 {
    color: #880e4f !important;
}

.pink-a100 {
    color: #ff80ab !important;
}

.pink-a200 {
    color: #ff4081 !important;
}

.pink-a300 {
    color: #f50057 !important;
}

.pink-a400 {
    color: #c51162 !important;
}

.bg-purple-50 {
    background-color: #f3e5f5 !important;
}

.bg-purple-100 {
    background-color: #e1bee7 !important;
}

.bg-purple-200 {
    background-color: #ce93d8 !important;
}

.bg-purple-300 {
    background-color: #ba68c8 !important;
}

.bg-purple-400 {
    background-color: #ab47bc !important;
}

.bg-purple-500 {
    background-color: #9c27b0 !important;
}

.bg-purple-600 {
    background-color: #8e24aa !important;
}

.bg-purple-700 {
    background-color: #7b1fa2 !important;
}

.bg-purple-800 {
    background-color: #6a1b9a !important;
}

.bg-purple-900 {
    background-color: #4a148c !important;
}

.bg-purple-a100 {
    background-color: #ea80fc !important;
}

.bg-purple-a200 {
    background-color: #e040fb !important;
}

.bg-purple-a300 {
    background-color: #d500f9 !important;
}

.bg-purple-a400 {
    background-color: #aa00ff !important;
}

.purple-50 {
    color: #f3e5f5 !important;
}

.purple-100 {
    color: #e1bee7 !important;
}

.purple-200 {
    color: #ce93d8 !important;
}

.purple-300 {
    color: #ba68c8 !important;
}

.purple-400 {
    color: #ab47bc !important;
}

.purple-500 {
    color: #9c27b0 !important;
}

.purple-600 {
    color: #8e24aa !important;
}

.purple-700 {
    color: #7b1fa2 !important;
}

.purple-800 {
    color: #6a1b9a !important;
}

.purple-900 {
    color: #4a148c !important;
}

.purple-a100 {
    color: #ea80fc !important;
}

.purple-a200 {
    color: #e040fb !important;
}

.purple-a300 {
    color: #d500f9 !important;
}

.purple-a400 {
    color: #aa00ff !important;
}

.bg-deep-purple-50 {
    background-color: #ede7f6 !important;
}

.bg-deep-purple-100 {
    background-color: #d1c4e9 !important;
}

.bg-deep-purple-200 {
    background-color: #b39ddb !important;
}

.bg-deep-purple-300 {
    background-color: #9575cd !important;
}

.bg-deep-purple-400 {
    background-color: #7e57c2 !important;
}

.bg-deep-purple-500 {
    background-color: #673ab7 !important;
}

.bg-deep-purple-600 {
    background-color: #5e35b1 !important;
}

.bg-deep-purple-700 {
    background-color: #512da8 !important;
}

.bg-deep-purple-800 {
    background-color: #4527a0 !important;
}

.bg-deep-purple-900 {
    background-color: #311b92 !important;
}

.bg-deep-purple-a100 {
    background-color: #b388ff !important;
}

.bg-deep-purple-a200 {
    background-color: #7c4dff !important;
}

.bg-deep-purple-a300 {
    background-color: #651fff !important;
}

.bg-deep-purple-a400 {
    background-color: #6200ea !important;
}

.deep-purple-50 {
    color: #ede7f6 !important;
}

.deep-purple-100 {
    color: #d1c4e9 !important;
}

.deep-purple-200 {
    color: #b39ddb !important;
}

.deep-purple-300 {
    color: #9575cd !important;
}

.deep-purple-400 {
    color: #7e57c2 !important;
}

.deep-purple-500 {
    color: #673ab7 !important;
}

.deep-purple-600 {
    color: #5e35b1 !important;
}

.deep-purple-700 {
    color: #512da8 !important;
}

.deep-purple-800 {
    color: #4527a0 !important;
}

.deep-purple-900 {
    color: #311b92 !important;
}

.deep-purple-a100 {
    color: #b388ff !important;
}

.deep-purple-a200 {
    color: #7c4dff !important;
}

.deep-purple-a300 {
    color: #651fff !important;
}

.deep-purple-a400 {
    color: #6200ea !important;
}

.bg-indigo-50 {
    background-color: #e8eaf6 !important;
}

.bg-indigo-100 {
    background-color: #c5cae9 !important;
}

.bg-indigo-200 {
    background-color: #9fa8da !important;
}

.bg-indigo-300 {
    background-color: #7986cb !important;
}

.bg-indigo-400 {
    background-color: #5c6bc0 !important;
}

.bg-indigo-500 {
    background-color: #3f51b5 !important;
}

.bg-indigo-600 {
    background-color: #3949ab !important;
}

.bg-indigo-700 {
    background-color: #303f9f !important;
}

.bg-indigo-800 {
    background-color: #283593 !important;
}

.bg-indigo-900 {
    background-color: #1a237e !important;
}

.bg-indigo-a100 {
    background-color: #8c9eff !important;
}

.bg-indigo-a200 {
    background-color: #536dfe !important;
}

.bg-indigo-a300 {
    background-color: #3d5afe !important;
}

.bg-indigo-a400 {
    background-color: #304ffe !important;
}

.indigo-50 {
    color: #e8eaf6 !important;
}

.indigo-100 {
    color: #c5cae9 !important;
}

.indigo-200 {
    color: #9fa8da !important;
}

.indigo-300 {
    color: #7986cb !important;
}

.indigo-400 {
    color: #5c6bc0 !important;
}

.indigo-500 {
    color: #3f51b5 !important;
}

.indigo-600 {
    color: #3949ab !important;
}

.indigo-700 {
    color: #303f9f !important;
}

.indigo-800 {
    color: #283593 !important;
}

.indigo-900 {
    color: #1a237e !important;
}

.indigo-a100 {
    color: #8c9eff !important;
}

.indigo-a200 {
    color: #536dfe !important;
}

.indigo-a300 {
    color: #3d5afe !important;
}

.indigo-a400 {
    color: #304ffe !important;
}

.bg-blue-50 {
    background-color: #e3f2fd !important;
}

.bg-blue-100 {
    background-color: #bbdefb !important;
}

.bg-blue-200 {
    background-color: #90caf9 !important;
}

.bg-blue-300 {
    background-color: #64b5f6 !important;
}

.bg-blue-400 {
    background-color: #42a5f5 !important;
}

.bg-blue-500 {
    background-color: #2196f3 !important;
}

.bg-blue-600 {
    background-color: #1e88e5 !important;
}

.bg-blue-700 {
    background-color: #1976d2 !important;
}

.bg-blue-800 {
    background-color: #1565c0 !important;
}

.bg-blue-900 {
    background-color: #0d47a1 !important;
}

.bg-blue-a100 {
    background-color: #82b1ff !important;
}

.bg-blue-a200 {
    background-color: #448aff !important;
}

.bg-blue-a300 {
    background-color: #2979ff !important;
}

.bg-blue-a400 {
    background-color: #2962ff !important;
}

.blue-50 {
    color: #e3f2fd !important;
}

.blue-100 {
    color: #bbdefb !important;
}

.blue-200 {
    color: #90caf9 !important;
}

.blue-300 {
    color: #64b5f6 !important;
}

.blue-400 {
    color: #42a5f5 !important;
}

.blue-500 {
    color: #2196f3 !important;
}

.blue-600 {
    color: #1e88e5 !important;
}

.blue-700 {
    color: #1976d2 !important;
}

.blue-800 {
    color: #1565c0 !important;
}

.blue-900 {
    color: #0d47a1 !important;
}

.blue-a100 {
    color: #82b1ff !important;
}

.blue-a200 {
    color: #448aff !important;
}

.blue-a300 {
    color: #2979ff !important;
}

.blue-a400 {
    color: #2962ff !important;
}

.bg-light-blue-50 {
    background-color: #e1f5fe !important;
}

.bg-light-blue-100 {
    background-color: #b3e5fc !important;
}

.bg-light-blue-200 {
    background-color: #81d4fa !important;
}

.bg-light-blue-300 {
    background-color: #4fc3f7 !important;
}

.bg-light-blue-400 {
    background-color: #29b6f6 !important;
}

.bg-light-blue-500 {
    background-color: #03a9f4 !important;
}

.bg-light-blue-600 {
    background-color: #039be5 !important;
}

.bg-light-blue-700 {
    background-color: #0288d1 !important;
}

.bg-light-blue-800 {
    background-color: #0277bd !important;
}

.bg-light-blue-900 {
    background-color: #01579b !important;
}

.bg-light-blue-a100 {
    background-color: #80d8ff !important;
}

.bg-light-blue-a200 {
    background-color: #40c4ff !important;
}

.bg-light-blue-a300 {
    background-color: #00b0ff !important;
}

.bg-light-blue-a400 {
    background-color: #0091ea !important;
}

.light-blue-50 {
    color: #e1f5fe !important;
}

.light-blue-100 {
    color: #b3e5fc !important;
}

.light-blue-200 {
    color: #81d4fa !important;
}

.light-blue-300 {
    color: #4fc3f7 !important;
}

.light-blue-400 {
    color: #29b6f6 !important;
}

.light-blue-500 {
    color: #03a9f4 !important;
}

.light-blue-600 {
    color: #039be5 !important;
}

.light-blue-700 {
    color: #0288d1 !important;
}

.light-blue-800 {
    color: #0277bd !important;
}

.light-blue-900 {
    color: #01579b !important;
}

.light-blue-a100 {
    color: #80d8ff !important;
}

.light-blue-a200 {
    color: #40c4ff !important;
}

.light-blue-a300 {
    color: #00b0ff !important;
}

.light-blue-a400 {
    color: #0091ea !important;
}

.bg-cyan-50 {
    background-color: #e0f7fa !important;
}

.bg-cyan-100 {
    background-color: #b2ebf2 !important;
}

.bg-cyan-200 {
    background-color: #80deea !important;
}

.bg-cyan-300 {
    background-color: #4dd0e1 !important;
}

.bg-cyan-400 {
    background-color: #26c6da !important;
}

.bg-cyan-500 {
    background-color: #00bcd4 !important;
}

.bg-cyan-600 {
    background-color: #00acc1 !important;
}

.bg-cyan-700 {
    background-color: #0097a7 !important;
}

.bg-cyan-800 {
    background-color: #00838f !important;
}

.bg-cyan-900 {
    background-color: #006064 !important;
}

.bg-cyan-a100 {
    background-color: #84ffff !important;
}

.bg-cyan-a200 {
    background-color: #18ffff !important;
}

.bg-cyan-a300 {
    background-color: #00e5ff !important;
}

.bg-cyan-a400 {
    background-color: #00b8d4 !important;
}

.cyan-50 {
    color: #e0f7fa !important;
}

.cyan-100 {
    color: #b2ebf2 !important;
}

.cyan-200 {
    color: #80deea !important;
}

.cyan-300 {
    color: #4dd0e1 !important;
}

.cyan-400 {
    color: #26c6da !important;
}

.cyan-500 {
    color: #00bcd4 !important;
}

.cyan-600 {
    color: #00acc1 !important;
}

.cyan-700 {
    color: #0097a7 !important;
}

.cyan-800 {
    color: #00838f !important;
}

.cyan-900 {
    color: #006064 !important;
}

.cyan-a100 {
    color: #84ffff !important;
}

.cyan-a200 {
    color: #18ffff !important;
}

.cyan-a300 {
    color: #00e5ff !important;
}

.cyan-a400 {
    color: #00b8d4 !important;
}

.bg-teal-50 {
    background-color: #e0f2f1 !important;
}

.bg-teal-100 {
    background-color: #b2dfdb !important;
}

.bg-teal-200 {
    background-color: #80cbc4 !important;
}

.bg-teal-300 {
    background-color: #4db6ac !important;
}

.bg-teal-400 {
    background-color: #26a69a !important;
}

.bg-teal-500 {
    background-color: #009688 !important;
}

.bg-teal-600 {
    background-color: #00897b !important;
}

.bg-teal-700 {
    background-color: #00796b !important;
}

.bg-teal-800 {
    background-color: #00695c !important;
}

.bg-teal-900 {
    background-color: #004d40 !important;
}

.bg-teal-a100 {
    background-color: #a7ffeb !important;
}

.bg-teal-a200 {
    background-color: #64ffda !important;
}

.bg-teal-a300 {
    background-color: #1de9b6 !important;
}

.bg-teal-a400 {
    background-color: #00bfa5 !important;
}

.teal-50 {
    color: #e0f2f1 !important;
}

.teal-100 {
    color: #b2dfdb !important;
}

.teal-200 {
    color: #80cbc4 !important;
}

.teal-300 {
    color: #4db6ac !important;
}

.teal-400 {
    color: #26a69a !important;
}

.teal-500 {
    color: #009688 !important;
}

.teal-600 {
    color: #00897b !important;
}

.teal-700 {
    color: #00796b !important;
}

.teal-800 {
    color: #00695c !important;
}

.teal-900 {
    color: #004d40 !important;
}

.teal-a100 {
    color: #a7ffeb !important;
}

.teal-a200 {
    color: #64ffda !important;
}

.teal-a300 {
    color: #1de9b6 !important;
}

.teal-a400 {
    color: #00bfa5 !important;
}

.bg-green-50 {
    background-color: #e8f5e9 !important;
}

.bg-green-100 {
    background-color: #c8e6c9 !important;
}

.bg-green-200 {
    background-color: #a5d6a7 !important;
}

.bg-green-300 {
    background-color: #81c784 !important;
}

.bg-green-400 {
    background-color: #66bb6a !important;
}

.bg-green-500 {
    background-color: #4caf50 !important;
}

.bg-green-600 {
    background-color: #43a047 !important;
}

.bg-green-700 {
    background-color: #388e3c !important;
}

.bg-green-800 {
    background-color: #2e7d32 !important;
}

.bg-green-900 {
    background-color: #1b5e20 !important;
}

.bg-green-a100 {
    background-color: #b9f6ca !important;
}

.bg-green-a200 {
    background-color: #69f0ae !important;
}

.bg-green-a300 {
    background-color: #00e676 !important;
}

.bg-green-a400 {
    background-color: #00c853 !important;
}

.green-50 {
    color: #e8f5e9 !important;
}

.green-100 {
    color: #c8e6c9 !important;
}

.green-200 {
    color: #a5d6a7 !important;
}

.green-300 {
    color: #81c784 !important;
}

.green-400 {
    color: #66bb6a !important;
}

.green-500 {
    color: #4caf50 !important;
}

.green-600 {
    color: #43a047 !important;
}

.green-700 {
    color: #388e3c !important;
}

.green-800 {
    color: #2e7d32 !important;
}

.green-900 {
    color: #1b5e20 !important;
}

.green-a100 {
    color: #b9f6ca !important;
}

.green-a200 {
    color: #69f0ae !important;
}

.green-a300 {
    color: #00e676 !important;
}

.green-a400 {
    color: #00c853 !important;
}

.bg-light-green-50 {
    background-color: #f1f8e9 !important;
}

.bg-light-green-100 {
    background-color: #dcedc8 !important;
}

.bg-light-green-200 {
    background-color: #c5e1a5 !important;
}

.bg-light-green-300 {
    background-color: #aed581 !important;
}

.bg-light-green-400 {
    background-color: #9ccc65 !important;
}

.bg-light-green-500 {
    background-color: #8bc34a !important;
}

.bg-light-green-600 {
    background-color: #7cb342 !important;
}

.bg-light-green-700 {
    background-color: #689f38 !important;
}

.bg-light-green-800 {
    background-color: #558b2f !important;
}

.bg-light-green-900 {
    background-color: #33691e !important;
}

.bg-light-green-a100 {
    background-color: #ccff90 !important;
}

.bg-light-green-a200 {
    background-color: #b2ff59 !important;
}

.bg-light-green-a300 {
    background-color: #76ff03 !important;
}

.bg-light-green-a400 {
    background-color: #64dd17 !important;
}

.light-green-50 {
    color: #f1f8e9 !important;
}

.light-green-100 {
    color: #dcedc8 !important;
}

.light-green-200 {
    color: #c5e1a5 !important;
}

.light-green-300 {
    color: #aed581 !important;
}

.light-green-400 {
    color: #9ccc65 !important;
}

.light-green-500 {
    color: #8bc34a !important;
}

.light-green-600 {
    color: #7cb342 !important;
}

.light-green-700 {
    color: #689f38 !important;
}

.light-green-800 {
    color: #558b2f !important;
}

.light-green-900 {
    color: #33691e !important;
}

.light-green-a100 {
    color: #ccff90 !important;
}

.light-green-a200 {
    color: #b2ff59 !important;
}

.light-green-a300 {
    color: #76ff03 !important;
}

.light-green-a400 {
    color: #64dd17 !important;
}

.bg-lime-50 {
    background-color: #f9fbe7 !important;
}

.bg-lime-100 {
    background-color: #f0f4c3 !important;
}

.bg-lime-200 {
    background-color: #e6ee9c !important;
}

.bg-lime-300 {
    background-color: #dce775 !important;
}

.bg-lime-400 {
    background-color: #d4e157 !important;
}

.bg-lime-500 {
    background-color: #cddc39 !important;
}

.bg-lime-600 {
    background-color: #c0ca33 !important;
}

.bg-lime-700 {
    background-color: #afb42b !important;
}

.bg-lime-800 {
    background-color: #9e9d24 !important;
}

.bg-lime-900 {
    background-color: #827717 !important;
}

.bg-lime-a100 {
    background-color: #f4ff81 !important;
}

.bg-lime-a200 {
    background-color: #eeff41 !important;
}

.bg-lime-a300 {
    background-color: #c6ff00 !important;
}

.bg-lime-a400 {
    background-color: #aeea00 !important;
}

.lime-50 {
    color: #f9fbe7 !important;
}

.lime-100 {
    color: #f0f4c3 !important;
}

.lime-200 {
    color: #e6ee9c !important;
}

.lime-300 {
    color: #dce775 !important;
}

.lime-400 {
    color: #d4e157 !important;
}

.lime-500 {
    color: #cddc39 !important;
}

.lime-600 {
    color: #c0ca33 !important;
}

.lime-700 {
    color: #afb42b !important;
}

.lime-800 {
    color: #9e9d24 !important;
}

.lime-900 {
    color: #827717 !important;
}

.lime-a100 {
    color: #f4ff81 !important;
}

.lime-a200 {
    color: #eeff41 !important;
}

.lime-a300 {
    color: #c6ff00 !important;
}

.lime-a400 {
    color: #aeea00 !important;
}

.bg-yellow-50 {
    background-color: #fffde7 !important;
}

.bg-yellow-100 {
    background-color: #fff9c4 !important;
}

.bg-yellow-200 {
    background-color: #fff59d !important;
}

.bg-yellow-300 {
    background-color: #fff176 !important;
}

.bg-yellow-400 {
    background-color: #ffee58 !important;
}

.bg-yellow-500 {
    background-color: #ffeb3b !important;
}

.bg-yellow-600 {
    background-color: #fdd835 !important;
}

.bg-yellow-700 {
    background-color: #fbc02d !important;
}

.bg-yellow-800 {
    background-color: #f9a825 !important;
}

.bg-yellow-900 {
    background-color: #f57f17 !important;
}

.bg-yellow-a100 {
    background-color: #ffff8d !important;
}

.bg-yellow-a200 {
    background-color: #ffff00 !important;
}

.bg-yellow-a300 {
    background-color: #ffea00 !important;
}

.bg-yellow-a400 {
    background-color: #ffd600 !important;
}

.yellow-50 {
    color: #fffde7 !important;
}

.yellow-100 {
    color: #fff9c4 !important;
}

.yellow-200 {
    color: #fff59d !important;
}

.yellow-300 {
    color: #fff176 !important;
}

.yellow-400 {
    color: #ffee58 !important;
}

.yellow-500 {
    color: #ffeb3b !important;
}

.yellow-600 {
    color: #fdd835 !important;
}

.yellow-700 {
    color: #fbc02d !important;
}

.yellow-800 {
    color: #f9a825 !important;
}

.yellow-900 {
    color: #f57f17 !important;
}

.yellow-a100 {
    color: #ffff8d !important;
}

.yellow-a200 {
    color: #ffff00 !important;
}

.yellow-a300 {
    color: #ffea00 !important;
}

.yellow-a400 {
    color: #ffd600 !important;
}

.bg-amber-50 {
    background-color: #fff8e1 !important;
}

.bg-amber-100 {
    background-color: #ffecb3 !important;
}

.bg-amber-200 {
    background-color: #ffe082 !important;
}

.bg-amber-300 {
    background-color: #ffd54f !important;
}

.bg-amber-400 {
    background-color: #ffca28 !important;
}

.bg-amber-500 {
    background-color: #ffc107 !important;
}

.bg-amber-600 {
    background-color: #ffb300 !important;
}

.bg-amber-700 {
    background-color: #ffa000 !important;
}

.bg-amber-800 {
    background-color: #ff8f00 !important;
}

.bg-amber-900 {
    background-color: #ff6f00 !important;
}

.bg-amber-a100 {
    background-color: #ffe57f !important;
}

.bg-amber-a200 {
    background-color: #ffd740 !important;
}

.bg-amber-a300 {
    background-color: #ffc400 !important;
}

.bg-amber-a400 {
    background-color: #ffab00 !important;
}

.amber-50 {
    color: #fff8e1 !important;
}

.amber-100 {
    color: #ffecb3 !important;
}

.amber-200 {
    color: #ffe082 !important;
}

.amber-300 {
    color: #ffd54f !important;
}

.amber-400 {
    color: #ffca28 !important;
}

.amber-500 {
    color: #ffc107 !important;
}

.amber-600 {
    color: #ffb300 !important;
}

.amber-700 {
    color: #ffa000 !important;
}

.amber-800 {
    color: #ff8f00 !important;
}

.amber-900 {
    color: #ff6f00 !important;
}

.amber-a100 {
    color: #ffe57f !important;
}

.amber-a200 {
    color: #ffd740 !important;
}

.amber-a300 {
    color: #ffc400 !important;
}

.amber-a400 {
    color: #ffab00 !important;
}

.bg-orange-50 {
    background-color: #fff3e0 !important;
}

.bg-orange-100 {
    background-color: #ffe0b2 !important;
}

.bg-orange-200 {
    background-color: #ffcc80 !important;
}

.bg-orange-300 {
    background-color: #ffb74d !important;
}

.bg-orange-400 {
    background-color: #ffa726 !important;
}

.bg-orange-500 {
    background-color: #ff9800 !important;
}

.bg-orange-600 {
    background-color: #fb8c00 !important;
}

.bg-orange-700 {
    background-color: #f57c00 !important;
}

.bg-orange-800 {
    background-color: #ef6c00 !important;
}

.bg-orange-900 {
    background-color: #e65100 !important;
}

.bg-orange-a100 {
    background-color: #ffd180 !important;
}

.bg-orange-a200 {
    background-color: #ffab40 !important;
}

.bg-orange-a300 {
    background-color: #ff9100 !important;
}

.bg-orange-a400 {
    background-color: #ff6d00 !important;
}

.orange-50 {
    color: #fff3e0 !important;
}

.orange-100 {
    color: #ffe0b2 !important;
}

.orange-200 {
    color: #ffcc80 !important;
}

.orange-300 {
    color: #ffb74d !important;
}

.orange-400 {
    color: #ffa726 !important;
}

.orange-500 {
    color: #ff9800 !important;
}

.orange-600 {
    color: #fb8c00 !important;
}

.orange-700 {
    color: #f57c00 !important;
}

.orange-800 {
    color: #ef6c00 !important;
}

.orange-900 {
    color: #e65100 !important;
}

.orange-a100 {
    color: #ffd180 !important;
}

.orange-a200 {
    color: #ffab40 !important;
}

.orange-a300 {
    color: #ff9100 !important;
}

.orange-a400 {
    color: #ff6d00 !important;
}

.bg-deep-orange-50 {
    background-color: #fbe9e7 !important;
}

.bg-deep-orange-100 {
    background-color: #ffccbc !important;
}

.bg-deep-orange-200 {
    background-color: #ffab91 !important;
}

.bg-deep-orange-300 {
    background-color: #ff8a65 !important;
}

.bg-deep-orange-400 {
    background-color: #ff7043 !important;
}

.bg-deep-orange-500 {
    background-color: #ff5722 !important;
}

.bg-deep-orange-600 {
    background-color: #f4511e !important;
}

.bg-deep-orange-700 {
    background-color: #e64a19 !important;
}

.bg-deep-orange-800 {
    background-color: #d84315 !important;
}

.bg-deep-orange-900 {
    background-color: #bf360c !important;
}

.bg-deep-orange-a100 {
    background-color: #ff9e80 !important;
}

.bg-deep-orange-a200 {
    background-color: #ff6e40 !important;
}

.bg-deep-orange-a300 {
    background-color: #ff3d00 !important;
}

.bg-deep-orange-a400 {
    background-color: #dd2c00 !important;
}

.deep-orange-50 {
    color: #fbe9e7 !important;
}

.deep-orange-100 {
    color: #ffccbc !important;
}

.deep-orange-200 {
    color: #ffab91 !important;
}

.deep-orange-300 {
    color: #ff8a65 !important;
}

.deep-orange-400 {
    color: #ff7043 !important;
}

.deep-orange-500 {
    color: #ff5722 !important;
}

.deep-orange-600 {
    color: #f4511e !important;
}

.deep-orange-700 {
    color: #e64a19 !important;
}

.deep-orange-800 {
    color: #d84315 !important;
}

.deep-orange-900 {
    color: #bf360c !important;
}

.deep-orange-a100 {
    color: #ff9e80 !important;
}

.deep-orange-a200 {
    color: #ff6e40 !important;
}

.deep-orange-a300 {
    color: #ff3d00 !important;
}

.deep-orange-a400 {
    color: #dd2c00 !important;
}

.bg-brown-50 {
    background-color: #efebe9 !important;
}

.bg-brown-100 {
    background-color: #d7ccc8 !important;
}

.bg-brown-200 {
    background-color: #bcaaa4 !important;
}

.bg-brown-300 {
    background-color: #a1887f !important;
}

.bg-brown-400 {
    background-color: #8d6e63 !important;
}

.bg-brown-500 {
    background-color: #795548 !important;
}

.bg-brown-600 {
    background-color: #6d4c41 !important;
}

.bg-brown-700 {
    background-color: #5d4037 !important;
}

.bg-brown-800 {
    background-color: #4e342e !important;
}

.bg-brown-900 {
    background-color: #3e2723 !important;
}

.brown-50 {
    color: #efebe9 !important;
}

.brown-100 {
    color: #d7ccc8 !important;
}

.brown-200 {
    color: #bcaaa4 !important;
}

.brown-300 {
    color: #a1887f !important;
}

.brown-400 {
    color: #8d6e63 !important;
}

.brown-500 {
    color: #795548 !important;
}

.brown-600 {
    color: #6d4c41 !important;
}

.brown-700 {
    color: #5d4037 !important;
}

.brown-800 {
    color: #4e342e !important;
}

.brown-900 {
    color: #3e2723 !important;
}

.bg-grey-50 {
    background-color: #fafafa !important;
}

.bg-grey-100 {
    background-color: #f5f5f5 !important;
}

.bg-grey-200 {
    background-color: #eeeeee !important;
}

.bg-grey-300 {
    background-color: #e0e0e0 !important;
}

.bg-grey-400 {
    background-color: #bdbdbd !important;
}

.bg-grey-500 {
    background-color: #9e9e9e !important;
}

.bg-grey-600 {
    background-color: #757575 !important;
}

.bg-grey-700 {
    background-color: #616161 !important;
}

.bg-grey-800 {
    background-color: #424242 !important;
}

.bg-grey-900 {
    background-color: #212121 !important;
}

.grey-50 {
    color: #fafafa !important;
}

.grey-100 {
    color: #f5f5f5 !important;
}

.grey-200 {
    color: #eeeeee !important;
}

.grey-300 {
    color: #e0e0e0 !important;
}

.grey-400 {
    color: #bdbdbd !important;
}

.grey-500 {
    color: #9e9e9e !important;
}

.grey-600 {
    color: #757575 !important;
}

.grey-700 {
    color: #616161 !important;
}

.grey-800 {
    color: #424242 !important;
}

.grey-900 {
    color: #212121 !important;
}

.bg-blue-grey-50 {
    background-color: #eceff1 !important;
}

.bg-blue-grey-100 {
    background-color: #cfd8dc !important;
}

.bg-blue-grey-200 {
    background-color: #b0bec5 !important;
}

.bg-blue-grey-300 {
    background-color: #90a4ae !important;
}

.bg-blue-grey-400 {
    background-color: #78909c !important;
}

.bg-blue-grey-500 {
    background-color: #607d8b !important;
}

.bg-blue-grey-600 {
    background-color: #546e7a !important;
}

.bg-blue-grey-700 {
    background-color: #455a64 !important;
}

.bg-blue-grey-800 {
    background-color: #37474f !important;
}

.bg-blue-grey-900 {
    background-color: #263238 !important;
}

.blue-grey-50 {
    color: #eceff1 !important;
}

.blue-grey-100 {
    color: #cfd8dc !important;
}

.blue-grey-200 {
    color: #b0bec5 !important;
}

.blue-grey-300 {
    color: #90a4ae !important;
}

.blue-grey-400 {
    color: #78909c !important;
}

.blue-grey-500 {
    color: #607d8b !important;
}

.blue-grey-600 {
    color: #546e7a !important;
}

.blue-grey-700 {
    color: #455a64 !important;
}

.blue-grey-800 {
    color: #37474f !important;
}

.blue-grey-900 {
    color: #263238 !important;
}

.bg-primary-50 {
    background-color: #e8eaf6 !important;
}

.bg-primary-100 {
    background-color: #c5cae9 !important;
}

.bg-primary-200 {
    background-color: #9fa8da !important;
}

.bg-primary-300 {
    background-color: #7986cb !important;
}

.bg-primary-400 {
    background-color: #5c6bc0 !important;
}

.bg-primary-500 {
    background-color: #3f51b5 !important;
}

.bg-primary-600 {
    background-color: #3949ab !important;
}

.bg-primary-700 {
    background-color: #303f9f !important;
}

.bg-primary-800 {
    background-color: #283593 !important;
}

.bg-primary-900 {
    background-color: #1a237e !important;
}

.primary-50 {
    color: #e8eaf6 !important;
}

.primary-100 {
    color: #c5cae9 !important;
}

.primary-200 {
    color: #9fa8da !important;
}

.primary-300 {
    color: #7986cb !important;
}

.primary-400 {
    color: #5c6bc0 !important;
}

.primary-500 {
    color: #3f51b5 !important;
}

.primary-600 {
    color: #3949ab !important;
}

.primary-700 {
    color: #303f9f !important;
}

.primary-800 {
    color: #283593 !important;
}

.primary-900 {
    color: #1a237e !important;
}

.black {
    color: #000 !important;
}

.white {
    color: #fff !important;
}

/* Processing indicator for products box */
.products_box.processing {
    opacity: 0.7;
    position: relative;
}
.products_box.processing:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.5);
    z-index: 1;
}

/* Enhanced Autocomplete Container */
.ui-autocomplete {
    max-height: 70vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #fff !important;
    z-index: 10000 !important;
    width: auto !important;
    min-width: 420px !important; /* Wider container */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Modern scrollbar design */
.ui-autocomplete::-webkit-scrollbar {
    width: 5px !important;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 10px !important;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background: transparent !important;
}

/* Individual suggestion item */
.ui-menu-item {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.ui-menu-item:last-child {
    border-bottom: none !important;
}

.ui-menu-item .ui-menu-item-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    transition: background-color 0.15s ease !important;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background-color: rgba(0, 123, 255, 0.08) !important;
    border: none !important;
    margin: 0 !important;
    color: inherit !important;
}

.product-suggestion.ui-menu-item-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.01) !important;
    border-left: 3px solid #1b84ff !important;
    /*padding-left: 10px !important;*/
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

/* Product info container */
.product-info {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important; /* Slightly more spacing */
    align-items: center !important;
    padding: 8px;
}

/* Product name styling */
.product-name {
    font-weight: 600 !important;
    color: #1e293b !important;
    font-size: 14px !important; /* Larger font size */
    line-height: 1.4 !important;
    margin-right: 8px !important;
    flex: 1 1 auto !important;
    min-width: 180px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Variant styling */
.variant {
    color: #475569 !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 12px !important; /* Larger font */
    background: rgba(99, 102, 241, 0.08) !important;
    padding: 2px 8px !important; /* More padding */
    border-radius: 4px !important;
    display: inline-flex !important;
    white-space: nowrap !important;
}

/* SKU styling */
.product-sku {
    color: #64748b !important;
    background: rgba(100, 116, 139, 0.08) !important;
    padding: 2px 8px !important; /* More padding */
    border-radius: 4px !important;
    font-size: 12px !important; /* Larger font */
    display: inline-block !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    letter-spacing: -0.3px !important;
    border: 1px solid rgba(100, 116, 139, 0.15) !important;
    white-space: nowrap !important;
    margin-right: 5px !important;
}

/* Product details section - inline instead of below */
.product-details {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important; /* More gap */
    flex-wrap: nowrap !important;
    margin-left: auto !important; /* Push to the right */
}

/* Price styling */
.product-price {
    font-weight: 600 !important;
    color: #0369a1 !important;
    background: rgba(3, 105, 161, 0.08) !important;
    padding: 2px 8px !important; /* More padding */
    border-radius: 4px !important;
    font-size: 13px !important; /* Larger font */
    border: 1px solid rgba(3, 105, 161, 0.15) !important;
    white-space: nowrap !important;
}

/* Stock indicator styling */
.product-stock {
    padding: 2px 8px !important; /* More padding */
    border-radius: 4px !important;
    font-size: 12px !important; /* Larger font */
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

/* In stock indicator */
.product-stock.in-stock {
    color: #16a34a !important;
    background: rgba(22, 163, 74, 0.08) !important;
    border: 1px solid rgba(22, 163, 74, 0.15) !important;
}

/* Low stock indicator */
.product-stock.low-stock {
    color: #ca8a04 !important;
    background: rgba(202, 138, 4, 0.08) !important;
    border: 1px solid rgba(202, 138, 4, 0.15) !important;
}

/* Out of stock indicator */
.product-stock.out-of-stock {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.08) !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
}

/* Out of stock product styling */
.product-suggestion.out-of-stock {
    opacity: 0.8 !important;
    background-color: rgba(0, 0, 0, 0.01) !important;
}

.product-suggestion.out-of-stock .product-name {
    color: #64748b !important;
}

/* Responsive adjustments for small screens */
@media (max-width: 480px) {
    .product-details {
        margin-left: 0 !important;
        margin-top: 4px !important;
    }

    .product-name {
        min-width: 100% !important;
    }
}

input[readonly] {
    background-color: #e9ecef !important;
}

.form-control[readonly] {
    background-color: #e9ecef !important;
}
