.tableandfiles-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.taf-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem;
}

.taf-row:hover {
    background-color: #9EC3FA;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.taf-row--even {
    background-color: #f5f5f5;
}

.taf-row--odd {
    background-color: #ffffff;
}

.taf-title {
    color: #171c66;
    font-weight: 400;
    font-size: 16px;
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.taf-action {
    flex-shrink: 0;
    margin-left: 1rem;
}

.taf-button {
    background-color: #00be6b;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    font-size: 14px;
    line-height: 18px;
    padding: 10px 38px 10px 38px;
}

.taf-button:hover {
    background-color: #00be6b;
    color: #FFFFFF;
    text-decoration: none;
}

/* Dispositivos com largura menor que 768px (tablets e celulares) */
@media (max-width: 768px) {
    .taf-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.7rem;
    }

    .taf-title {
        font-size: 15px;
        line-height: 1.4;
    }

    .taf-button {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .taf-action {
        width: 100%;
        margin-left: 0;
    }
}

/* Telas muito pequenas (< 480px) */
@media (max-width: 480px) {
    .taf-title {
        font-size: 14px;
    }

    .taf-button {
        font-size: 13px;
        padding: 10px;
    }
}
