/* Modern GridView Standardization - STABLE VERSION */
.grid-view, .kv-grid-container {
    overflow-x: auto !important;
    width: 100% !important;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.grid-view table.table {
    width: 100% !important;
    margin-bottom: 0 !important;
    table-layout: auto !important; /* FIXED: Allow browser to calculate widths naturally */
}

/* Header Styling */
.grid-view table.table thead tr th {
    background-color: #007d69 !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding: 10px 8px !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.grid-view table.table thead tr th a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Body Styling */
.grid-view .table tbody td {
    vertical-align: middle !important;
    padding: 10px 10px !important;
    border: 1px solid #f1f5f9 !important;
    font-size: 12.5px !important;
}

/* Pagination Fix */
.pagination {
    margin: 10px 0 !important;
    display: flex !important;
    padding-left: 0 !important;
    list-style: none !important;
}
