/* ===== اسکرول مستقل برای جداول داخل کارت‌ها ===== */
/* برای کارت ترجمه‌ها و C2C که داخل .collapsible-body هستند */
.collapsible-body .dashboard-table,
.collapsible-body .data-table {
    display: block;
    width: 100%;
}

.collapsible-body .dashboard-table tbody,
.collapsible-body .data-table tbody {
    display: block;
    max-height: 350px;
    overflow-y: auto;
    width: 100%;
}

.collapsible-body .dashboard-table thead,
.collapsible-body .data-table thead,
.collapsible-body .dashboard-table tbody tr,
.collapsible-body .data-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.collapsible-body .dashboard-table thead,
.collapsible-body .data-table thead {
    position: sticky;
    top: 0;
    background: var(--table-head-bg);
    z-index: 2;
}

/* برای کارت Recent top-ups (که داخل .collapsible-body نیست) */
.card:not(.collapsible-card) .dashboard-table {
    display: block;
    width: 100%;
}
.card:not(.collapsible-card) .dashboard-table tbody {
    display: block;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
}
.card:not(.collapsible-card) .dashboard-table thead,
.card:not(.collapsible-card) .dashboard-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.card:not(.collapsible-card) .dashboard-table thead {
    position: sticky;
    top: 0;
    background: var(--table-head-bg);
    z-index: 2;
}