.form-floating label {
    color: #a8aab4;
}

.click-account{
    cursor: pointer;
    color: #666cff;
}

.text-title-index {
    text-transform: capitalize;
    font: inherit; 
    color: inherit; 
    font-size: 14px;
}

/* row utama baris tabel agar relative terhadap hover-menu */
.custom-datatables tbody tr {
    position: relative;
    height: auto; 
}

.custom-datatables tbody td {
    padding-top: 18px;
    padding-bottom: 18px;
}

.custom-datatables > tbody > tr:hover {
    background: #f9f9f9; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.custom-datatables tbody tr td table tbody tr:hover {
    background: none !important; 
    box-shadow: none !important;
    transition: none !important;
}


/* Wrapper untuk tombol-tombol aksi yang muncul saat hover */
.hover-menu-wrapper {
    position: absolute;
    left: var(--left, 230px);
    top: var(--top, 0px);
    bottom: 0;
    display: flex;
    align-items: center; 
    justify-content: flex-end; 
    height: 100%;
    pointer-events: none; 
    z-index: 100; 
}

 .hover-menu {
    display: flex;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
    gap: 15px; /* jarak antar tombol */
    padding: 6px;
}

/* saat hover row, menampilkan semua menu */
.custom-datatables tbody tr:hover .hover-menu {
    opacity: 1;
    pointer-events: auto;
}

/* style tombol ikon */
.hover-menu a {
    text-decoration: none;
    color: grey;
    padding: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    text-align: center;
    text-wrap: nowrap; /* tetap satu baris label */
}   

/* Ikon besar dan rapi */
.hover-menu i {
    margin: 0;           /* hapus margin default (me-1) */
    line-height: 1;
}

/* custom size icon mdi */
.icon-lg.mdi:before {
  font-size: 20px;
}

/* Label */
.hover-menu span {
    font-size: 12px;
    line-height: 1.1;
    margin-top: 2px;     /* rapat dengan ikon */
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-disabled-permission {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}


/* SELECT2 MULTIPLE */
.custom-select2-sm + .select2-container .select2-selection--multiple {
    font-size: 12px !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.25rem;
    min-height: 38px !important;
    box-sizing: border-box;
}

/* Item di dalam SELECT2 MULTIPLE */
.custom-select2-sm + .select2-container .select2-selection__choice {
    font-size: 12px;
    /* padding: 0.1rem 0.4rem;
    margin-top: 2px; */
}
/* SELECT2 MULTIPLE */

/* SELECT2 SINGLE */
.custom-select2-sm + .select2-container .select2-selection--single {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 12px !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.25rem;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box;
}

/* Text yang ditampilkan di SINGLE */
.custom-select2-sm + .select2-container .select2-selection--single .select2-selection__rendered {
    display: flex !important;
    align-items: center;
    height: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.2 !important;
}

/* Panah dropdown */
.custom-select2-sm + .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
}
/* SELECT2 SINGLE */


.form-floating.custom-form-sm > .form-control, .form-floating.custom-form-sm > .form-control-plaintext, .form-floating.custom-form-sm > .form-select {
    min-height: 42px !important;
    line-height: 1.47;
}
/* Untuk input biasa dalam .form-floating, misal date range */
.custom-input-sm {
    height: 42px !important;
    font-size: 12px !important;
    padding: 0.375rem 0.75rem !important;
}

#modal-emp-information .modal-content {
  padding: 0px !important;
}

.dialog-emp td {
    padding: 3px !important;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 14px;
  }

.dialog-emp tr td:first-child {
  /* width: 35%; */
   white-space: nowrap;
}

.dialog-emp tr td:nth-child(2) {
  width: 5%;
  text-align: center;
}

.callout-custom {
    padding: 15px 20px;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 4px;
    background-color: #f1f1f1;
    color: #333;
}

.callout-custom-warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #856404;
}

.callout-custom {
    padding: 15px 20px;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 4px;
    background-color: #f1f1f1;
    color: #333;
}

.callout-custom-warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #856404;
}

.callout-custom-info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
    color: #0c5460;
}

.custom-table-info {
  width: 100%;
  border-collapse: collapse;
}

.custom-table-info td {
  padding: 2px !important; 
  vertical-align: top;
  font-size: 14px;
  color: #333;
}

.custom-table-info tr td:first-child {
  white-space: nowrap;
  /* width: 30%; */
}
.custom-table-info tr td:nth-child(2) {
  width: 10px;
}

.custom-table-info-label{
    font-size: 16px;
}

@media (max-width: 768px) {
    .hover-menu-wrapper {
        position: absolute;
        top: 0px; 
        left: 100px; 
        display: flex;
        align-items: center; 
        justify-content: flex-end; 
        pointer-events: none; 
        z-index: 100; 
    }
}
