:root {
    --bs-red: #EB2D2D;
    --bs-gray: #575757;
    --bs-dark: #141414;
    --bs-danger: #EB2D2D;
    --bs-body-color: #000F29;
    --bs-danger-rgb: 235, 45, 45;
    --bs-body-color-rgb: 0, 15, 41;
    --bs-dark-rgb: 20, 20, 20;
    --input-field-radius: 8px;
    --button-radius: 16px;
    --button-sm-radius: 8px;
    --bs-gray-100-rgb: 248, 249, 250;
    --bs-gray-200-rgb: 239, 242, 247;
    --bs-gray-300-rgb: 246, 246, 246;
    --bs-gray-400-rgb: 206, 212, 218;
    --bs-gray-500-rgb: 173, 181, 189;
    --bs-font-sans-serif: "ClashGrotesk", "Poppins", sans-serif;
    --bs-heading-dark-bg: #df0024;
    --bs-body-bg: #f3eadd;
    --bs-link-color: #000F29;
    --bs-link-hover-color: #000F29;
}
body {
    overflow-y: scroll; /* Always show vertical scrollbar */
}
/*body[data-sidebar=dark] .navbar-brand-box {
    background: #23232c !important;
}

body[data-sidebar=dark] .vertical-menu {
    background: #23232c;
}

body[data-sidebar=dark] .mm-active {
    color: var(--bs-gray-500) !important;
}

body[data-sidebar=dark] #sidebar-menu ul li a {
    color: var(--bs-gray-500);
}*/
.page-content {
    min-height: 100vh;
    padding: calc(70px + 15px) calc(24px * 0.75) 60px calc(24px * 0.75) !important;
}
.topnav {
    padding: 0;
}
.topnav .navbar-nav .nav-link:focus, .topnav .navbar-nav .nav-link:hover {
    color: #df0024;
}
.topnav .navbar-nav .nav-item .nav-link.active {
    color: #df0024;
}
.topnav .navbar-nav .dropdown-item.active, .topnav .navbar-nav .dropdown-item:hover {
    color: #df0024;
}
.topnav .navbar-nav .dropdown.active > a {
    color: #df0024;
}
body[data-layout=horizontal] #page-topbar {
    position: initial;
}
body[data-layout=horizontal] .topnav {
    position: sticky;
    margin-top: unset;
    top: 0;
}
body[data-layout=horizontal] .page-content {
    min-height: auto;
    padding: 0 !important;
    margin-top: 20px;
}
body[data-layout=horizontal] .navbar-header {
    padding-left: 6px;
    padding-right: 6px;
}
body[data-topbar=dark] .app-search .form-control {
    background-color: #fff;
    color: #000;
}
body[data-topbar=dark] .app-search span,
body[data-topbar=dark] .app-search input.form-control::placeholder,
body[data-topbar=dark] .app-search input.form-control::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.5);
}
body[data-topbar=dark] .app-search .form-control:focus {
    color: var(--bs-body-color);
    box-shadow: 0 0 5px 2px rgba(255, 135, 135, 0.5);
    border-color: #ff8787;
}
#page-topbar #message p{
    margin: 0;
}
#sidebar-menu {
    padding: 0;
}

.menu-title {
    padding: 8px 20px !important;
    pointer-events: auto;
}

/* Authentication layout */
.auth-logo-light,
.auth-logo-dark {
    width: 100%;
    max-width: 300px;
}

.auth-full-bg::before {
    content: "";
    position: inherit;
    width: auto;
    height: auto;
    border-radius: 50%;
}

