html {
    overflow-x: hidden;
}
.radius-full {
    border-radius: 100%;
}

.radius-24 {
    border-radius: 24px;
}
.radius-12 {
    border-radius: 12px;
}
.z-index-2 {
    z-index: 2;
}
.z-index-3 {
    z-index: 3;
}
.z-index-1 {
    z-index: 1;
}
.w-10 {
    width: 10%;
}
.w-20 {
    width: 20%;
}
.w-30 {
    width: 30%;
}
.w-40 {
    width: 40%;
}
.w-50 {
    width: 50%;
}
.w-60 {
    width: 60%;
}
.w-70 {
    width: 70%;
}
.w-80 {
    width: 80%;
}
.w-90 {
    width: 90%;
}
.w-100 {
    width: 100%;
}
.h-10 {
    height: 10%;
}
.h-20 {
    height: 20%;
}
.h-30 {
    height: 30%;
}
.h-40 {
    height: 40%;
}
.h-50 {
    height: 50%;
}
.h-60 {
    height: 60%;
}
.h-70 {
    height: 70%;
}
.h-80 {
    height: 80%;
}
.h-90 {
    height: 90%;
}
.h-100 {
    height: 100%;
}
.fz-12 {
    font-size: 12px;
}
.fz-10 {
    font-size: 14px;
}

.fz-1r {
    font-size: 1rem !important;
}

.text-primary {
    color: var(--themecolor) !important;
}

.dark-link-hover:hover {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 700;
}
.text-dark-secondary {
    color: #373737 !important;
}
.bg-gray {
    background-color: #051c2c1f;
}

.btn-main {
    background: #d8ba44;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main:hover {
    background: #957a11;
}

.custom-date-input {
    width: 100%;
    position: relative;
    display: inline-block;
}

.custom-date-input input {
    padding-right: 30px;
    color: white !important;
    background: transparent;
    border-radius: 12px;
    padding-block: 12px;
    border: solid 1px #979797;
}
.custom-date-input input:focus {
    background: transparent;
}

.custom-date-input label {
    color: white;
    font-size: 14px;
}

.custom-date-input .custom-icon {
    width: 20px;
    position: absolute !important;
    right: 12px;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--themecolor);
    pointer-events: none;
}

.ui-datepicker {
    background: #393939;
    color: #ffffff;
    border-radius: 8px;
}

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

.ui-datepicker .ui-datepicker-header {
    background-color: var(--themecolor) !important;
    border: solid 1px #9d9d9d;
    color: white;
}

a:not(.btn-link):not(.text-decoration-underline):not(.more-link) {
    background-color: transparent;
    border: none;
    color: #9d9d9d;
    text-align: center;
}

.ui-state-active {
    background-color: #ead177 !important;
    color: #000 !important;
    border-radius: 4px;
}

.ui-datepicker-today a {
    background-color: var(--themedark) !important;
    color: #9d9d9d !important;
    border-radius: 4px;
}

.ui-datepicker th {
    color: #9d9d9d;
}

.ui-state-active {
    background-color: #ead177 !important;
    color: #000 !important;
}

.ui-state-hover {
    background-color: #555555 !important;
}

/* Styling untuk scrollbar */
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
    background-color: transparent;
    border-radius: 3px !important;
}

::-webkit-scrollbar-thumb {
    background-color: var(--themecolor);
    border-radius: 12px !important;
}

::-webkit-scrollbar-thumb::after {
    min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #b89534;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background-color: rgba(216, 186, 68, 0.36) !important;
    color: #9d9d9d !important;
    border: none !important;
    cursor: not-allowed !important;
}

.form-control:disabled {
    /* background-color: transparent !important; */
}

p {
    margin: 0;
    padding: 0;
}

.error-label {
    color: red !important;
    font-size: 14px !important;
    margin: 0px !important;
    padding: 0px !important;
}

.error-input,
.error-input .select2-container .select2-selection--single,
.error-input .select2-container .select2-selection--multiple {
    border: 1px solid red !important;
}

/* Untuk elemen select2 yang single */
.select2-container--default .select2-selection--single.error-input {
    border: 1px solid red !important;
}

/* Untuk elemen select2 yang multiple */
.select2-container--default .select2-selection--multiple.error-input {
    border: 1px solid red !important;
}

.dataTables_wrapper .dataTables_filter {
    display: none !important;
}

.hidden-column {
    display: none !important;
}

.form-group label {
    color: white;
    font-size: 14px;
}

::placeholder {
    color: #ffffff80 !important;
    font-size: 14px;
}

