:root {
    --primary-font:
        ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    --black: #000;
    --black-10: rgba(0, 0, 0, 0.1);
    --black-100: #171717;
    --black-200: #0a0a0a;
    --black-300: #404040;
    --black-400: #030213;
    --white: #ffffff;
    --grey: #f3f3f5;
    --grey-100: #fafafa;
    --grey-200: #e5e5e5;
    --grey-300: #f5f5f5;
    --grey-400: #737373;
    --grey-500: #525252;
    --grey-600: #a1a1a1;
    --grey-700: #e9ebef;
    --grey-800: #eaeaea;
    --grey-900: #767676;
    --grey--1000: #dcfce7;
    --bs-dropdown-link-color: var(--black-200);
    --text-red: #e7000b;
    --text-green: #016630;
    --radio-color: #258292;
    --light-grey: #cbced4;
    --light-grey-100: #717182;
    --light-grey-200: #fef3c6;
    --light-grey-300: #d4d4d4;

    --primary-blue: #155dfc;
    --primary-purple: #9810fa;
    --maroon: #973c00;
    --shadow-sm:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
}

.text-grey-500 {
    color: var(--grey-500);
}

.text-grey-400 {
    color: var(--grey-400);
}

.text-danger {
    color: var(--text-red) !important;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    color: var(--black-200);
}

body,
* {
    font-family: var(--primary-font);
}

img {
    max-width: 100%;
}

.shadow-sm {
    --tw-shadow:
        0 1px 3px 0 var(--tw-shadow-color, var(--black-10)), 0 1px 2px -1px var(--tw-shadow-color, var(--black-10));
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
        rgba(0, 0, 0, 0.1) 0px 1px 2px -1px !important;
}

input.form-control.search-input {
    padding-left: 36px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23a1a1a1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search-icon lucide-search"><path d="m21 21-4.34-4.34"/><circle cx="11" cy="11" r="8"/></svg>');
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 12px 9px;
}

input:focus-visible,
.form-control:focus {
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        oklab(0.708995 0.0000324249 0.0000141263 / 0.5) 0px 0px 0px 3px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px;
    border-color: var(--grey-600);
}

input:focus-visible {
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        oklab(0.708995 0.0000324249 0.0000141263 / 0.5) 0px 0px 0px 3px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px;
    border-color: var(--grey-600);
}



.subtable {
  margin-top: 10px;
  font-size: 13px;
  border-radius: 6px;
  overflow: hidden;
}

.subtable th {
  font-weight: 600;
  white-space: nowrap;
}

.subtable td {
  vertical-align: middle;
}

.subtable .badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
}



/* login Page start */
.login-wrapper {
    padding: 16px;
    background-color: var(--grey-100);
    display: flex;
    flex-direction: column;
}

.login-wrapper .row {
    flex: 1;
}

.logo-box {
    max-width: 48px;
    align-self: flex-start;
    margin-bottom: 32px;
}

.login-wrapper .container {
    max-width: 472px;
}

.login-card {
    padding: 32px;
    border-radius: 10px;
    border: 1px solid var(--grey-200);
    background: var(--white);
    width: 100%;
}

.login-card-heading {
    line-height: 1.35;
    margin-bottom: 8px;
}

.login-card form {
    margin-top: 24px;
}

.login-card-dec {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--grey-500);
}

.select2-container--open span.select2-selection__arrow {
    transform: scaleY(-1);
    opacity: 1;
    background-position-x: 0px !important;
    transition: 0.2s all linear;
}

span.select2-selection__arrow {
    transition: 0.2s all linear;
    transform: scaleY(1);
}

.selected-date-wrapper {
    background: var(--grey-100);
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    padding: 8px 16px;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.selected-date-wrapper label.form-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--grey-400);
    line-height: 16px;
    margin-bottom: 0;
}

.selected-date-wrapper p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    margin-top: 2px !important;
    line-height: 20px;
}

label.form-label {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1;
}

.input-group-wrapper {
    margin-bottom: 16px;
    line-height: 1;
}

input.form-control {
    font-size: 14px;
    border-radius: 8px;
    line-height: 1.5;
    min-height: 36px;
    background: var(--grey);
    border-color: transparent;
    padding: 4px 12px;
}

.btn {
    padding: 4px 16px;
    font-size: 14px;
    line-height: 1;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 36px;
}

.btn.btn-primary {
    background: var(--black-400);
    border-color: transparent;
    min-height: 36px;
}

