.cdt-wrapper {
    width: 100%;
    margin: 0 0 16px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.cdt-top,
.cdt-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
}

.cdt-length,
.cdt-search,
.cdt-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cdt-length select,
.cdt-search input {
    min-height: 34px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px 9px;
    background: #fff;
}

.cdt-search input {
    min-width: 220px;
}

.cdt-table-holder {
    width: 100%;
    overflow-x: auto;
}

.cdt-table {
    width: 100%;
    border-collapse: collapse;
}

.cdt-table th {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.cdt-table th.cdt-orderable::after {
    content: " ↕";
    font-size: 11px;
    opacity: .55;
}

.cdt-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.cdt-pagination button {
    min-width: 34px;
    min-height: 34px;
    padding: 5px 10px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.cdt-pagination button:hover:not(:disabled),
.cdt-pagination button.active {
    background: #f1f3f5;
}

.cdt-pagination button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.cdt-dots {
    padding: 5px 7px;
}

@media (max-width: 650px) {
    .cdt-top,
    .cdt-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .cdt-search input {
        width: 100%;
    }

    .cdt-pagination {
        justify-content: flex-start;
    }
}

.cdt-table th.cdt-sort-asc::after {
    content: " ↑";
    font-size: 11px;
}

.cdt-table th.cdt-sort-desc::after {
    content: " ↓";
    font-size: 11px;
}
