.custom-select {
    border-left: 4px solid #FDB563;
}

.check-input {
    width: 20px !important;
    padding: 0px !important;
    height: 20px !important;
    border: 2px solid #FDB563 !important;
    margin-left: 0px !important;
}

body {
    background-color: #FFFEF7;
}

.body-content {
    padding: .5rem;
}

.text-rajah {
    color: #FDB563;
}

.btn-warning {
    color: #fff;
    background-color: #FDB563;
    border-color: #FDB563;
}

.form-container .panel {
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .05);
    border: 3px solid #FEC02C;
    background: rgba(255, 251, 245, 0.6);
}

.form-container .panel .form-control {
    height: 46px;
    border-radius: 8px;
    border-color: #FDB563;
}

.form-wrapper {
    width: 100%;
}

.form-container {
    margin: auto;
}

@media(min-width: 576px) {
    .form-container {
        width: 380px;
        max-width: 380px;
    }
}

@media(min-width: 1200px) {
    .form-container {
        width: 450px;
        max-width: 450px;
    }

    .form-container .panel {
        padding: 50px 70px;
    }
}

.swal2-styled.swal2-confirm {
    background-color: #ff9800 !important;
}

.btn-primary-soft, .text-primary {
    color: #020202d1 !important;
}

.btn-primary {
    background-color: #020202d1 !important;
    border-color: #020202d1 !important;

}

.page-item.active .page-link {
    color: #fff !important;
    background-color: #ff9800 !important;
    border-color: #ff9800 !important;

}

.form-check-input:checked {
    background-color: #ff9800 !important;
    border-color: #ff9800 !important;

}

.page-link {
    color: #bb7815 !important;
}

/* navbar */
.navbar-custom-menu.navbar {
    background: #FAF9EE;
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle-icon span {
    background: #FDB563;
}

.sidebar-toggle-icon span:after,
.sidebar-toggle-icon span:before {
    background: #FDB563;
}

.navbar-custom-menu .nav-link {
    color: #4A4A4A;
}

.navbar-custom-menu .navbar-icon .navbar-nav .nav-link,
.navbar-toggler,
.nav-clock {
    color: #fff;
    background-color: #FDB563;
    border-color: #FDB563;
}

.navbar-toggler:hover,
.navbar-custom-menu .navbar-icon .navbar-nav .nav-link:hover,
.navbar-custom-menu .navbar-icon .navbar-nav .dropdown.show .nav-link {
    color: #FDB563;
    background-color: transparent;
    border-color: #FDB563;
}

.navbar-custom-menu .nav-link:hover,
.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #FDB563;
}

.navbar-custom-menu .dropdown-item:before {
    background-color: #FDB563;
}

.navbar-custom-menu.navbar.active.ispos {
    top: 65px;
    border-top: 2px solid #ddd;
    background-color: #fff;
    height: auto;
    padding: 10px 25px;
}

/* Sidebar */

.sidebar {
    background-color: #FAF9EE;
    box-shadow: 0px 0px 11px rgba(54, 54, 54, 0.25);
}

.sidebar-header .sidebar-brand .sidebar-brand_text {
    color: #FDB563;
    font-weight: 700;
    font-size: 21px;
}

.spinner-layer.pl-green {
    border-color: #FF9800 !important;
}


.sidebar-nav ul li a {
    color: #4A4A4A;
}

.sidebar-nav ul li a:hover {
    color: #FF9E30;
    background-color: #FFF0DE;
    box-shadow: none;
}

.sidebar-nav ul li .nav-second-level li a {
    color: #4A4A4A;
}

.sidebar-nav ul li .nav-second-level li a:hover,
.sidebar-nav ul li.mm-active ul li.mm-active a {
    color: #FF9E30;
}

.sidebar-nav ul li.mm-active .nav-second-level li.mm-active .nav-third-level li a {
    color: #4A4A4A;
}

.sidebar-nav ul li.mm-active .nav-second-level li.mm-active .nav-third-level li a:hover {
    color: #FF9E30;
}

.sidebar-nav ul li.mm-active .nav-second-level li.mm-active .nav-third-level li.mm-active a {
    color: #FF9E30;
}

.sidebar-nav ul li.mm-active .nav-second-level li.mm-active .nav-third-level li.mm-active .nav-fourth-level li a {
    color: #4A4A4A;
}

.sidebar-nav ul li.mm-active .nav-second-level li.mm-active .nav-third-level li.mm-active .nav-fourth-level li a:hover {
    color: #FF9E30;
}

@media (min-width: 768px) {
    .fixed .sidebar .sidebar-body {
        height: calc(100vh - 202px);
    }
}

.ps>.ps__rail-y>.ps__thumb-y {
    background-color: #fdb563;
}

.sidebar-body .nav-label {
    color: #FDB563;
}

.search__text,
.search__text:focus {
    background-color: #fff;
    border-color: #FDB563;
}

.metismenu .has-arrow::after {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' class='feather feather-plus-circle'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='16'%3E%3C/line%3E%3Cline x1='8' y1='12' x2='16' y2='12'%3E%3C/line%3E%3C/svg%3E");
    border: 0;
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(0deg) translate(0, -50%);
}