.btn.btn-primary svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.btn-group.filter-radios {
    gap: 8px;
}

.btn-group.filter-radios label.btn.btn-outline-primary {
    padding: 9px 16px;
    border-radius: 8px;
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--black-10) !important;
    min-height: 36px;
    color: var(--black-400) !important;
    line-height: 1.286;
}

.btn-outline-primary:hover {
    background-color: var(--grey-700) !important;
    border-color: var(--grey-600) !important;
    color: var(--black-400) !important;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    background-color: var(--black-100) !important;
    color: var(--white) !important;
    border-color: var(--black-100) !important;
}

.btn.btn-primary:active,
.btn.btn-primary:focus,
.btn.btn-primary:focus-visible {
    background: var(--black-400);
    border-color: transparent;
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        oklab(0.708995 0.0000324249 0.0000141263 / 0.5) 0px 0px 0px 3px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px !important;
    border-color: var(--grey-600);
}

a.forgot-link {
    margin-top: 16px;
    text-decoration: none;
    color: var(--grey-500);
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    display: inline-flex;
    gap: 4px;
}

a.forgot-link svg {
    width: 12px;
    height: 12px;
    align-self: center;
    position: relative;
    top: 1px;
}

a.forgot-link:hover {
    color: var(--black-100);
}

.btn.btn-primary:hover {
    opacity: 0.9;
}

span.password-btn {
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 20px;
    cursor: pointer;
    min-height: calc(36px - 2px);
}

span.password-btn svg {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}

span.password-btn .eye-icon-off {
    display: none;
}

span.password-btn svg * {
    stroke: var(--grey-600);
}

span.password-btn.active .eye-icon-off {
    display: block;
}

span.password-btn.active .eye-icon {
    display: none;
}

span.password-btn:hover svg * {
    stroke: var(--black-300);
}

input.form-control[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar-days-icon lucide-calendar-days"><path d="M8 2v4"/><path d="M16 2v4"/><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M3 10h18"/><path d="M8 14h.01"/><path d="M12 14h.01"/><path d="M16 14h.01"/><path d="M8 18h.01"/><path d="M12 18h.01"/><path d="M16 18h.01"/></svg>');
    background-repeat: no-repeat;
}

input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;
    color: fieldtext !important;
}

/* login Page end */

/* home page start */
.sidebar-wrapper {
    flex: 0 0 255px;
    max-width: 255px;
    border-right: 1px solid var(--grey-200);
    padding: 0;
    background: var(--white);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

.main-content-area {
    flex: 0 0 calc(100% - 255px);
    max-width: calc(100% - 255px);
    padding: 0;
    display: flex;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
}

.top-header {
    border-bottom: 1px solid var(--grey-200);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
}

.sidebar-logo-wrapper {
    padding: 24px;
    border-bottom: 1px solid var(--grey-200);
    position: relative;
}

.sidebar-menu-wrapper {
    padding: 16px;
    flex: 1;
    overflow: auto;
}

.header-left-section p {
    color: var(--grey-500);
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 4px;
    line-height: 20px;
}

.header-left-section .btn-group.filter-radios {
    margin-top: 16px;
}

.sidebar-bottom-section {
    padding: 16px;
    border-top: 1px solid var(--grey-200);
}

.bottom-main-content {
    flex: 1;
    overflow: auto;
    background-color: var(--grey-100);
    display: flex;
    flex-direction: column;
}

.bottom-main-content-bottom {
    padding: 24px 32px;
}

.bottom-main-content-top {
    border-bottom: 1px solid var(--grey-200);
    padding: 24px 32px;
    background-color: var(--white);
}

.category-row {
    cursor: pointer;
}

.department-filter-inner {
    background: var(--grey-100);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--grey-800);
    margin-top: 2px;
    margin-bottom: 24px;
    max-height: 192px;
    overflow: auto;
}

.department-filter-wrapper>label+p {
    font-size: 12px;
    line-height: 16px;
    color: var(--grey-500);
    margin-bottom: 12px;
    margin-top: 2px;
}

label.form-check-label {
    font-size: 14px;
    font-weight: 500;
}

.form-check {
    line-height: 20px;
    min-height: 20px;
    margin-bottom: 8px;
}

.department-filter-inner .form-check {
    margin-bottom: 12px;
}

.form-check:last-of-type,
.department-filter-inner .form-check:last-of-type {
    margin-bottom: 0;
}

