.dataTables_wrapper .dataTables_filter input {
    border-radius: 6px;
    padding: 6px 12px;
    border: 1px solid #dcdcdc;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_filter label {
    font-weight: 500;
    color: #555;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 6px;
    padding: 4px 10px;
    border: 1px solid #dcdcdc;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
    margin-bottom: 20px;
}

table.dataTable {
    width: 100% !important;
}


/* Styling header DataTables */
table.dataTable thead th {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 12px 10px;
    border-bottom: none;
    position: relative;
}

/* Hover efek header */
table.dataTable thead th:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    cursor: pointer;
}

/* Border halus antar kolom */
table.dataTable thead th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Shadow bawah header */
table.dataTable thead {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Sort icon spacing (opsional) */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    right: 8px;
    opacity: 0.8;
}

/* HEADER (TH) */
table.dataTable thead th {
    background: #f3f4f6;
    color: #111827;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

/* hover header */
table.dataTable thead th:hover {
    background: #e5e7eb;
    cursor: pointer;
}

/* garis antar header */
table.dataTable thead th:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}

/* shadow header */
table.dataTable thead {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* ROW */
table.dataTable tbody tr {
    transition: all 0.15s ease;
    background: #ffffff;
}

/* zebra */
table.dataTable tbody tr:nth-child(even) {
    background: #fcfcfd;
}

/* hover row */
table.dataTable tbody tr:hover {
    background: #f9fafb;
}

/* selected row */
table.dataTable tbody tr.selected {
    background: #eef2f7 !important;
}

/* cell */
table.dataTable tbody td {
    padding: 10px;
    font-size: 13px;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
}

/* table radius */
table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}



.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 10px !important;
    margin: 0 2px;
    font-size: 12px;
    border-radius: 6px !important;
    /* tidak terlalu rounded */
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #111827 !important;
}

/* hover */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}

/* active page */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #111827 !important;
    color: #ffffff !important;
    border: 1px solid #111827 !important;
}

/* NEXT & PREVIOUS khusus */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    font-weight: 500;
    background: #f9fafb !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
}

/* hover next prev */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover {
    background: #e5e7eb !important;
}

/* disabled */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.dataTables_processing:after {
    display: none !important;
}

.dataTables_processing:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 4px solid #e0e0e0;
    border-top-color: #ed1313;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 80px
}

.dataTables_wrapper .dataTables_processing div {
    display: none !important;
}

.dataTables_filter label {
    font-size: 0;
    /* sembunyikan "Search:" */
}

.dataTables_filter input {
    font-size: 14px;
    /* balikin ukuran input */
}

/* POPUP */
.swal2-popup {
    border-radius: 12px !important;
    padding: 16px !important;
    width: 380px !important;
}

/* ICON kecil */
.swal2-icon {
    transform: scale(0.7);
    margin: 6px auto 0 auto !important;
}

/* TITLE (tidak terlalu dominan) */
.swal2-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
}

.swal2-container {
    z-index: 99999 !important;
}

/* TEXT lebih readable */
.swal-text {
    font-size: 13px !important;
    color: #374151 !important;
    margin-top: 6px !important;
}

/* ACTIONS spacing */
.swal2-actions {
    margin-top: 12px !important;
    gap: 8px;
}

/* BUTTON STYLE */
.swal2-confirm {
    background-color: #dc2626 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 16px !important;
    border: none !important;
}

.swal2-cancel {
    background-color: #6b7280 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 16px !important;
    border: none !important;
}
