.btn-xs {
    margin-bottom: 4px;
    padding: 0.2rem 0.5rem;
    font-size: .75rem;
}

.linker_nav {
    background-color: rgb(233, 237, 239);
}

.nav-item.active a {
    cursor: default !important;
}

.gray-circle-btn, .ligt-circle-btn {
    width: 40px;
    height: 40px;
    border-width: 0;
}

.gray-circle-btn {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #eff0f6;
}

.category__btn, .gray-circle-btn, .ligt-circle-btn {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 50%;
}

.skip-link.sr-only, .sr-only {
    border: 0;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    width: 1px;
}

.sr-only {
    position: absolute;
    white-space: nowrap;
    clip: rect(0 0 0 0);
}

.select2-container--default .select2-selection--single {
    border: none !important;
}

.btn-close-dark {
    filter: var(--bs-btn-close-dark-filter) !important;
    --bs-btn-close-dark-filter: invert(0) grayscale(100%) brightness(50%);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 30px;
    height: 38px;
    line-height: 2.375rem;
}

.select2-dropdown {
    border-color: #cdd4e0;
    z-index: 200;
}

.select2-search--dropdown {
    padding-bottom: 0;
}

.select2-container--default .select2-results > .select2-results__options {
    margin: 4px;
}

.select2-results__option {
    border-radius: 0;
    margin-bottom: 1px;
    font-size: 13px;
}

.select2-results__option {
    padding: 6px 10px;
    font-size: 0.875rem;
}

.select2-container--open .select2-dropdown--below {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    top: 7px;
}

.select2-container {
    margin-bottom: 0.5em;
}

table.dataTable thead th {
    text-align: center !important;
}

#darkModeSwitch {
    display: none;
}

tbody hr {
    height: 1px;
    border: none;
    color: #333;
    background-color: #333;
}

.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    color: gray;
    background-color: #e9e8e8;
}

.btn-warning {
    color: #000 !important;
}

.card-body {
    border-radius: .35rem;
}

.hoverable_title {
    color: #4e73df;
}

.hoverable_title:hover {
    cursor: pointer;
    text-decoration: underline;
}

.rotate_hover:hover svg,.rotate_hover:hover i {
    animation: spin 0.8s linear infinite;
}

@media (min-width: 992px) {
    .form-group {
        margin-bottom: auto !important;
    }
}

@media (max-width: 992px) {
    .navbar-nav.accordion {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 240px;
        overflow-y: auto;
        background-color: #fff;
        z-index: 1000;
        visibility: hidden;
        transform: translateX(-240px);
        transition: all 0.4s;
    }
    
    .sidebar.toggled {
        transform: translateX(0);
        visibility: visible;
        width: 240px !important;
    }

    .sidebar .nav-item .nav-link {
        text-align: left;
        width: auto !important;
    }

    .sidebar .nav-item .nav-link span {
        display: inline-block;
        position: relative;
        top: -2px;
        font-size: var(--bs-nav-link-font-size);
    }

    .sidebar .sidebar-heading {
        margin-bottom: 15px !important;
    }

    .sidebar .sidebar-brand .sidebar-brand-text {
        display: block !important;
    }

    .sidebar .sidebar-brand {
        padding: 0 !important;
    }

    .topbar .dropdown .dropdown-menu {
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.45);
        z-index: 900;
        visibility: hidden;
        opacity: 0;
        transition: all 0.4s;
    }

    .sidebar-toggled .navbar-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .sidebar-toggled {
        overflow: hidden;
    }

    .hidden-xs {
        display: none !important;
    }

    label {
        margin-bottom: auto !important;
    }

    .bidangB_button button:not(:nth-of-type(1)) {
        margin-top: 10px;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}