.form-check-input[type="checkbox"] {
    border-color: var(--black-10);
    border-radius: 4px;
    background-color: var(--grey);
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    position: relative;
    top: -1px;
}

.form-check-input[type="checkbox"]:checked {
    background-color: var(--black-400);
}

.sidebar-menu-wrapper a.nav-link {
    color: var(--black-300);
    font-size: 14px;
    display: flex;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    line-height: 20px;
}

.sidebar-menu-wrapper ul.nav {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-bottom: 16px;
    gap: 1px;
}

.sidebar-menu-wrapper a.nav-link.active,
.sidebar-menu-wrapper a.nav-link.active:hover {
    background: var(--black-100);
    color: var(--white);
}

.sidebar-menu-wrapper a.nav-link:hover {
    background: var(--grey-300);
    color: var(--black-300);
}

p.menu-heading {
    font-size: 12px;
    font-weight: 500;
    color: var(--grey-400);
    margin-bottom: 8px;
    padding: 0 12px;
}

.sidebar-menu-wrapper ul.nav:last-of-type {
    margin-bottom: 0;
}

.sidebar-menu-wrapper a.nav-link svg,
.sidebar-menu-wrapper a.nav-link i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    object-fit: contain;
    position: relative;
    top: 2px;
}

.sidebar-logo-wrapper p {
    font-size: 14px;
    color: var(--grey-400);
    line-height: 1.35;
    margin: 4px 0 0 0;
}

.sidebar-logo-wrapper h1 {
    font-size: 24px;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

.sidebar-logo-wrapper>a {
    max-width: 90%;
    margin-bottom: 12px;
    display: inline-block;
}

h4.user-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin: 0;
}

p.user-email-id,
p.user-role {
    font-size: 12px;
    color: var(--grey-400);
    line-height: 16px;
    margin: 0;
}

p.user-role {
    margin-top: 4px;
}

.sidebar-bottom-section .btn {
    margin-top: 12px;
}

.logout-btn {
    justify-content: flex-start;
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
}

.logout-btn svg {
    width: 16px;
    height: auto;
    margin-right: 8px;
}

.form-check-input[type="radio"] {
    border-color: var(--grey-900);
    outline: none;
    box-shadow: none;
}

.form-check-input[type="radio"]:checked {
    border-color: var(--radio-color);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23258292'/%3e%3c/svg%3e");
    background-size: 20px;
    background-position: center;
}

.access-btn-wrapper {
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.access-btn-wrapper .btn {
    padding: 7px 12px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 500;
    gap: 14px;
    align-items: center;
}

.access-btn-wrapper .btn svg {
    width: 16px;
    height: 16px;
}

.dates-filter-wrapper .input-group-wrapper {
    margin-bottom: 0;
}

.dates-filter-wrapper {
    margin-bottom: 16px;
}

.dates-filter-wrapper .row {
    row-gap: 12px;
    --bs-gutter-x: 12px;
}

.pagination-btn-wrapper {
    display: flex;
    gap: 10px;
}

.pagination-btn-wrapper>span,
.pagination-btn-wrapper>a {
    border: 1px solid var(--black-10);
    border-radius: 8px;
    padding: 4px 12px;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    margin: 0 !important;
}

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

.pagination-btn-wrapper>span {
    color: inherit !important;
    opacity: 0.5;
}

.pagination-btn-wrapper>a:hover {
    background: var(--grey-700);

    color: var(--black-400);
}

/* table design start */
.category-row-inenr {
    padding-left: 24px;
    position: relative;
}

.category-row-inenr:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-4 h-4 print:hidden"><path d="m6 9 6 6 6-6"></path></svg>');
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center;
    transform: rotate(0deg);
    transition: 0.3s all linear;
    transform-origin: center;
}

tr.table-dark.category-row.collapsed .category-row-inenr:before {
    transform: rotate(-90deg);
    transition: 0.3s all linear;
}

tr.table-dark.category-row td {
    border-top: 1px solid var(--light-grey-300) !important;
    border-bottom: 1px solid var(--light-grey-300) !important;
}

th.qty {
    max-width: 90px;
    width: 90px;
}

.production-grid-table th p {
    font-size: 12px;
}

.production-grid-table tbody tr td:not(:first-child),
.production-grid-table tfoot tr td:not(:first-child) {
    text-align: center;
}

.production-grid-table th,
.production-grid-table td {
    border-right: 1px solid var(--grey-200) !important;
}

.production-grid-table th:last-child,
.production-grid-table td:last-child {
    border-right: 0 !important;
}

