/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Table Base Styling */
.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px; /* forces horizontal scroll on mobile */
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Table Head */
.table-responsive thead th {
    padding: 10px;
    text-align: left;
    white-space: nowrap;
}

/* Table Body */
.table-responsive tbody td {
    padding: 8px 10px;
    vertical-align: top;
}

/* Zebra Rows */
.table-responsive tbody tr:nth-child(odd) {
    background-color: #eee;
}
.table-responsive tbody tr:nth-child(even) {
    background-color: #ddd;
}

/* Links */
.table-responsive a {
    color: #1C3F5F;
    text-decoration: none;
}
.table-responsive a:hover {
    text-decoration: underline;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .table-responsive table {
        font-size: 13px;
    }
}

/* Optional: Sticky Header (Desktop Only) */
@media (min-width: 992px) {
    .table-responsive thead th {
        position: sticky;
        top: 0;
        z-index: 2;
    }
}
