.customer-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.customer-table-toolbar-left,
.customer-table-toolbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.customer-table-toolbar-right {
    margin-left: auto;
    justify-content: flex-end;
}

.customer-table-len {
    width: auto;
    min-width: 110px;
}

.customer-table-search {
    min-width: min(320px, 100%);
}

.customer-table-shell {
    position: relative;
}

.customer-table-scroll {
    max-height: min(62vh, 620px);
    min-height: 320px;
    overflow: auto;
}

.customer-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.customer-table-scroll td {
    vertical-align: middle;
}

.customer-table-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(1px);
}

.customer-table-loading.is-visible {
    display: flex;
}

.customer-table-loading-box {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-weight: 500;
}

.customer-table-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.customer-table-info {
    color: #6b7280;
    font-size: 14px;
}

.customer-table-footer .dashboard-pagination {
    margin: 0;
}

@media (max-width: 575.98px) {
    .customer-table-toolbar,
    .customer-table-toolbar-left,
    .customer-table-toolbar-right {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-table-toolbar-right {
        margin-left: 0;
    }

    .customer-table-len,
    .customer-table-search {
        width: 100%;
    }

    .customer-table-footer {
        align-items: stretch;
        flex-direction: column;
    }
}