.production-grid-table th,
.production-grid-table td {
    padding: 12px 16px !important;
}

.production-grid-table tr.table-dark td {
    padding: 8px 16px !important;
}

.production-grid-table tfoot td p {
    font-size: 16px;
    color: var(--black-200) !important;
}

.table> :not(caption)>*>* {
    color: var(--black-200);
}

tr.table-dark td:hover {
    background: var(--black-200) !important;
}

.text-white p {
    color: var(--white);
}

th,
td {
    border: 1px solid var(--grey-200);
}

tbody tr:hover td {
    background-color: var(--grey-100) !important;
}

tfoot tr td {
    background-color: var(--grey-100) !important;
    border-bottom: 1px solid var(--grey-200);
}

tr.table-dark.category-row td {
    padding: 12px 24px !important;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

tr.table-dark.category-row td strong {
    font-weight: 600;
}

th:first-child {
    border-top-left-radius: 12px;
}

th:last-child {
    border-top-right-radius: 12px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    background-color: var(--grey-300);
    padding: 12px 24px !important;
    font-size: 14px;
    font-weight: 600;
}

th.actions {
    min-width: 100px;
    width: 100px;
}

tfoot td {
    font-size: 12px;
    /* color: var(--grey-500) !important; */
    line-height: 16px;
}

tfoot td p {
    margin: 0;
}

tfoot td p+p {
    margin-top: 4px;
}

.empty-td {
    color: var(--grey-600);
}

tfoot tr:first-child td {
    border-top: 1px solid var(--grey-200);
}

tfoot tr:last-child td:first-child,
tfoot tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

td p {
    margin-bottom: 0;
}

tfoot tr:last-child td:last-child,
tfoot tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.table-bordered> :not(caption)>*>* {
    border-width: 1px;
}

tr.table-dark.category-row td {
    border-color: transparent;
}

.table-bordered tr+tr td {
    border-top: 0px;
}

.table-bordered tbody tr+tr:last-child td {
    border-bottom: 0;
}

.table-bordered tbody tr td,
.table-bordered tr th {
    border-right: 0;

    border-left: 0;
}

.table-bordered tr th {
    border-bottom: 0;
}

.table-bordered tbody tr td:first-child,
.table-bordered tr th:first-child {
    border-left: 0;
}

.department-filter-inner .row {
    row-gap: 12px;
}

table.table.table-bordered {
    border-left: 1px solid var(--grey-200);
    border-radius: 14px;
    border-right: 1px solid var(--grey-200);
}

td {
    border-color: var(--grey-300);
    padding: 16px 24px !important;
}

.ingredient-usage th:nth-child(3),
.ingredient-usage th:nth-child(4),
.ingredient-usage td:nth-child(3),
.ingredient-usage td:nth-child(4) {
    text-align: right;
}

.table-dark td,
tbody .table-dark tr:hover td,
tr.table-dark.category-row td {
    background: var(--black-100) !important;
}

.user-table td p {
    font-size: 14px;
}

.btn-actions.dropdown-toggle,
button.btn.btn-actions.dropdown-toggle:active {
    background: transparent !important;
    padding: 0;
    min-height: 36px;
    width: 36px;
    border-radius: 50% !important;
    color: inherit !important;
    border-color: transparent !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-actions.dropdown-toggle::after {
    display: none;
}

.btn-actions.dropdown-toggle svg {
    width: 16px;
    height: 16px;
}

button.btn.btn-actions.dropdown-toggle:hover,
button.btn.btn-actions.dropdown-toggle:active:hover {
    background: var(--grey-700) !important;
}

button.btn.btn-actions.dropdown-toggle:active {
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        oklab(0.708995 0.0000324249 0.0000141263 / 0.5) 0px 0px 0px 3px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px;
    background: var(--grey-700) !important;
}

ul.dropdown-menu {
    padding: 4px;
    border-color: var(--grey-200);
    border-radius: 8px;
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        var(--black-10) 0px 4px 6px -1px,
        var(--black-10) 0px 2px 4px -2px;
}

button.btn.btn-secondary.dropdown-toggle {
    min-height: 36px;
    border-color: var(--black-10);
    color: inherit;
    padding: 7px 12px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 500;
    gap: 14px;
    background-color: transparent;
}

button.btn.btn-secondary.dropdown-toggle:hover,
button.btn.btn-secondary.dropdown-toggle:active,
button.btn.btn-secondary.dropdown-toggle:focus,
button.btn.btn-secondary.dropdown-toggle.btn.show {
    background-color: var(--grey-700) !important;
    color: inherit !important;
    border-color: var(--black-10) !important;
}

button.btn.btn-secondary.dropdown-toggle:after {
    display: none;
}

ul.dropdown-menu a.dropdown-item {
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 4px;
    color: var(--black-200);
}

ul.dropdown-menu a.dropdown-item:hover {
    background: var(--grey-700);
}

/* select 2 design */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--black-200);
    line-height: 24px;
}

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

