/* Toastr */
.toast {
    opacity: 1 !important;
}

/* Utility */
.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.opacity-1 {
    opacity: 1;
}

.opacity-load {
    opacity: 0.6 !important;
}

.vertical-align-middle {
    vertical-align: middle;
}

/* Tabulator Knockout */
.gridStyle {
    border: 1px solid rgb(212,212,212);
    width: 100%;
    height: 70vh;
}

.kgRowCountPicker{
    display: none;
}

[title="First Page"] {
    display: none;
}

[title="Last Page"] {
    display: none;
}

.kgPagerCurrent {
    background-color: #e9ecef; /* Light gray background to indicate disabled state */
    border: 1px solid #ced4da; /* Border color for disabled input */
    color: #6c757d; /* Text color for disabled state */
    cursor: not-allowed; /* Cursor style to indicate no interaction */
    pointer-events: none; /* Prevent interaction (clicks, text selection) */
}

.badge, button.badge {
    border: 0 !important;
}

.input-group-text {
    cursor: pointer;
}

[x-cloak] {
    display: none;
}

.whatsapp-ico {
    position: fixed;
    bottom: 0;
    right: 0;
    margin-right: 4.1rem;
    margin-bottom: 1rem;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #29d129;
    color: #fff;
    fill: #fff;
    padding: 4px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 1031;
}

/* SIDEBAR 2026 */
:root {
    --app-shell-bg: #212631;
    /* samakan dengan warna sidebar */
    --app-surface-bg: #f3f4f7;
    --app-radius: 24px;
}

@media (min-width: 992px) {
    body {
        background: var(--app-shell-bg);
    }

    .sidebar~.wrapper {
        padding-left: 0 !important;
        margin-left: var(--cui-sidebar-occupy-start, 256px);
        width: auto;
        background: var(--app-surface-bg) !important;
        transition: margin-left .15s;
        /* border-radius dan overflow: clip DIHAPUS, tidak dipakai lagi */
    }

    /* Lengkung kiri-atas: digambar di header, jadi ikut menempel saat di-scroll.
       Ditimpa warna shell supaya isi halaman yang lewat di bawah header tidak mengintip di sudut. */
    .sidebar~.wrapper>.header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: var(--app-radius);
        height: var(--app-radius);
        background: radial-gradient(circle at 100% 100%,
                transparent calc(var(--app-radius) - .5px),
                var(--app-shell-bg) var(--app-radius));
        pointer-events: none;
        z-index: 1;
    }

    /* Lengkung kiri-bawah: di footer, bukan di wrapper */
    .sidebar~.footer,
    .sidebar~.wrapper>.footer {
        border-bottom-left-radius: var(--app-radius);
    }
}