.table-ranking {
    font-size: 0.875rem;
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-bottom: 100px;
}

.table-ranking caption {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.875rem;
    text-align: left;
    padding: 12px 16px;
    width: 100% !important;
    text-decoration: none;
    cursor: pointer;
    background: var(--bg-ambientation) no-repeat center;
    background-size: var(--bg-ambientation-size, cover);
    border-radius: 4px 4px 0 0;
}

.table-ranking caption strong {
    font-size: 1rem;
}

.table-ranking td {
    font-weight: 500;
    padding: 8px 16px;
    height: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

.table-ranking th {
    padding: 12px 16px;
    background-color: #f7f7f7;
    white-space: nowrap;
    font-weight: 700;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
}

/* Efeito zebra melhorado */
.table-ranking tr:nth-child(even) {
    background-color: #ffffff;
}

.table-ranking tr:nth-child(odd) {
    background-color: #f8f9fc;
}

/* Hover nas linhas */
.table-ranking tbody tr:hover {
    background-color: #f1f5ff;
}

.table-ranking tfoot tr {
    background-color: transparent !important;
}

/* Última linha sem borda inferior */
.table-ranking tbody tr:last-child td {
    border-bottom: none;
}

.table-ranking .col-ver {
    width: 59px;
    text-align: center;
}

/* Primeira e última células com bordas arredondadas */
.table-ranking th:first-child {
    border-top-left-radius: 4px;
}

.table-ranking th:last-child {
    border-top-right-radius: 4px;
}

.table-ranking tbody tr:last-child td:first-child {
    border-bottom-left-radius: 4px;
}

.table-ranking tbody tr:last-child td:last-child {
    border-bottom-right-radius: 4px;
}