.modal-backdrop+span.select2-container {
    z-index: 1300;
}

.select2-container--default .select2-selection--single {
    font-size: 14px;
    border-radius: 8px;
    line-height: 1.5;
    min-height: 36px;
    background: var(--grey);
    border-color: transparent;
    padding: 4px 12px;
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: inherit;
}

span.select2-dropdown {
    border: 1px solid var(--grey-200) !important;
    border-radius: 8px !important;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}

.select2-results__option {
    font-size: 14px;
    border-radius: 6px;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--grey-700);
    color: var(--black-200) !important;
    position: relative;
}

.select2-container--default .select2-results__option[aria-selected="true"]:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>');
    background-position: center;
    background-size: contain;
    right: 10px;
    top: 8px;
}

.select2-container--default .select2-results__option[aria-selected="true"]:hover:before,
.select2-container--default .select2-results__option--highlighted[aria-selected]:before {
    filter: invert(1);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--black-100);
    padding-right: 30px;
    color: var(--white) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    font-size: 14px;
    border-radius: 8px;
    line-height: 1.5;
    min-height: 36px;
    background: var(--grey);
    border-color: transparent;
    padding: 4px 12px;
    outline: none;
    border: 0;
}

span.select2-search.select2-search--dropdown {
    padding: 4px;
    margin-bottom: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    box-shadow: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: 0;
}

span.select2-selection__arrow {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-4 opacity-50" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg>');
    opacity: 0.5;
    height: 36px !important;
    width: 26px !important;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left center;
}

span.badge.bg-success {
    color: var(--text-green);

    background-color: var(--grey--1000) !important;
}

.badge {
    padding: 4px 8px;
    font-weight: 500;
    border-radius: 3.40282e38px;
    line-height: 1.334;
    font-size: 12px;
}

.badge.text-bg-secondary {
    color: var(--grey-500) !important;
    background: var(--grey-300) !important;
}

/* modal design */
.form-switch label.form-check-label {
    line-height: 1;
}

.form-text {
    color: var(--grey-500);
    line-height: 16px;
    font-size: 12px;
}

.form-check.form-switch+.form-check.form-switch {
    margin-top: 16px;
}

.form-check.form-switch {
    margin-bottom: 0;
}

.form-switch .form-check-input {
    border-radius: 50px !important;
}

.form-check.form-switch.reverse {
    padding-left: 0;
    padding-right: 2.5rem;
    position: relative;
}

.form-check.form-switch.reverse .form-check-input[type="checkbox"] {
    position: absolute;
    right: 0;
    left: unset;
    margin: 0;
    width: 32px;
    height: 18.39px;
    border-radius: 50px;
    box-shadow: none;
    border: 0;
    background-color: var(--light-grey);
}

.form-check.form-switch.reverse .form-check-input[type="checkbox"]:checked {
    background-color: var(--black-400);
}

.form-check.form-switch.reverse .form-check-input[type="checkbox"]:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.modal-dialog.modal-md {
    max-width: 512px;
}

.modal-content {
    border: 1px solid var(--black-10);
    border-radius: 10px;
    box-shadow: 0px 10px 15px -3px var(--black-10);
    max-height: 90vh;
    overflow: auto;
}

.modal-header {
    padding: 24px 24px 16px 24px;
    border: 0;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
}