.auth-full-bg .bg-overlay {
    /*background: url("../images/banner.svg");*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.topbar-notification {
    line-height: 55px;
}

.bg-overlay {
    opacity: 1;
}

@media (min-width: 1200px) {
    .auth-form-scroll {
        height: 100vh;
        overflow-y: scroll;
    }
}
.landing-footer {
    background-color: #499300;
}
/* Badge */
.badge-soft-primary {
    color: #a57e5d;
    background-color: rgba(165, 126, 93, 0.18);
}

.badge-soft-secondary {
    color: #74788d;
    background-color: rgba(116, 120, 141, 0.18);
}

.badge-soft-success {
    color: #08A965;
    background: rgba(8, 169, 101, 0.1);
}

.badge-soft-info {
    color: #50a5f1;
    background-color: rgba(80, 165, 241, 0.18);
}

.badge-soft-warning {
    color: #F7700F;
    background: rgba(247, 112, 15, 0.1);
}

.badge-soft-danger {
    color: #df0024;
    background-color: rgba(223, 0, 36, 0.18);
}

.badge-soft-pink {
    color: #e83e8c;
    background-color: rgba(232, 62, 140, 0.18);
}

.badge-soft-light {
    color: #eff2f7;
    background-color: rgba(239, 242, 247, 0.18);
}

.badge-soft-dark {
    color: #343a40;
    background-color: rgba(52, 58, 64, 0.18);
}
.badge-soft-danger[href]:hover, .badge-soft-danger[href]:focus {
    color: #df0024;
    text-decoration: none;
    background-color: rgba(244, 106, 106, 0.4);
}

.badge-lg {
    --bs-badge-font-size: 100%;
    --bs-badge-padding-x: 1rem;
    --bs-badge-padding-y: 0.5rem;
}

.badge-rounded {
    --bs-badge-border-radius: var(--button-sm-radius);
}

.badge-flag {
    text-indent: 120%;
    white-space: nowrap;
    overflow: hidden;
    width: 25px;
    height: 10px;
    cursor: pointer;
    transition: height 0.3s;
}

.badge-flag.active {
    text-indent: inherit;
    width: auto;
    height: 14px;
}

/* background */
.bg-body-color {
    background-color: var(--bs-body-color) !important;
}

/* border */
.border-radius-8 {
    border-radius: 8px !important;
}

.border-gray-600 {
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-gray-400-rgb), var(--bs-border-opacity)) !important;
}

/*box shadow*/
.box-shadow-none {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* Button */
.btn {
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-padding-y: 0.6875rem;
}

.btn-rounded {
    border-radius: var(--button-radius);
}

.btn-sm, .btn-group-sm > .btn {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.625rem;
    --bs-btn-font-size: 0.80rem;
}

.btn-sm.btn-rounded,
.btn-group-sm.btn-rounded {
    border-radius: var(--button-sm-radius);
}
.btn-primary {
    --bs-btn-bg: #a57e5d;
    --bs-btn-border-color: #a57e5d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #cfa079;
    --bs-btn-hover-border-color: #cfa079;
    --bs-btn-active-bg: #cfa079;
    --bs-btn-active-border-color: #cfa079;
}
.btn-outline-primary {
    --bs-btn-color: #a57e5d;
    --bs-btn-border-color: #a57e5d;
    --bs-btn-hover-bg: #a57e5d;
    --bs-btn-hover-border-color: #a57e5d;
    --bs-btn-active-bg: #a57e5d;
    --bs-btn-active-border-color: #a57e5d;
}
.btn-danger {
    --bs-btn-bg: #df0024;
    --bs-btn-border-color: #df0024;
    --bs-btn-hover-bg: #ff2347;
    --bs-btn-hover-border-color: #ff2347;
    --bs-btn-active-bg: #ff2347;
    --bs-btn-active-border-color: #ff2347;
}
.btn-soft-primary {
    color: #a57e5d;
    background-color: rgba(165, 126, 93, 0.18);
}
.btn-soft-primary:hover, .btn-soft-primary:focus, .btn-soft-primary:active {
    color: #fff;
    background-color: #a57e5d;
}
.btn-soft-danger {
    color: #df0024;
    background-color: rgba(223, 0, 36, 0.18);
}
.btn-soft-danger:hover, .btn-soft-danger:focus, .btn-soft-danger:active {
    color: #fff;
    background-color: #df0024;
}
/* card */
.card-rounded {
    border-radius: 24px !important;
}

.card-rounded .card-footer:last-child {
    --bs-card-inner-border-radius: 24px;
}

/* carousel */
.carousel-sm {
    margin-left: auto;
    margin-right: auto;
}

.carousel-sm .carousel-item img {
    height: 450px;
}

.dashboard-carousel-caption {
    position: absolute;
    right: 15%;
    top: 1.25rem;
    left: 10%;
    color: #fff;
    text-align: left;
}

/* Input fields */
.form-control::placeholder,
.form-select::placeholder {
    color: #9399a4;
}

.form-control,
.form-select,
.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 0.625rem 0.75rem;
    border-radius: var(--input-field-radius);
    color: var(--bs-body-color);
}