.form-group input {
    color: white;
    background: transparent;
    border-radius: 12px;
    padding-block: 12px;
    border: solid 1px #979797;
}
.form-group input:focus,
.form-group textarea:focus {
    color: white;
    background: transparent;
    border-radius: 12px;
    padding-block: 12px;
    border: solid 1px #979797;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
    border-radius: 12px !important;
    transition: background-color 5000s ease-in-out 0s;
}


/* .form-group select {
    color: white;
    background: transparent;
    border-radius: 12px;
    padding-block: 12px;
    border: solid 1px #979797;
} */

.form-group textarea {
    color: white;
    background: transparent;
    border-radius: 12px;
    padding-block: 12px;
    border: solid 1px #979797;
}

.no-sort::after {
    display: none !important;
}

.btn-cancel {
    padding-block: 8px;
    padding-inline: 32px;
    border: solid 1px red !important;
    background: transparent !important;
    color: red !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-radius: 8px;
    margin-top: 16px;
    cursor: pointer;
}

.btn-cancel:hover {
    background: rgb(113, 2, 2);
}

.btn-outline {
    color: white;
    background: transparent;
    border-radius: 12px;
    padding-block: 12px;
    border: solid 1px #979797;
}
.btn-submit {
    padding-block: 8px;
    padding-inline: 32px;
    border: none;
    background: var(--themecolor);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    margin-top: 16px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #957a11;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--themecolor) transparent;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: var(--themecolor) !important;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent !important;
}

.text-max {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cursor-pointer {
    cursor: pointer;
}

.filter .dropdown-menu {
    width: 260px !important;
    max-height: 450px !important;
    overflow-y: scroll !important;
    border-radius: 8px !important;
    background: #313131ed !important;
    color: white !important;
    /* border: solid 1px var(--themecolor) !important; */
    /* transform: translate3d(-30%, 39px, 0px) !important; */
    -webkit-box-shadow: 0px 0px 0.5px 1px rgba(216, 186, 68, 1) !important;
    -moz-box-shadow: 0px 0px 0.5px 1px rgba(216, 186, 68, 1) !important;
    box-shadow: 0px 0px 0.5px 1px rgba(216, 186, 68, 1) !important;
}

.filter-dropdown-box {
    max-height: 150px;
    overflow-y: scroll;
}

.filter-item:hover {
    background: rgb(48, 47, 44);
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--themecolor);
}

.select2-container--default .select2-results__option--selected {
    background-color: var(--themecolor);
}

.select2-results__option {
    padding-block: 0.7rem;
    margin-block: 4px;
    padding-inline: 1rem;
}

.btn-action {
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

.antrean {
    background-color: #ead177 !important;
    color: #000000 !important;
}

.see {
    background-color: #6e6853 !important;
    color: #ffffff !important;
}

.edit {
    background-color: #2e2e2e !important;
    color: #ffffff !important;
}

.delete {
    background-color: #ff0000 !important;
    color: #ffffff !important;
}

input[disabled],
textarea[disabled] {
    background-color: #5c5b55 !important;
    color: #bdbcb9;
}

.modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.modal-body td {
    padding: 8px 12px;
    vertical-align: top;
}

.modal-body td:first-child {
    font-weight: bold;
}

.modal-body td span {
    display: inline-block;
    min-width: 100px; /* Pastikan ada ruang untuk teks */
}

.table-modal.table tbody tr:nth-of-type(even) td:first-child,
.table-modal.table tbody tr:nth-of-type(even) td,
.table-modal.table tbody tr:nth-of-type(even) td:last-child {
    background-color: transparent !important;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.disabled-action {
    pointer-events: none;
    cursor: default;
    /* color:rgb(170, 165, 145) !important; */
    color: rgb(175 175 175) !important;
}

.disabled-action i {
    color: #9d9d9d !important;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

.daterangepicker {
    left: auto !important;
    right: 100px !important;
}

.daterangepicker.opensright:before {
    display: none;
}

.daterangepicker.opensright:after {
    display: none;
}

.bg-stok-merah {
    color:rgb(255, 0, 21) !important;
}
.bg-stok-kuning {
    color:rgb(255, 196, 0) !important;
}
.bg-stok-hijau {
    color:rgb(0, 255, 60) !important;
}
.dataTables_wrapper th.sorting_asc:after {
    content: '\f0de'; /* Ikon panah ke atas */
    color: var(--themecolor) !important;
}
.dataTables_wrapper th.sorting_desc:after {
    content: '\f0dd'; /* Ikon panah ke bawah */
    color: var(--themecolor) !important;
}
/* sm: phone - landscape */
@media (max-width: 576px) {
}

/* md: tablet */
@media (max-width: 768px) {
}

/* lg: desktop */
@media (max-width: 992px) {
}

/* xl: wide */
@media (max-width: 1200px) {
}

/* super wide */
@media (max-width: 1440px) {
}