.modal-footer {
    border-top-color: var(--grey-200);
    padding: 16px 24px;
    justify-content: flex-start;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-footer>* {
    margin: 0;
}

.modal-footer>* {
    margin: 0;
}

.btn.btn-outline-secondary {
    min-height: 36px;
    border-color: var(--black-10);
    color: inherit;
}

.btn.btn-outline-secondary:hover,
.btn.btn-outline-secondary:active,
.btn.btn-outline-secondary:focus,
.btn.btn-outline-secondary.btn.show {
    background-color: var(--grey-700) !important;
    color: inherit !important;
    border-color: var(--black-10) !important;
    box-shadow:
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px,
        oklab(0.708995 0.0000324249 0.0000141263 / 0.5) 0px 0px 0px 3px,
        rgba(0, 0, 0, 0) 0px 0px 0px 0px !important;
}

.modal-header .btn-close {
    padding: 0;
    opacity: 0.7;
    width: 16px;
    height: 16px;
    top: 16px;
    right: 16px;
    position: absolute;
    border-radius: 2px;
    box-shadow: none !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg>');
    background-position: center;
    background-size: 16px;
}

button.btn-close:focus {
    outline: 2px solid var(--grey-600);
    outline-offset: 2px;
}

.modal-title {
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
}

.modal-content {
    color: inherit;
}

p.modal-header-desc {
    font-size: 14px;
    color: var(--light-grey-100);
    line-height: 20px;
    margin-bottom: 0;
}

.modal-body {
    padding: 24px;
}

.form-heading {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 16px;
    color: inherit;
}

/* break order page  table*/
.obd-header {
    background: var(--black-100);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 16px;
}

.obd-header h3 {
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
}

.obd-table-inner {
    background: var(--white);
    border-radius: 10px;
    border: 2px solid var(--grey-200);
}

.obd-table-top-bar {
    padding: 16px 24px;
    background: var(--grey-100);
    border-bottom: 1px solid var(--grey-200);
    border-radius: 10px 10px 0 0;
    display: flex;
    gap: 16px;
}

.obd-top-bar-detail {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.obd-table-badge {
    flex: 0 0 auto;
    max-width: fit-content;
}

span.obd-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--white);
    line-height: 16px;
}

span.obd-badge.bg-blue {
    background: var(--primary-blue);
}

span.obd-badge.bg-purple {
    background: var(--primary-purple);
}

.obd-top-bar-detail-inner label {
    font-size: 12px;
    color: var(--grey-400);
    line-height: 16px;
    margin-bottom: 4px;
}

.obd-top-bar-detail-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.obd-top-bar-detail-inner {
    line-height: 1;
}

.obd-table-inner .table-responsive {
    padding: 16px 24px;
}

.obd-table-inner table.table.table-bordered th {
    border-left: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border-top: 0 !important;
    padding: 8px 0 !important;
}

.obd-table-inner table.table.table-bordered td {
    border-left: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 12px 0 !important;
}

.obd-table-inner table.table.table-bordered {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    background: transparent;
}

.obd-table-inner table.table.table-bordered td {
    border-right: 0;
}

.obd-table-inner tfoot tr:last-child td:last-child,
.obd-table-inner tfoot tr:last-child td:last-child {
    border-bottom: 0;
}

.diet-tag-wrapper {
    display: inline-flex;
    gap: 4px;
}

.diet-tag-wrapper span {
    padding: 2px 8px;
    color: var(--maroon);
    background: var(--light-grey-200);
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.334;
    text-transform: uppercase;
}

.footer-left p {
    font-size: 12px;
    color: var(--grey-500) !important;
    line-height: 16px;
    margin-bottom: 0;
}

.footer {
    margin-top: auto;
    border-top: 1px solid var(--grey-200);
    padding: 16px 32px;
}

.footer p+p {
    margin-top: 4px;
}

.order-break-down-table-wrapper+.order-break-down-table-wrapper {
    margin-top: 16px;
}

/* ingredient Usage page */
span.deselect-all {
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline;
    color: var(--grey-500);
    display: inline-block;
    cursor: pointer;
}

span.deselect-all:hover {
    color: var(--black-100);
}

span.unit {
    color: var(--grey-500);
}

.user-table td p.grand-total {
    font-size: 18px;
}

.order-cards-wrapper {
    padding: 24px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--grey-200);
}

.order-card {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--grey-200);
}

.order-card:last-child {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.order-card .order-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3335;
}

.order-card .location {
    font-size: 20px;
    margin-top: 4px;
    line-height: 1.4;
    color: var(--black-100);
    font-weight: 600;
}

.order-card .dispatch-time {
    font-size: 14px;
    color: var(--grey-500);
    line-height: 1.429;
    margin-top: 4px;
}

.order-card .order-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.order-card .item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.item-right {
    flex: 1;
}

.order-card .qty {
    font-size: 20px;
    margin-top: 0px;
    line-height: 1.4;
    color: inherit;
    font-weight: 700;
}

.order-card .product-name+.diet-type {
    margin-top: 4px;
}