.form-control:focus,
.form-select:focus {
    color: var(--bs-body-color);
    box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5);
    border-color: #80bdff;
}

.form-control[type=text]:read-only,
.form-control:disabled {
    background-color: #E5E7EA;
    color: var(--bs-gray-900);
}

.form-check-input {
    border: 2px solid var(--bs-gray-700);
}

#batch_check_all {
    border: 2px solid var(--bs-black);
}

.form-check-label {
    font-weight: 400;
}

.form-radio-outline .form-check-input:checked:after {
    top: 2px !important;
    left: 2px;
}

textarea.form-control {
    min-height: 76px;
}

.input-group-text {
    border-radius: var(--input-field-radius);
    color: var(--bs-body-color);
}

input[switch=danger]:checked + label {
    background-color: var(--bs-danger);
}

.invalid-feedback {
    color: var(--bs-red);
}


.form-control::-webkit-file-upload-button {
    padding: 0.625rem 0.75rem;
    margin: -0.625rem -0.75rem;
}

.form-control::file-selector-button {
    padding: 0.625rem 0.75rem;
    margin: -0.625rem -0.75rem;
}

.datepicker {
    border: 1px solid var(--bs-input-border-color);
    z-index: 1010 !important;
}
/* custom tab */
.nav-tabs-custom .nav-item .nav-link {
    padding-top: 0;
    padding-bottom: 1rem;
}

.nav-tabs-custom .nav-item .nav-link::after {
    background: var(--bs-primary);
}

.nav-tabs-custom .nav-item .nav-link.active {
    color: var(--bs-body-color);
}

.nav-calculator .nav-link {
    background-color: var(--bs-gray-200) !important;
}

.nav-calculator .nav-link.active {
    background-color: var(--bs-white) !important;
}

/* notification */
.notification-dot {
    font-size: 42% !important;
}

.notification-divider {
    border-bottom: 1px solid #E5E7EA !important;
}

.notification-divider:last-child {
    border-bottom: none;
}

.notification-modal-close {
    position: absolute;
    background-color: white;
    opacity: 0.8;
    border-radius: 50%;
    right: 5px;
    top: 5px;
    padding: 5px;
}

.mr-right-20 {
    margin-right: 20px;
}

@media (max-width: 380px) {
    .mr-right-20 {
        margin-right: 3px;
    }
}

/* pagination */
.page-link.active, .active > .page-link {
    --bs-pagination-active-bg: var(--bs-dark);
    --bs-pagination-active-border-color: var(--bs-dark);
}

/* border radius */
.rounded-size-1 {
    --bs-border-radius: var(--bs-border-radius-sm);
}

.rounded-size-3 {
    --bs-border-radius: var(--bs-border-radius-lg);
}

.rounded-size-4 {
    --bs-border-radius: var(--bs-border-radius-xl);
}


.rounded-size-5 {
    --bs-border-radius: var(--bs-border-radius-2xl);
}

/* select2 */
.select2-container .select2-selection--single {
    border-radius: var(--input-field-radius);
    height: 42px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--bs-body-color);
}

.select2-selection__placeholder {
    color: #9399a4 !important;
}

.select2-container .select2-selection--multiple .select2-search__field {
    color: #9399a4 !important;
    width: 100% !important;
}

/* Table */
.table-fixed {
    table-layout: fixed;
}

.table th {
    color: var(--bs-dark);
    font-weight: 600;
}

.table td {
    color: var(--bs-gray);
}

.table .form-check {
    scale: 1.5;
}

.table-success {
    --bs-table-bg: #ecf5f2;
}

.table-with-rotate-column th.rotate,
.table-with-rotate-column td.rotate {
    height: 200px;
    white-space: nowrap;
    position: relative;
}

.table-with-rotate-column th.rotate > div,
.table-with-rotate-column td.rotate > div {
    transform: rotate(-90deg);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 0;
}

