/* --- MODERN TABLE RE-DESIGN --- */

/* 1. Container & Base Table */
.table-responsive {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.table.cols-3.table-bordered {
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
    font-family: 'Inter', -apple-system, sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

/* 2. Header Style */
.table thead.bg-light th {
    background-color: #2563eb !important; /* Warna biru modern */
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 15px 20px;
    border: none !important;
}

/* 3. Row & Cell Style */
.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f1f5f9 !important;
    transform: scale(1.002);
}

.table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: none !important;
    border-left: none !important;
    color: #334155;
    line-height: 1.5;
}

/* Mengatur Link di dalam tabel */
.table td a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.table td a:hover {
    text-decoration: underline;
}

/* --- MODERN PAGINATION --- */

.pager {
    margin-top: 30px !important;
    display: flex;
    justify-content: center;
}

.pagination {
    gap: 8px;
    list-style: none;
    display: flex;
    padding: 0;
}

.pagination li a, 
.pagination li span {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    color: #64748b !important;
    background: #ffffff !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination li.is-active a, 
.pagination li.active span {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.pagination li a:hover:not(.is-active) {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #2563eb !important;
}