:root {
    --golden: rgba(135, 117, 18, 0.89);
}

label {
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

h2,
h5 {
    font-weight: 700 !important;
}

h5 i {
    font-size: 16px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
    margin-left: -1px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: #dee2e6;
}

.page-link {
    margin-left: -2px;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none !important;
}

table th,
.nowrap,
button {
    white-space: nowrap;
}

.min-width-250px {
    min-width: 250px;
}

#view-product-modal .modal-body {
    max-height: 500px;
    overflow-y: auto;
}

.single-product {
    width: 50%;
}

#product-images img {
    cursor: pointer;
}

iframe {
    width: 100%;
    height: 350px;
}

.brand-link .brand-image {
    float: inherit !important;
    max-height: inherit !important;
    width: 40px !important;
}

.brand-link .brand-image.logo {
    width: 140px !important;
}

.login-card-body img {
    padding: 8px;
    background-color: #000;
}

nav.main-header a.nav-link {
    color: var(--golden);
}

.btn-primary {
    background-color: var(--golden) !important;
    border: 1px solid var(--golden) !important;
}

.btn-primary:hover {
    background-color: #66603c !important;
    border: 1px solid #66603c !important;
}

[class*=sidebar-dark-] {
    background-color: #000 !important;
}

.card-title {
    font-weight: 700 !important;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
}

table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable td:first-child {
    border-left-width: 1px;
}

.login-box {
    width: 500px;
}

.login-card-body {
    padding: 60px 40px;
}

#js-product-modal-body span {
    font-weight: 700;
}

#product-images {
    display: flex;
}

#product-images img {
    width: 240px !important;
}

.slick-slide {
    text-align: center;
}

.slick-arrow {
    background-color: transparent;
    border: none;
}

.slick-arrow i {
    font-size: 20px;
}

.card-header::after {
    display: none !important;
}

.img-circle {
    border-radius: 50%;
}

.card-header::after {
    display: none !important;
}

table thead tr th:first-child,
table tbody tr td:first-child {
    text-align: center;
}

/*table thead tr th:first-child::before,*/
/*table thead tr th:first-child::after {*/
/*    display: none !important;*/
/*}*/

table td {
    vertical-align: middle !important;
}

#search-input {
    width: 300px;
}


.page-link {
    color: var(--golden) !important;
}

.page-item.active .page-link {
    background-color: var(--golden) !important;
    border-color: var(--golden) !important;
}

li.paginate_button.page-item.active a {
    color: #fff !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.switch {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 12px;
}

.big-switch {
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 0;
    bottom: 0;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.big-switch .slider:before {
    height: 20px;
    width: 20px;
}

input:checked+.slider {
    background-color: var(--golden);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--golden);
}

input:checked+.slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.big-switch input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


tbody#js-ammo-product-lising tr.in-active {
    background-color: #dedddd !important;
}

.product-specs div {
    margin-bottom: 10px;
    /* Add margin between div elements */
}

#product-price label {
    display: block;
    /* Make the label a block element */
    margin-bottom: 5px;
    /* Add margin between label and input */
}

.product-specs.btn-success {
    margin-top: 10px;
    /* Add margin above the button */
}

.change-password-wrapper {
    min-height: 85vh;
}

.change-password-wrapper .card-body {
    width: 600px;
    padding: 40px 20px;
}

/* Sticky scrollbar CSS */
.content-scrollbar {
    position: relative;
    height: 100%;
}

.customScrollbarClass {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    position: fixed;
    width: 88%;
    bottom: 3px;
}

.scroll-table {
    width: 100%;
}

.customScrollbarClass::-webkit-scrollbar {
    height: 12px;
}

.customScrollbarClass::-webkit-scrollbar-track {
    background: #F1F1F1;
}

.customScrollbarClass::-webkit-scrollbar-thumb {
    background: var(--golden);
}

.table-responsive::-webkit-scrollbar {
    width: 0;
}

#manual-update-price {
    gap: 8px;
}

#manual-price-input input,
.update-price-wrapper button {
    width: 100px;
}

.update-price-wrapper {
    row-gap: 16px;
}

ul.navbar-nav button {
    font-weight: 700;
}

ul.navbar-nav button:hover {
    color: var(--golden) !important;
}

.card-title {
    font-size: 24px !important;
}

li.nav-item:hover * {
    color: var(--golden);
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--golden) !important;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active:hover * {
    color: #fff;
}

#js-ammo-product-lising>tr.odd {
    background-color: white !important;
}

.alert-danger {

    background-color: var(--golden);
    font-size: smaller;
}

#js-merchant-listing-table thead tr th:first-child,
#js-merchant-listing-table tbody tr td:first-child {
    text-align: start;
}

