/* .page-wrapper.horizontal-wrapper .page-body-wrapper .sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li .sidebar-submenu {
    position:  relative !important;
} */

/* a.sidebar-link[title]:hover::after {
    content: attr(title);
    position: absolute;
    z-index: 99;
    bottom:15px;
    background-color: #2f2e2e;
    color: #FFF;
    font-size:0.6rem;
    padding: 4px;

} */

/* body{
    font-family: "Nunito", sans-serif;
    font-weight: 400;
} */

.page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    min-height: calc(100vh - 100px);
    margin-top: 75px;
}

.page-header{
    background: linear-gradient(145deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 15%, rgb(45, 181, 245) 100%);
}

.page-wrapper .page-body-wrapper .page-title {
    margin: 0 -27px 20px;
}


.dataTables_wrapper button{
    font-size: 12px !important;
    padding: 0.25rem 0.65rem !important;
}

.dt-buttons, .dt-paging{
    float: right !important;
}
/* .dt-buttons button{
    border-radius: 2px;
    color: white;
    background-color: #222426 !important;
    border:none;
    font-size: 0.85rem !important;
}

.dt-buttons button:hover{
    color: white;
    background-color: #1D1E20 !important;
} */

.select2-container{
    height: 38px !important;
}

/* span.dt-column-title>input{
    display: block !important;
} */

.form-control2 {
    width: 100%;
    height: 20px !important;
    padding: 15px 6px;
}

.form-control3 {
    width: 100%;
    height: 25px !important;
    padding: 6px;
}


.form-control2:focus, .form-control3:focus {
    border-color:#CCC !important;
}

.wrap-col {
  white-space: normal !important;
  word-break: break-word;
  min-width: 300px;
  max-width: 450px; /* opsional */
}

table.display tbody tr td{
    white-space: nowrap;
}

fieldset {
    border: 1px solid #e1e1e1;
    /* padding: 1em; */
    padding: 0 1em 1em 1em;
    /* font: 80%/1 sans-serif; */
}

legend {
    padding: 0.2em 0.5em;
    font-size: 0.9rem;
    float: none !important;
    width: auto;
}

#qrcode-2 img{
    width: 100% !important;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    color: grey; /* or any color indicating the disabled state */
    text-decoration: none;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links li a i {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    float: none;
    transition: all 0.3s ease;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links li a svg {
    vertical-align: -4px !important;
}

.dataTables_wrapper table.dataTable {
    border: 1px solid #efefef;
}

/* .page-wrapper .sidebar-main-title h6{
    font-weight: 700;
} */

.table-primary tr th{
    background-color: #bfeaff;
}

.select2-container--default .select2-selection--single{
    border: 1px solid #dee2e6;
}
.select2-container .select2-selection--single{
    height:40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 20px !important;
}

/*datatable*/
/* table.dataTable thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f9f9f9;
}

table.dataTable thead th {
    border-bottom: 1px solid #ccc;
} */

thead.text-center tr th{
    text-align: center !important;
}

table {
    width: 100%; /* Pastikan tabel menggunakan lebar penuh */
    max-width: 100%; /* Batasi lebar maksimum agar scrollbar muncul */
    white-space: nowrap; /* Hindari konten tabel membungkus */
}
th, td {
    min-width: 60px; /* Sesuaikan dengan lebar minimum kolom */
}

table.dataTable {
    width: 100%;
    table-layout: auto;
}

.table-responsive {
    overflow-x: auto;
}

/* Scroll area untuk tabel */
.dt-scroll-body {
    overflow-x: auto !important;
    overflow-y: auto !important;
    height: 650px !important;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling di perangkat sentuh */
}

/* Tambahkan padding untuk scrollbar */
.dt-scroll {
    padding-bottom: 10px;
}

/* Tampilan scrollbar untuk browser modern */
.dt-scroll-body::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.dt-scroll-body::-webkit-scrollbar-thumb {
    background-color: #888; /* Warna scrollbar */
    border-radius: 5px;
}

.dt-scroll-body::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Warna latar belakang scrollbar */
}

.bg-login {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-position: center;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg); /* opsional, untuk orientasi lebih natural */
}

.is-invalid {
    border: 1px solid red !important;
}