/*body {
    background-color: #f5f5f5;
}*/

@media (min-width: 768px) {
    .topbar-user {
        background-color: #ffffff;
        border-bottom: 2px solid #52ae2a;
    }
}

.top-tr {
    border-left: solid 5px #4b38b3;
    background-color: #fbfbfb;
    animation: blinkBorder 3s infinite ease-in-out;
}

/* Blink pelan dan halus */
@keyframes blinkBorder {
    0%, 100% {
        border-left-color: #4b38b3;
        box-shadow: -2px 0 10px #b6a6ff;
    }

    50% {
        border-left-color: rgba(75, 56, 179, 0.2);
        box-shadow: -2px 0 4px rgba(182, 166, 255, 0.2);
    }
}

/* Select2*/
.select2-container--bootstrap-5 .select2-selection {
    width: 100%;
    min-height: calc(1.6em + .75rem + 3px);
    padding: .5rem .9rem;
    /*padding: .375rem .75rem;*/
    font-family: inherit;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    /*background-color: #fff;*/
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    padding: .5rem .9rem;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
}

   /* .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
        color: #573de2;
        background-color: #ededed;
        border-bottom: solid 1px #d4d4d4;
    }*/
    .select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option.select2-results__option--selected,
    .select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
        color: #573de2;
        background-color: #ededed;
        border-bottom: solid 1px #d4d4d4;
        position: relative;
        padding-left: 1.5em; /* beri ruang untuk titik di depan */
    }

        /* Tambahkan titik di depan item yang terpilih */
        .select2-container--bootstrap-5
        .select2-dropdown
        .select2-results__options
        .select2-results__option.select2-results__option--selected::before,
        .select2-container--bootstrap-5
        .select2-dropdown
        .select2-results__options
        .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted)::before {
            content: "\2714"; /* centang  */
            position: absolute;
            left: 0.6em;
            color: #573de2;
            font-weight: bold;
        }




.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #b2abdc;
    box-shadow: 0 0 0 0 #ffffff;
}

.select2-container--bootstrap-5 .select2-dropdown {
    z-index: 1056;
    overflow: hidden;
    color: #212529;
    background-color: #fff;
    border-color: #b2abdc;
    border-radius: .25rem;
}

    .select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
        display: block;
        width: 100%;
        padding: .375rem .75rem;
        font-family: inherit;
        font-size: .8125rem;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }


.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #fff;
    border: none;
    color: #fff;
    border-radius: 3px;
    padding: 3px;
    margin-top: 6px;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    width: .75rem;
    height: .75rem;
    padding: .25em;
    margin-right: .25rem;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.75rem auto no-repeat;
    border: 0;
    opacity: 25%;
}

.select2-selection__clear, .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
    position: absolute;
    top: 50%;
    right: 2.25rem;
    width: .75rem;
    height: .75rem;
    padding: .25em;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: transparent url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e) 50% / .75rem auto no-repeat;
    opacity: 25%;
    transform: translateY(-50%);
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: .35em .65em;
    margin-right: .375rem;
    margin-bottom: .375rem;
    font-size: 0.8rem;
    color: #212529;
    cursor: auto;
    border: 1px solid #ced4da;
    border-radius: .25rem
}



/* Prevent horizontal overflow when detail row opens */
.log-table-wrapper {
    max-width: 100%;
}

.log-detail-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

.log-block {
    min-width: 0;
    word-break: break-word;
}

.table-log-detail {
    table-layout: fixed;
    width: 100%;
}

    .table-log-detail td:first-child {
        width: 140px;
        white-space: nowrap;
    }

.log-msg-cell {
    max-width: 600px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

pre.log-block {
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width:992px) {
    .log-msg-cell {
        max-width: 260px;
    }
}