.profits-table-wrapper table tbody tr td i {
    color: red !important;
    background-color: #fff !important;
    cursor: pointer;
    font-size: 20px;
}

.form-control:focus {
    border-color: var(--golden) !important;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--golden);
}

.profits-table-wrapper button i {
    font-size: 12px;
    margin-right: 4px;
}

.form-button {
    text-align: end;
}

.filter-wrapper .col-md-2{
    max-width: 15.666% !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.status-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-icon {
    background-color: #ccc;
    padding: 4px;
    border-radius: 4px;
}
.status-icon i {
    color: white; /* Makes the icons white */
}

.btn-warning {
    color: #1f2d3d;
    background-color: #877512 !important;
    border-color: #877512 !important;
    box-shadow: none;
}

.add-note {
    padding-left: 18px;
}

.order-cancel{
    cursor: pointer;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
    margin: 50px auto;
}
.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.form-group label {
    width: 170px;
}
.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.alert {
    display: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.field-wrapper{
    gap: 12px;
}

.card-container-order{
    border-radius: 8px;
    border: 1px solid #ECECEC;
    background-color: #fff;
}

.field-wrapper input{
    width: 400px;
    border-radius: 10px;
    border: 1px solid #ddd;
    height: 40px;
}

.field-wrapper input:not(:first-child):disabled {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}


.field-wrapper label{
    font-size: 14px;
    font-weight: 500 !important;
    color: #1d1d1d;
}

.right-boxes{
    padding: 0 4px;
    height: 40px;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.rubric-tabs-wrapper {
    border: 1px solid #E2E8F0;
    background-color: #fff;
    padding: 16px 24px 0 24px;
    border-radius: 4px;
}

.js-action-toggle{
    display: flex;
    align-items: center;
    background-color: transparent !important;
    border: 1px solid transparent !important;
}

.js-action-toggle1{
{
    display: flex;
    align-items: center;
    background-color: transparent !important;
    border: 1px solid transparent !important;
}
}

js-action-toggle i{
    font-size: 20px !important;
}
.nav-pills .nav-link:hover{
    color: #6c757d !important;
}
#js-orders-listing-table tbody td:last-child,
#js-orders-listing-table tbody tr .order-status{
    text-align: center;
}
.rubric-tabs-wrapper ul li .active::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-size: contain;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: var(--golden);
}

.rubric-tabs-wrapper ul li .active {
    background-color: #aba02478 !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    /* border-bottom: 4px solid var(--brownish) !important; */
    box-shadow: none !important;
    color: var(--golden) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    position: relative;
}

#addNoteModal .modal-dialog{
    max-width: 665px;
}

#addNoteModal #status_date{
    width: 100%;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    box-shadow: 0px 1px 2px 0px #1018280D;
    height: 38px;
    padding: 0 12px;
}

#addNoteModal label{
    font-weight: 600 !important;
    font-size: 14px;
    color: #27303f;
}

#addNoteModal textarea,
#addNoteModal select,
#addNoteModal textarea:focus{
    border-radius: 8px;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0px 1px 2px 0px #1018280D;
}



.filter-wrapper .col-md-2 label{
    font-weight: 600 !important;
}
.btn-golden {
    background-color: var(--golden) !important;
    border-color: var(--golden) !important;
    color: #fff !important; /* Ensures text is visible */
}
@media screen and (max-width: 767px) {
    .change-password-wrapper .card {
        width: 100%;
    }

    .change-password-wrapper .card-body {
        width: inherit;
        padding: 32px 20px;
    }
}

@media screen and (max-width: 575px) {
    .login-box {
        width: 90%;
    }

    .login-card-body,
    .change-password-wrapper .card-body {
        padding: 20px;
    }

    .search-product-listing {
        flex-wrap: wrap;
    }

    #search-input {
        width: 100%;
    }
}
.select2-selection{
    height: 38px !important;
}
.custom-badge-primary{
    background-color: var(--golden) !important;
    border: 1px solid var(--golden) !important;
    color: white !important;
}

.error{
    color: red !important;
}
.dataTables_scrollHeadInner {
    position: sticky;
    top: 0;
    z-index: 1020; /* Ensures header stays above content */
    background-color: white; /* Ensures header background doesn't blend with rows */
    width: 100% !important;
    padding: 0 !important;
}

.dataTables_scrollHeadInner table{
    margin: 0;
    width: 100%;
}


.dataTables_scrollBody table {
    margin: 0;
    width: 100% !important;
}

#min_distributor{
    width: 56% !important;
}

.dataTables_scrollHeadInner th {
    position: sticky;
    top: 0;
    z-index: 1030;
}

div.dataTables_wrapper div.dataTables_processing {
    padding: 8px !important;
    z-index: 9;
    background: #877512;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}
