/* Optimisation des largeurs de colonnes du tableau */
.rates-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Largeurs spécifiques pour chaque colonne - OPTIMISATION FINALE */
/* 1. Protocole, 2. Blockchain, 3. Asset, 4. APY, 5. TVL, 6. Pool, 7. Type, 8. Action */
.rates-table thead th:nth-child(1) {
    width: 13%;
}

/* Protocole */
.rates-table thead th:nth-child(2) {
    width: 15%;
}

/* Blockchain */
.rates-table thead th:nth-child(3) {
    width: 12%;
}

/* Asset */
.rates-table thead th:nth-child(4) {
    width: 10%;
}

/* APY */
.rates-table thead th:nth-child(5) {
    width: 10%;
}

/* TVL */
.rates-table thead th:nth-child(6) {
    width: 16%;
}

/* Pool */
.rates-table thead th:nth-child(7) {
    width: 11%;
}

/* Type */
.rates-table thead th:nth-child(8) {
    width: 13%;
}

/* Action */

/* Alignement centré pour TOUTES les colonnes */
.rates-table thead th,
.rates-table tbody td {
    text-align: center;
}

/* Responsive - Garder les proportions optimisées */
@media (max-width: 1400px) {
    .rates-table thead th:nth-child(1) {
        width: 13%;
    }

    /* Protocole */
    .rates-table thead th:nth-child(2) {
        width: 15%;
    }

    /* Blockchain */
    .rates-table thead th:nth-child(3) {
        width: 12%;
    }

    /* Asset */
    .rates-table thead th:nth-child(4) {
        width: 10%;
    }

    /* APY */
    .rates-table thead th:nth-child(5) {
        width: 10%;
    }

    /* TVL */
    .rates-table thead th:nth-child(6) {
        width: 16%;
    }

    /* Pool */
    .rates-table thead th:nth-child(7) {
        width: 11%;
    }

    /* Type */
    .rates-table thead th:nth-child(8) {
        width: 13%;
    }

    /* Action */
}

@media (max-width: 1200px) {
    .rates-table {
        table-layout: auto;
    }

    .rates-table thead th {
        min-width: 80px;
    }
}