html, body { height: 100%; }

#app-loader { transition: opacity .25s ease; }
#app-loader.is-hidden { opacity: 0; pointer-events: none; }

#sidebar.is-open { transform: translateX(0); }
#sidebar-backdrop.is-open { display: block; }

/* Sidebar: tipis, tidak mengganggu konten */
.sidebar-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgb(51 65 85 / 0.9) rgb(15 23 42 / 0.5);
}
.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}
.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
    background-color: rgb(71 85 105 / 0.85);
    border-radius: 9999px;
}
.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgb(100 116 139 / 0.95);
}

table.dataTable thead th,
table.dataTable tbody td {
    border-color: #e2e8f0;
}
table.dataTable thead th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
table.dataTable tbody tr:hover { background-color: #f8fafc; }

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: #475569;
    font-size: 0.875rem;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.375rem 0.625rem;
    margin-left: 0.5rem;
}
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 0.5rem !important;
    border: 1px solid transparent !important;
    margin: 0 0.125rem;
    padding: 0.375rem 0.75rem !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}