.table-responsive.max-full-height thead {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-responsive.max-full-height tfoot {
    background: #fff;
    position: sticky;
    bottom: 0;
}

.text-truncate-vertical {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-vertical-3 {
    -webkit-line-clamp: 3;
}

.text-truncate-vertical-4 {
    -webkit-line-clamp: 4;
}

/* text editor */
.tox .tox-tbtn {
    color: inherit !important;
}

/* Minimum width */
.w-24 {
    min-width: 24px;
}

.w-xs {
    min-width: 60px;
}

.w-sm {
    min-width: 80px;
}

.w-md {
    min-width: 110px;
}

.w-lg {
    min-width: 140px;
}

.w-xl {
    min-width: 160px;
}

.min-w-450px {
    min-width: 450px;
}

.w-50px {
    width: 50px;
}

.w-100px {
    width: 100px;
}

.w-150px {
    width: 150px;
}

.w-200px {
    width: 200px;
}

.w-300px {
    width: 300px;
}

.max-w-500 {
    max-width: 500px;
}

.max-w-300 {
    max-width: 300px;
}

.max-w-70 {
    max-width: 70px;
}

.max-w-250 {
    max-width: 250px;
}

.max-w-100 {
    max-width: 100px;
}

.h-85px {
    height: 85px !important;
}

.min-height-38 {
    min-height: 38px;
}

.min-height-300 {
    min-height: 300px;
}

.full-height-minus-400 {
    max-height: calc(100vh - 430px);
}

.max-h-400 {
    max-height: 400px;
}

.px-12px {
    padding-left: 12px;
    padding-right: 12px;
}

/* Input Number Remove Arrows/Spinners*/
/* 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;
}

.counter-title {
    height: 40px;
    overflow-y: auto;
    padding: 0;
}

.counter-title::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

.counter-title::-webkit-scrollbar {
    width: 3px;
    background-color: transparent;
}

.counter-title::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #D9D9D9;
}

.h-95 {
    height: 95% !important;
}

.img-photo {
    width: auto;
    height: 45px
}

/* icons */
.dropdown-menu .mdi:before {
    font-size: 15px;
}

.page-title-box {
    padding-bottom: 15px !important;
    min-height: 53px;
}

.select2-selection__clear {
    padding-right: 15px;
    color: var(--bs-danger);
}

/* Auto complete */
.ui-widget {
    font-family: inherit;
    font-size: inherit;
}

.ui-menu {
    z-index: 1050;
}

.ui-widget.ui-widget-content {
    border: 1px solid var(--bs-light);
}

.ui-menu .ui-menu-item-wrapper {
    padding: 6px 10px;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
    width: 99%;
}

.promo-countdown {
    padding: 0.30rem 0.625rem;
    font-size: 0.80rem;
    color: #f46a6a;
    background-color: rgba(244, 106, 106, 0.1);
    border-color: transparent;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-radius: 0.2rem;
    font-weight: 400;
    line-height: 1.5;
    min-width: 135px;
    text-align: left;
    display: inline-block;
}

.starburst {
    padding: 10px 20px;
    clip-path: polygon(
        50% 0%, 56% 8%, 62% 3%, 66% 10%, 72% 6%, 74% 14%,
        81% 12%, 80% 20%, 88% 20%, 84% 28%, 92% 30%, 86% 36%,
        94% 40%, 87% 44%, 94% 50%, 87% 56%, 94% 60%, 86% 64%,
        92% 70%, 84% 72%, 88% 80%, 80% 80%, 81% 88%, 74% 86%,
        72% 94%, 66% 90%, 62% 97%, 56% 92%, 50% 100%, 44% 92%,
        38% 97%, 34% 90%, 28% 94%, 26% 86%, 19% 88%, 20% 80%,
        12% 80%, 16% 72%, 8% 70%, 14% 64%, 6% 60%, 13% 56%,
        6% 50%, 13% 44%, 6% 40%, 14% 36%, 8% 30%, 16% 28%,
        12% 20%, 20% 20%, 19% 12%, 26% 14%, 28% 6%, 34% 10%,
        38% 3%, 44% 8%
    );
}
.avatar-md {
    height: 3.8rem;
    width: 3.8rem;
}
.cart-icon-container {
    padding-top: 23px;
}

.jstree-container .jstree-node {
    min-height: 40px;
    line-height: 40px;
    margin-left: 24px;
    min-width: 24px;
}
.jstree-container .jstree-anchor {
    width: 98%;
    line-height: 30px !important;
    height: 30px !important;
}
.jstree-container .jstree-anchor:hover {
    background-color: #f0f0f0; /* Change to your desired hover color */
}
.jstree-container .jstree-clicked{
    background: #fff;
    box-shadow: none;
}
