/* کانتینر اصلی برای اسکرول افقی در موبایل */
.gb-listview-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.gb-listview-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    direction: rtl;
    font-family: 'Tahoma', sans-serif;
    min-width: 600px; /* جلوگیری از بهم ریختگی ستون‌ها */
}

/* استایل سربرگ */
.gb-listview-table thead tr {
    background-color: #832121; /* رنگ زرشکی گره‌بان */
    color: #ffffff;
    text-align: right;
    font-weight: bold;
}

.gb-listview-table th,
.gb-listview-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

/* استایل ردیف‌ها */
.gb-listview-table tbody tr:nth-child(even) {
    background-color: #fcf9f9;
}

.gb-listview-table tbody tr:hover {
    background-color: #f1f1f1;
    transition: background 0.3s ease;
}

/* استایل لینک‌ها */
.gb-listview-table a.gb-link {
    color: #832121;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #832121;
}

.gb-listview-table a.gb-link:hover {
    color: #333;
    border-bottom-style: solid;
}

/* پیغام خالی بودن */
.gb-no-data {
    padding: 20px;
    background: #fff3f3;
    border: 1px solid #f8d7da;
    color: #721c24;
    border-radius: 5px;
    text-align: center;
}