.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-menunggu {
    background: rgba(108, 117, 125, 0.12);
    color: #5f6b77;
}

.status-disetujui {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.status-dipinjam {
    background: rgba(255, 193, 7, 0.14);
    color: #9a7200;
}

.status-terlambat {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-dikembalikan {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-ditolak {
    background-color: rgba(108, 117, 125, 0.12);
    color: #6c757d;
}

.status-muted {
    background: #eef2f7;
    color: #64748b;
}

.inline-action-form {
    display: inline-flex;
    margin: 0;
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.pagination-shell {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination-shell .page-link {
    border-radius: 0.6rem;
    margin: 0 0.15rem;
    border-color: #e9ecef;
    color: #0d6efd;
    font-weight: 600;
}

.pagination-shell .page-item.active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
}

.export-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .table-toolbar {
        align-items: stretch;
    }

    .table-toolbar > * {
        width: 100%;
    }

    .export-actions {
        width: 100%;
    }

    .export-actions .btn {
        flex: 1;
    }
}
