/* Table Styles (shared) */
table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
th, td {
    border: 1px solid #bcd2ee;
}
th {
    background: #e9f0f9;
    color: #2c3e50;
    font-weight: bold;
    padding: 14px 10px;
}
td {
    padding: 13px 10px;
}
tr:nth-child(even) td {
    background: #f7fafd;
}
tr:last-child td {
    border-bottom: 1px solid #bcd2ee;
} 

/* Responsive tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table {
    min-width: 600px;
    width: 100%;
}

@media (max-width: 768px) {
    .table-responsive {
        margin-bottom: 16px;
    }
    .table-responsive table {
        min-width: 480px;
    }
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        max-width: 100vw;
        -webkit-overflow-scrolling: touch;
    }
} 

/* Enhanced Table Styles (from agents.html) */
table.enhanced-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
@media (max-width: 900px) {
    table.enhanced-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100vw;
    }
}
table.enhanced-table th, table.enhanced-table td {
    padding: 1em 0.75em;
    border: 1px solid #e0e6ef;
    text-align: left;
}
table.enhanced-table th {
    background: #f5f8fa;
    color: #2a4a6b;
    font-weight: 600;
}
table.enhanced-table tr:nth-child(even) {
    background: #f8f9fa;
}
table.enhanced-table tr:hover {
    background: #eaf2f8;
} 