[x-cloak] {
    display: none !important;
}

.text-green {
    color: #509c6a !important;
}

.text-purple {
    color: #8a4a6b !important;
}

.text-lightblue {
    color: #3FB3E8 !important;
}

.text-gold {
    color: #86843d !important;
}

.text-red {
    color: #C99289 !important;
}

.text-blue {
    color: #4163b0 !important;
}

.text-softblue {
    color: #6079ca !important;
}

.text-brown {
    color: #864f50 !important;
}

.bg-gold {
    background-color: #86843d !important;
    border: 1px solid #86843d !important;
}

.bg-red {
    background-color: #C99289 !important;
    border: 1px solid #C99289 !important;
}

.bg-white {
    background-color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.bg-green {
    background-color: #509c6a !important;
    border: 1px solid #509c6a !important;
}

.bg-lightgreen {
    background-color: #edf7f2 !important;
    border: 1px solid #edf7f2 !important;
}

.bg-lightpurple {
    background-color: #f7f1f5 !important;
    border: 1px solid #f7f1f5 !important;
}

.bg-purple {
    background-color: #8a4a6b !important;
    border: 1px solid #8a4a6b !important;
}

.bg-lightblue {
    background-color: #3FB3E8 !important;
    border: 1px solid #3FB3E8 !important;
}

.bg-blue {
    background-color: #4163b0 !important;
    border: 1px solid #4163b0 !important;
}

.bg-softblue {
    background-color: #6079ca !important;
    border: 1px solid #6079ca !important;
}

.bg-brown {
    background-color: #864f50 !important;
    border: 1px solid #864f50 !important;
}

.link-text:hover {
    color: white !important;
    background: #509c6a !important;
}

.to-the-right {
    margin-left: auto !important;
}

.is-underlined {
    text-decoration: underline !important;
}

.is-not-underlined {
    text-decoration: none !important;
}

.shadow-hover:hover {
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
        0 0 0 1px rgba(10, 10, 10, 0.02) !important;
}

.btn-purple {
    border: 1px solid #8a4a6b !important;
    color: #8a4a6b !important;
}

.btn-lightblue {
    border: 1px solid #3FB3E8 !important;
    color: #3FB3E8 !important;
}

.btn-purple.is-outlined:hover {
    background: #8a4a6b !important;
    color: white !important;
}

.btn-lightblue.is-outlined:hover {
    background: #3FB3E8 !important;
    color: white !important;
}

.btn-green {
    border: 1px solid #509c6a !important;
    color: #509c6a !important;
}

.btn-green.is-outlined:hover {
    background: #509c6a !important;
    color: white !important;
}

.btn-blue {
    border: 1px solid #4163b0 !important;
    color: #4163b0 !important;
}

.btn-blue.is-outlined:hover {
    background: #3d6386 !important;
    color: white !important;
}

.btn-softblue {
    border: 1px solid #3d6386 !important;
    color: #3d6386 !important;
}

.btn-softblue.is-outlined:hover {
    background: #3d6386 !important;
    color: white !important;
}

.btn-gold {
    border: 1px solid #86843d !important;
    color: #86843d !important;
}

.btn-red {
    border: 1px solid #C99289 !important;
    color: #C99289 !important;
}

.btn-gold.is-outlined:hover {
    background: #86843d !important;
    color: white !important;
}

.btn-red.is-outlined:hover {
    background: #C99289 !important;
    color: white !important;
}

.is-pointer {
    cursor: pointer !important;
}

select,
input,
textarea {
    color: #509c6a !important;
    font-weight: 300 !important;
}

.select:after {
    border-color: #509c6a !important;
}

.menu-list a.is-active,
.menu-list button.is-active {
    background-color: #edf7f2 !important;
    color: #4163b0 !important;
    border-radius: 8px !important;
    font-weight: bold;
}

nav {
    max-height: 52.5px !important;
}

.is-size-6-5 {
    font-size: 0.875rem !important;
}

.radius-bottom-0 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.radius-top-0 {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

#menuLeft {
    height: calc(100vh - 52px);
    height: -webkit-calc(100vh - 52px);
    height: -moz-calc(100vh - 52px);
    height: -o-calc(100vh - 52px);
}

#contentRight {
    min-height: calc(100vh - 52px);
    min-height: -webkit-calc(100vh - 52px);
    min-height: -moz-calc(100vh - 52px);
    min-height: -o-calc(100vh - 52px);
}

