input:read-only {
    background-color: gainsboro;
}

input[readonly]:focus {
    background-color: gainsboro;
}

select[readonly].select2-hidden-accessible+.select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible+.select2-container .select2-selection__clear {
    display: none;
}

a {
    color: #000;
}

.sidebar-brand {
    background-color: #fff;
    color: #000000;
}

.sidebar-nav {
    background-color: #fff;
}

.simplebar-content>.nav-item>.nav-link {
    color: #000;
}

.simplebar-content>.nav-group>.nav-link {
    color: #000;
}

.simplebar-content .nav-item>.active {
    background-color: #FFEFCF !important;
}

.simplebar-content .nav-item>.active>i {
    color: #000 !important;
}

.simplebar-content .nav-item>.nav-link:hover,
.simplebar-content .nav-group>.nav-link:hover {
    background-color: #FFEFCF !important;
}

.simplebar-content .nav-link:hover>i {
    color: #000 !important;
}

.simplebar-content .nav-dropdown-items {
    background-color: #f0f0f0;
}

.simplebar-content .nav-dropdown-items .nav-group-toggle {
    background-color: #f0f0f0;
}

.simplebar-content .nav-dropdown-items>.nav-item>.nav-link {
    color: #000;
}

.simplebar-content .nav-group-toggle {
    background-color: #fff;
    color: #000 !important;
}

.simplebar-content .nav-icon {
    color: #000;
}

a.btn-primary,
a.page-link {
    background-color: #FFC526 !important;
    border-color: #FFC526 !important;
    color: #000 !important;
}

.btn-outline-primary {
    color: #000 !important;
    border-color: #FFC526 !important;
}

.btn-outline-primary:hover {
    background-color: #FFC526 !important;
}

button[type="submit"] {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000;
}

button[type="submit"]+button[type="button"] {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000;
}

a:hover {
    color: #000;
}

a.btn-outline-primary.dropdown-toggle {
    background-color: #FFEFCF !important;
    border-color: #FFEFCF !important;
}

.modal-footer>.btn-primary {
    background-color: #FFC526 !important;
    color: #000 !important;
    border-color: #FFC526;
}

.nav-group-toggle::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%280,0,0, 0.6%29'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.avatar-name {
    color: #000;
}

.btn-link {
    color: #000;
}

.text-primary {
    color: #000 !important;
}

.btn-link:hover {
    color: #000 !important;
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="date"]:hover,
input[type="file"]:hover,
input[type="search"]:hover {
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0) !important;
    border-color: #000 !important;
}

.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0) !important;
    border-color: #000 !important;
}

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

.dropdown-item.active,
.dropdown-item:active {
    background-color: #FFC526 !important;
    color: #000 !important;
}

input[type="search"]::placeholder {
    color: #000 !important;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: #FFC526 !important;
    color: #000 !important;
}

table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1):hover {
    background-color: #FFC526 !important;
}

table-hover tbody tr:hover {
    background-color: #FFC526 !important;
}

table tr.even:hover {
    background-color: #FFC526 !important;
}

.nav-link {
    color: #000 !important;
}

.nav-link:focus,
.nav-link:hover {
    color: #000 !important;
}

.dropdown-item {
    color: #000 !important;
}

th {
    color: #000 !important;
}

.loader-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    z-index: 999999999;
    opacity: 0.6;
    display: none;
}

.loader {
    display: inline-block;
    position: fixed;
    top: 48%;
    left: 48%;
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#crudTable_wrapper #crudTable .details-control,
#crudTable_wrapper table.dataTable .c {
    display: inline;
}

.table-dark {
    --cui-table-color: rgba(255, 255, 255, 0.87);
    --cui-table-bg: #020202 !important;
    --cui-table-border-color: rgb(0 0 0 / 99%);
    --cui-table-striped-bg: rgb(13 13 13 / 99%);
    --cui-table-striped-color: rgba(255, 255, 255, 0.87);
    --cui-table-active-bg: rgb(0 0 0 / 99%);
    --cui-table-active-color: rgba(255, 255, 255, 0.87);
    --cui-table-hover-bg: rgb(0 0 0 / 99%);
    --cui-table-hover-color: rgba(255, 255, 255, 0.87);

    th {
        color: var(--cui-table-color);
    }
}

tr:has(.danger-row) {
    /* your styles here */
    background-color: oklch(0.808 0.114 19.571) !important;
}

[filter-type="range"] .form-group.backpack-filter {
    width: 400px;
}

textarea[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
    border: 1px solid #ddd;
    color: #666;
}

textarea[readonly]:focus {
    background-color: #f0f0f0 !important;
    cursor: not-allowed;
    border: 1px solid #ddd;
    color: #666;
}

.nav-pills .nav-link.active {
    background-color: #FFC526 !important;
    color: #000 !important;
}