.metismenu .mm-active>.has-arrow::after,
.metismenu .has-arrow[aria-expanded="true"]::after {
    transform: rotate(0deg) translate(0, -50%);
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' class='feather feather-minus-circle'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='8' y1='12' x2='16' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

.profile-element {
    background-color: #fffef7;
}

.profile-element .profile-text {
    margin-left: 0;
}

.profile-element .avatar {
    width: 70px;
    height: 70px;
    border: 1px solid #FDB563;
    border-radius: 50%;
    padding: 5px;
}

.sidebar-collapse .profile-element .avatar {
    width: 40px;
    height: 40px;
    padding: 2px;
}

.profile-element .avatar:after {
    right: 6px;
    width: 8px;
    height: 8px;
}

.btn-warning:hover {
    color: #fff;
    background-color: #ffca2c;
    border-color: #ffc720;
}


.sidebar-bunker .search__text {
    background-color: #fff !important;
}

.sidebar-nav ul li .nav-second-level li a:hover, .sidebar-nav ul li a:hover, .sidebar-nav ul li a:hover i {
    color: #FF9800 !important;
}

.sidebar-nav ul li a, .sidebar-nav ul li .nav-second-level li a {
    color: #000;
}

.sidebar-nav ul li a.active:hover, .sidebar-nav ul li a.active:hover i, .sidebar-nav ul li.mm-active a:hover, .sidebar-nav ul li.mm-active a:hover i {
    color: #fff !important;
}

.sidebar-bunker .profile-element .profile-text span, .sidebar-bunker .profile-element .profile-text h6 {
    color: #000;
}

.sidebar-header .sidebar-brand .sidebar-brand_text span {
    color: #FF9800;
}

.btn-success, .btn-check:focus+.btn-success, .btn-success:focus {
    color: #fff;
    background-color: #FF9800;
    border-color: #FF9800;
}

.bg-success {
    background-color: #FF9800 !important;
}

.btn-success:hover {
    background-color: #fba83c;
    border-color: #fba83c;
}

.bg-soft-warning {
    background-color: rgba(255, 152, 0, 0.2);
}


/* Select2 */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #FDB563;
}

.profile_show hr {
    margin: .5rem 0px;
}

.btn-violat {
    background-color: #322f66;
    color: #fff;
    border-color: #322f66;
    box-shadow: 0 2px 6px 0 #46447369;
}

.btn-violat:hover {
    background-color: #333061;
    color: #fff;
    border-color: #322f66;
    box-shadow: 0 2px 6px 0 #46447369;
}

::selection {
    background: rgb(243, 227, 161);
    color: #000;
}

.thead-bg {
    background-color: #faf9ee;
}

.table>thead>tr {
    background-color: rgba(255, 153, 0, 0.404);
}

.trflash {
    animation: flash-animation 1s;
}

.page-loader-wrapper.elem-loader {
    z-index: 8;
}

.productSelection~.page-loader-wrapper {
    background: none !important;
    left: auto;
    width: auto;
    right: 10px;
}

@keyframes flash-animation {
    0% {
        background-color: inherit;
    }

    50% {
        background-color: rgba(255, 153, 0, 0.304);
        ;
    }

    100% {
        background-color: inherit;
    }
}

.data-table-btn:active {
    box-shadow: none !important;
}

.data-table-btn:focus {
    box-shadow: none !important;
}

ul.metismenu>li.mm-active>a {
    transition: 0.8s linear;
    -webkit-transition: 0.8s linear;
    -moz-transition: 0.8s linear;
    -ms-transition: 0.8s linear;
    -o-transition: 0.8s linear;
}

ul.metismenu>li.mm-active>a:hover, ul.metismenu>li.mm-active>a:active {
    background-color: #ff9800ed;
    box-shadow: 0 0px 3px 0 rgb(143 132 55 / 50%);
}

/* get last span */
.custom-toggle>span:last-child {
    display: none;
}

/* get last span */
.custom-toggle.open>span:last-child {
    display: block !important;
}

/* get first span */
.custom-toggle.open>span:first-child {
    display: none !important;
}

.btn-logout {
    width: 100% !important;
}

/* Style for the logout button when the sidebar is collapsed */
body.sidebar-collapse .btn-logout {
    width: auto;
    /* Set the width to auto or any specific value you want for the collapsed state */
}

/* Hide the span when the sidebar is collapsed */
.sidebar-collapse .hide-span {
    display: none;
}

/* Display the span when the sidebar is collapsed and being hovered */
body.sidebar-collapse.sidebar-collapse_hover:hover .btn-logout .hide-span {
    display: inline-block;
    /* Adjust display property as needed */
}




.sidebar-logo {
    display: block;
    max-height: 64px;
}

.sidebar-fav {
    display: none;
    max-height: 64px;
}

.sidebar-collapse .sidebar .sidebar-logo {
    display: none;
}

.sidebar-collapse .sidebar .sidebar-fav {
    display: block;
    height: 36px;
}

.company-logo-mini {
    display: none;
}

.sidebar-collapse .sidebar .company-logo-mini {
    display: block;
    margin-left: 6px;
}

.sidebar-collapse .sidebar .company-logo-large {
    display: none;
}