@media screen and (min-width: 1024px) {
    #menuLeft {
        position: fixed;
        left: 0;
        right: 0;
        overflow: auto;
    }
    #menuLeft::-webkit-scrollbar-track {
        background: white;
    }
    #contentRight {
        position: absolute;
        right: 0;
        left: 20%;
    }
}

@media screen and (min-width: 1024px) and (-webkit-min-device-pixel-ratio: 0) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #edf7f2;
    }
    ::-webkit-scrollbar-thumb {
        background: #b1cfbf;
        border-radius: 10px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #77aa90;
    }
}

@media screen and not (-webkit-min-device-pixel-ratio: 0) and (min-width: 1024px) {
    /* Firefox Scrollbar */
    .scroller {
        scrollbar-color: #b1cfbf white;
        scrollbar-width: auto;
    }
    html {
        scrollbar-color: #b1cfbf #edf7f2;
        scrollbar-width: auto;
    }
    /* Firefox Scrollbar */
}

.is-green > progress::-webkit-progress-value {
    background-color: #509c6a !important;
}

.is-purple > progress::-webkit-progress-value {
    background-color: #8a4a6b !important;
}

.is-blue > progress::-webkit-progress-value {
    background-color: #3d6386 !important;
}

.is-gold > progress::-webkit-progress-value {
    background-color: #86843d !important;
}

.is-red > progress::-webkit-progress-value {
    background-color: #C99289 !important;
}

.is-lightblue > progress::-webkit-progress-value {
    background-color: #3FB3E8 !important;
}