.order-card .product-name {
    font-size: 20px;
    margin-top: 0px;
    line-height: 1.4;
    color: inherit;
    font-weight: 400;
}

.order-card .diet-type {
    font-size: 14px;
    color: var(--grey-500);
    line-height: 1.429;
    margin-top: 4px;
}

.hamburger-icon {
    flex: 0 0 40px;
    max-width: 40px;
    padding-right: 10px;
}

button.menu-btn {
    background: transparent;
    border: 0;
    position: relative;
    top: 0px;
    padding: 0;
}

.header-left-section {
    flex: 1;
}

.sidebar-logo-wrapper button.menu-btn {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    padding: 0;
    top: 11px;
    display: none;
}

.hamburger-icon button.menu-btn:before {
    content: "";
    position: fixed;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    z-index: 9;
    display: none;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .sidebar-wrapper {
    transform: translateX(0);
    transition: 0.3s all linear;
}

.bottom-main-content-bottom table {
    min-width: 600px;
}

.bottom-main-content-bottom table.production-grid-table {
    min-width: 800px;
}

.table.table-bordered.ingredient-usage {
    min-width: 700px;
}

.user-table th {
    white-space: nowrap;
}

th.created {
    min-width: 120px;
    width: 120px;
}

th.last-login {
    min-width: 160px;
    width: 160px;
}

th.role {
    width: 150px;
    min-width: 150px;
}

.sidebar-logo-wrapper button.menu-btn img {
    width: 20px;
    height: auto;
}

.header-right-section {
    align-self: flex-end;
}

th.name {
    min-width: 130px;
    width: 130px;
}

th.brand-access {
    min-width: 140px;
    width: 140px;
}

.product-order-item-option ul {
  list-style: none;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-order-item-option ul li {
  display: flex;
  gap: 5px;
  padding: 5px 0;
  font-size: 14px;
}
.product-order-item-option ul li:last-child {
  border-bottom: 0;
}
.item-qt {
  font-weight: 600;
  flex: 0 0 50px;
  max-width: 50px;
}


/*new css*/

.tag-label {
  font-size: 12px;
  color: #6c757d;
  margin-right: 5px;
}



@media screen and (max-width: 1024px) {
    th.actions {
        min-width: 72px;
        width: 72px;
    }

    .modal-header {
        padding: 16px 16px 0 16px;
    }

    .modal-body {
        padding: 16px;
    }

    .row.g-3.mb-4 {
        margin-bottom: 16px !important;
    }

    .form-heading {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .pagination-main {
        flex-wrap: wrap !important;
        gap: 6px;
        width: fit-content;
    }

    .order-card .order-title {
        font-size: 18px;
    }

    .order-card .location {
        font-size: 15px;
    }

    .order-card .qty {
        font-size: 16px;
    }

    .order-card .product-name {
        font-size: 16px;
    }

    .order-card .diet-type {
        line-height: 1.2;
    }

    .order-card .order-content {
        gap: 8px;
    }

    .order-cards-wrapper {
        padding: 16px;
    }

    .order-card {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    th.created {
        min-width: 110px;
        width: 110px;
    }

    th.last-login {
        min-width: 140px;
        width: 140px;
    }

    .user-table td p.fs-6 {
        font-size: 14px !important;
    }

    .production-grid-table th,
    .production-grid-table td {
        padding: 8px 12px !important;
    }

    .select2-container--default .select2-results__option[aria-selected="true"]:before {
        right: 6px;
    }

    .obd-top-bar-detail {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .obd-table-top-bar {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    th.qty {
        max-width: 60px;
        width: 60px;
    }

    .obd-table-inner .table-responsive {
        padding: 0px 16px 0 16px;
    }

    .obd-header {
        padding: 12px;
        margin-bottom: 8px;
    }

    .obd-header h3 {
        font-size: 18px;
        line-height: 1;
    }

    .footer {
        padding: 16px;
        margin-top: 0;
    }

    h2.page-heading {
        font-size: 22px;
        padding-left: 40px;
    }

    .header-left-section {
        margin-left: -40px;
    }

    td,
    th,
    .production-grid-table tr.table-dark td {
        padding: 8px 12px !important;
    }

    td {
        font-size: 14px;
    }

    tr.table-dark.category-row td {
        padding: 8px 12px !important;
    }

    .hamburger-icon {
        display: inline-block !important;
    }

    .header-left-section {
        margin-left: -40px;
    }

    .sidebar-logo-wrapper button.menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-logo-wrapper {
        padding: 16px;
    }

    .top-header {
        padding: 16px;
    }

    .bottom-main-content-bottom {
        padding: 16px;
    }

    .bottom-main-content-top {
        padding: 16px;
    }

    .department-filter-inner {
        margin-bottom: 16px;
        max-height: 250px;
    }

    body.menu-open .hamburger-icon button.menu-btn:before {
        display: block;
    }

    .main-content-area {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sidebar-wrapper {
        position: fixed;
        z-index: 99;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: 0.3s all linear;
    }

    .header-left-section .btn-group.filter-radios {
        margin-top: 10px;
    }
}

@media screen and (max-width: 768px) {
    h2.page-heading {
        font-size: 20px;
    }

    .access-btn-wrapper {
        gap: 10px;
    }

    .header-left-section .btn-group.filter-radios {
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-group.filter-radios label.btn.btn-outline-primary {
        padding: 9px 10px;
    }

    .dates-filter-wrapper .row {
        row-gap: 12px;
        --bs-gutter-x: 10px;
    }
}

@media screen and (max-width: 575px) {
    .header-right-section {
        width: 100%;
        padding-top: 10px;
    }

    .top-header {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 374px) {
    .dates-filter-wrapper .input-group-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* print css */
@media print {
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }


    span.obd-badge {
        display: inline-flex;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--white);
        line-height: 16px;
    }

    span.obd-badge.bg-blue {
        background: var(--primary-blue);
    }

    span.obd-badge.bg-purple {
        background: var(--primary-purple);
    }


    .main-content-area {
        flex: 0 0 calc(100% - 0px);
        max-width: calc(100% - 0px);
        padding: 0;
        display: flex;
        height: auto;

    }

    .sidebar-wrapper,
    .top-header,
    .dates-filter-wrapper,
    .department-filter-wrapper,
    .access-btn-wrapper,
    .pagination-wrapper,
    .footer {
        display: none !important;
    }

    .obd-header {
        background: #171717 !important;
        color: #fff !important;
        padding: 12px 24px !important;
        border-radius: 10px 10px 0 0 !important;
        margin-bottom: 16px !important;
    }

    .main-wrapper,
    .container-fluid,
    .row,
    .main-content-area,
    .bottom-main-content,
    .bottom-main-content-bottom {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    table {
        display: table !important;
        width: 100%;
    }

    .order-break-down-table-wrapper {
        page-break-inside: avoid;
        margin-bottom: 1.5rem;
    }

    .order-break-down-table-wrapper {
        width: 100%;

    }

    * {
        overflow: visible !important;
    }

    body,
    html {
        width: 100%;
    }

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

    .bottom-main-content {
        background-color: #fff !important;

    }

    @page {
        size: A4;
        margin: 10mm;
    }

    * {
        transform: none !important;
    }

    .table-responsive {
        overflow: visible !important;
        display: table !important;
        width: 100% !important;
    }

    table {
        width: 100% !important;
    }

    html,
    body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    .container,
    .container-fluid,
    .row,
    .col,
    .col-md-12 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .order-break-down-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    tr {
        page-break-inside: avoid;
    }

    .obd-table-inner {
        page-break-inside: avoid;
    }

    .order-break-down-table-wrapper {
        width: 100% !important;
    }

}

/* Custom Toast Design */
.custom-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-toast {
    background: var(--white);
    color: var(--black-100);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    min-width: 280px;
    animation: slideInRight 0.3s ease-out;
    border: 1px solid var(--grey-200);
}

.custom-toast.success i,
.custom-toast.success svg {
    color: #10b981;
}

.custom-toast.error i,
.custom-toast.error svg {
    color: #ef4444;
}

.custom-toast.info i,
.custom-toast.info svg {
    color: #3b82f6;
}

.custom-toast-content {
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.custom-toast.fade-out {
    animation: slideOutRight 0.3s ease-in forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Reporting Pages Additions */
.bg-light-grey {
    background-color: var(--grey-300) !important;
}
.text-grey-400 {
    color: var(--grey-400) !important;
}
.text-grey-500 {
    color: var(--grey-500) !important;
}
.font-inherit {
    font-family: inherit !important;
}
.order-card-figma {
    background: var(--white);
    padding: 24px 0;
}
.item-details .product-name {
    font-size: 18px;
    font-weight: 500;
}
.production-grid-table thead th {
    vertical-align: top;
}
