table.dataframe {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875em;
    /* width: 100%; */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

table.dataframe th,
table.dataframe td {
    padding: 10px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f2f5;
    border-right: 1px solid #f0f2f5;
}

table.dataframe th:first-child,
table.dataframe td:first-child {
    border-left: 1px solid #f0f2f5;
}

table.dataframe thead th {
    background-color: #2d6a9f;
    color: white;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.8em;
    border-color: rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

table.dataframe tbody tr {
    transition: background-color 0.15s ease;
}

table.dataframe tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

table.dataframe tbody tr:hover {
    background-color: #eff6ff;
}

table.dataframe tbody tr:last-child td {
    border-bottom: 1px solid #f0f2f5;
}