td {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

[data-title] {
    position: relative;
}

[data-title]:after {
    opacity: 0;
    visibility: hidden;
    content: attr(data-title);
    position: absolute;
    bottom: 25px;
    right: 0%;
    z-index: 99999;
    white-space: nowrap;
    background-color: #edf7f2;
    color: #509c6a;
    font-size: small;
    font-weight: 500;
    padding: 7px;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
        0 0 0 1px rgba(10, 10, 10, 0.02);
    border-radius: 6px;
}

@media screen and (max-width: 768px) {
    [data-title]:after {
        display: none !important;
    }
}

[data-title]:hover:after {
    opacity: 1;
    visibility: visible;
    transition: all 0.6s ease;
}

.navbar-item[data-title]:after {
    bottom: -20px;
    right: 0;
    padding: 7px;
}

.tabs.is-toggle li:first-child a {
    border-radius: 0 !important;
}

.tabs.is-toggle li:first-child a {
    border-radius: 0 !important;
}

.tabs.is-toggle a {
    border: none !important;
}

.available a {
    background-color: #fafafa;
    border-color: #fafafa;
    color: #509c6a;
    z-index: 1;
}

.tabs.is-toggle li.available.is-active a {
    background-color: #509c6a;
    border-color: #509c6a;
    color: #fafafa;
    z-index: 1;
}

.on-hand a {
    background-color: #fafafa;
    border-color: #fafafa;
    color: #3d6386;
    z-index: 1;
}

.tabs.is-toggle li.on-hand.is-active a {
    background-color: #3d6386;
    border-color: #3d6386;
    color: #fafafa;
    z-index: 1;
}

.wip a {
    background-color: #fafafa;
    border-color: #fafafa;
    color: #863d3e;
    z-index: 1;
}

.tabs.is-toggle li.wip.is-active a {
    background-color: #863d3e;
    border-color: #863d3e;
    color: #fafafa;
    z-index: 1;
}

.reserved a {
    background-color: #fafafa;
    border-color: #fafafa;
    color: #86843d;
    z-index: 1;
}

.tabs.is-toggle li.reserved.is-active a {
    background-color: #86843d;
    border-color: #86843d;
    color: #fafafa;
    z-index: 1;
}

.out-of-stock a {
    background-color: #fafafa;
    border-color: #fafafa;
    color: #8a4a6b;
    z-index: 1;
}

.tabs.is-toggle li.out-of-stock.is-active a {
    background-color: #8a4a6b;
    border-color: #8a4a6b;
    color: #fafafa;
    z-index: 1;
}

.expired a {
    background-color: #fafafa;
    border-color: #fafafa;
    color: #900608;
    z-index: 1;
}

.tabs.is-toggle li.expired.is-active a {
    background-color: #900608;
    border-color: #900608;
    color: #fafafa;
    z-index: 1;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.swal-button--confirm {
    background-color: #6079ca !important;
}

.swal-title {
    color: #6079ca !important;
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #edf7f2;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 5px;
}

.table-container {
    overflow: none !important;
    overflow-y: none !important;
    max-width: 100%;
}

.is-borderless {
    border: none !important;
}

.is-overflow {
    overflow: auto !important;
}

.notification-box {
    position: absolute;
    top: 100%;
    width: 350px;
}

@media screen and (max-width: 768px) {
    .notification-box {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
}

.notification-counter {
    position: absolute;
    top: 5px;
    content: attr(data-notif);
    border-radius: 999px;
    margin-left: 9px;
    min-width: 26px;
    padding: 2px 0;
    font-size: x-small;
}

.general-menu-item {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.general-menu-item:hover {
    border: 1px solid #509c6a !important;
}

.button.is-focused:not(:active),
.button:focus:not(:active) {
    box-shadow: none !important;
}

.button:focus {
    border-color: none !important;
    color: none !important;
}

.is-transparent-color {
    background-color: transparent !important;
}

.dropdown-item:hover {
    background-color: hsl(0, 0%, 96%) !important;
    cursor: pointer !important;
}

/* Override bootstrap table classes */

.table.table-bordered {
    width: 100% !important;
}

.table.table-bordered td,
.table.table-bordered th {
    border-width: 1px !important;
}

/* Override bootstrap table classes */

/* DataTable Styles */

table.dataTable.no-footer {
    border-bottom: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #509c6a !important;
    border: none !important;
    border-radius: 2px;
    font-size: small !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: white !important;
    border: none !important;
    background: none !important;
    background-color: #509c6a !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: none !important;
    background: none !important;
    background-color: #509c6a !important;
}

.dataTables_wrapper .dataTables_info {
    font-size: small !important;
    color: #8a4a6b;
    margin-top: 20px !important;
}

.dataTables_wrapper .dataTables_length {
    font-size: small !important;
    color: #509c6a !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

.dataTables_wrapper .dataTables_filter {
    color: white !important;
    margin-top: 0px !important;
    margin-bottom: 20px !important;
}

@media screen and (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter {
        color: white !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none !important;
}

div.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

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

@media print {
    table.display {
        width: 100% !important;
        display: table;
    }
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px !important;
}

div.dt-button-collection button.dt-button,
div.dt-button-collection div.dt-button,
div.dt-button-collection a.dt-button {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    display: block;
    float: none;
    margin-bottom: 4px;
    margin-right: 0;
    background: white !important;
    color: #8a4a6b !important;
}

div.dt-button-collection button.dt-button.active:not(.disabled) {
    box-shadow: none !important;
    color: #509c6a !important;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
    padding-left: 9px;
}

.dataTables_wrapper .dataTables_length {
    font-size: small !important;
    color: #509c6a !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    margin-right: 5px !important;
}

div.dataTables_wrapper div.dataTables_processing {
    bottom: 60%;
    background: transparent !important;
    z-index: 9999;
}

@media screen and (max-width: 640px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: center !important;
    }
}

/* DataTable Styles */

@media screen and (max-width: 768px) {
    .m-lr-0 {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .m-lr-10 {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .m-lr-20 {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    .m-lr-30 {
        margin-left: 30px !important;
        margin-right: 30px !important;
    }
    .m-lr-40 {
        margin-left: 40px !important;
        margin-right: 40px !important;
    }
    .m-lr-50 {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .m-top-0 {
        margin-top: 0px !important;
    }
    .m-top-10 {
        margin-top: 10px !important;
    }
    .m-top-20 {
        margin-top: 20px !important;
    }
    .m-top-30 {
        margin-top: 30px !important;
    }
    .m-top-40 {
        margin-top: 40px !important;
    }
    .m-top-50 {
        margin-top: 50px !important;
    }
    .m-btm-0 {
        margin-bottom: 0 !important;
    }
    .m-btm-10 {
        margin-bottom: 10px !important;
    }
    .m-btm-20 {
        margin-bottom: 20px !important;
    }
    .m-btm-30 {
        margin-bottom: 30px !important;
    }
    .m-btm-40 {
        margin-bottom: 40px !important;
    }
    .m-btm-50 {
        margin-bottom: 50px !important;
    }
    .p-lr-0 {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .p-lr-10 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .p-lr-20 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .p-lr-30 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .p-lr-40 {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    .p-lr-50 {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    .p-top-0 {
        padding-top: 0px !important;
    }
    .p-top-10 {
        padding-top: 10px !important;
    }
    .p-top-20 {
        padding-top: 20px !important;
    }
    .p-top-30 {
        padding-top: 30px !important;
    }
    .p-top-40 {
        padding-top: 40px !important;
    }
    .p-top-50 {
        padding-top: 50px !important;
    }
    .p-btm-0 {
        padding-bottom: 0 !important;
    }
    .p-btm-10 {
        padding-bottom: 10px !important;
    }
    .p-btm-20 {
        padding-bottom: 20px !important;
    }
    .p-btm-30 {
        padding-bottom: 30px !important;
    }
    .p-btm-40 {
        padding-bottom: 40px !important;
    }
    .p-btm-50 {
        padding-bottom: 50px !important;
    }
}

/* Summernote styles */

.note-modal-footer {
    height: 80px;
    padding: 30px;
    text-align: center;
}

.note-modal-footer .note-btn {
    float: right;
    background-color: #509c6a;
    color: white !important;
    font-weight: 400 !important;
}

.note-modal-title {
    font-size: 20px;
    color: #509c6a;
    margin: 0;
    line-height: 1.4;
}

.note-form-label {
    display: block;
    width: 100%;
    font-size: 16px;
    color: #509c6a;
    margin-bottom: 10px;
    font-weight: 700;
}

.note-group-image-url {
    display: none !important;
}

.note-form-group {
    padding-bottom: 0px !important;
}

/* Summernote styles */

.swera-demo-font {
    font-family: "Swera Demo", sans-serif;
}

.panel-block {
    display: none;
}

.panel-block.is-active {
    display: block;
}

.step-content {
    display: none; /* Hide all step contents by default */
}

.step-content.is-active {
    display: block !important; /* Show the active step content */
}

.steps:not(.is-hollow) .steps-segment .steps-marker:not(.is-hollow)
{
  background-color: #6079ca;
  color: #ffffff;
}

.steps:not(.is-hollow) .steps-segment.is-active .steps-marker:not(.is-hollow)
{
  background-color: #6079ca;
  color: #ffffff;
}

.steps-segment:after{
    background-color: #6079ca;
}

.is-75x75 {
    width: 120px;
    height: 0px;
}

@media screen and (max-width: 769px), print {
    .column.is-6{
        flex: auto;
        width: 100%;
    }
}

@media screen and (min-width: 769px), print {
    .column.is-6{
        flex: auto;
        width: 45%;
    }
}

/* Blue action button for datatable actions */
.btn-action-blue {
    color: #1769aa !important;
    background: #eaf4ff !important;
    border: 2px solid #8fc3f7 !important;
    padding: 0.35rem 0.5rem;
    border-radius: 50%;
    font-size: 1.15em;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(60, 60, 100, 0.10);
}
.btn-action-blue:hover, .btn-action-blue:focus {
    background: #d6eaff !important;
    color: #0d47a1 !important;
    border-color: #1769aa !important;
    text-decoration: none;
    box-shadow: 0 4px 12px 0 rgba(23, 105, 170, 0.12);
}

/* Equb Status Badge Styles */
.equb-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.25em 1em 0.25em 0.8em;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.97em;
    box-shadow: 0 2px 8px 0 rgba(60, 60, 100, 0.10);
    letter-spacing: 0.01em;
    min-width: 100px;
    justify-content: flex-start;
    border: 2px solid transparent !important;
    transition: border 0.2s, background 0.2s;
    background: #fff !important;
}
.equb-status-active {
    background: #e6fef3 !important;
    color: #1ca97a !important;
    border-color: #7be2b2 !important;
}
.equb-status-inactive {
    background: #eaf4ff !important;
    color: #1769aa !important;
    border-color: #8fc3f7 !important;
}
.equb-status-icon {
    font-size: 1.15em;
    margin-right: 0.5em;
    opacity: 0.95;
    vertical-align: middle;
}
.equb-status-active .equb-status-icon {
    color: #1ca97a !important;
}
.equb-status-inactive .equb-status-icon {
    color: #1769aa !important;
}

/* Center align Actions column header and cells */
th.actions-column-header, .actions {
    text-align: center !important;
    vertical-align: middle !important;
}

/* DataTable Controls Custom Styling */
.dataTables_length,
.dataTables_filter,
.dt-buttons {
    display: inline-block;
}

.dataTables_filter {
    float: right !important;
}
.btn-outline-blue {
    border: 1px solid #4163b0;
    color: #4163b0;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}
.btn-outline-blue:hover, .btn-outline-blue:focus {
    background: #4163b0;
    color: #fff;
}
@media (max-width: 767.98px) {
    .dataTables_length,
    .dataTables_filter,
    .dt-buttons {
        display: block;
        text-align: center !important;
        float: none !important;
        margin: 0 auto 10px auto !important;
    }
    .dataTables_filter input {
        display: inline-block;
        width: 80%;
        margin: 0 auto;
    }
}

.table-sm th,
.table-sm td {
    padding: 0.3rem !important;
}

/* Modern select styling for filter dropdowns */
.filter-select, #status-filter.form-control, select.form-control.rounded-pill {
    padding-right: 2.5rem !important;
    background-position: right 1rem center;
    background-size: 1.2em;
    border: 2px solid #efefef;
    box-shadow: 0 0 0 2px #ffffff;
    transition: border 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='gray' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%234163b0' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.filter-select:focus, #status-filter.form-control:focus, select.form-control.rounded-pill:focus {
    border-color: #4163b0;
    box-shadow: 0 0 0 2px #b3d4fc;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px; /* space between icon and text */
    min-width: 180px; /* optional: ensures all items have the same width */
    padding-left: 16px;
    padding-right: 16px;
}

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

/* Sidebar custom styles */
.main-sidebar {
    width: 260px !important;
    background: #fff !important;
    min-height: 100vh;
    top: 56px !important;
    left: 0;
    z-index: 1030;
    border-right: 1px solid #e5e7eb;
    position: fixed;
}
.sidebar-section-title {
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    display: block;
    color: #888;
    font-size: 0.85rem;
}
.active-sidebar {
    background: #e3f0fc !important;
    color: #007bff !important;
    font-weight: bold;
    border-radius: 6px;
}
.nav-link {
    color: #222 !important;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 2px;
    border-radius: 6px;
}
.nav-link:hover {
    background: #f0f7ff !important;
    color: #007bff !important;
}
.brand-link {
    border-bottom: 1px solid #e5e7eb;
    background: #fff !important;
    margin-top: 0 !important;
}
.wrapper {
    padding: 0 !important;
}

/* Revert content spacing to original defaults */