/* =========================================================
   ESTILO DAS TABELAS DOS ARTIGOS
   ========================================================= */

table {
    width: 100%;
    margin: 30px 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid #e3e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

/* Cabeçalho */

table thead th {
    padding: 16px 18px;
    background: #f3f6f9;
    color: #2f3742;
    font-weight: 700;
    text-align: left;
    line-height: 1.4;
    border-bottom: 2px solid #dfe4e8;
    white-space: nowrap;
}

/* Células */

table tbody td {
    padding: 15px 18px;
    color: #4b5563;
    line-height: 1.5;
    vertical-align: middle;
    border-bottom: 1px solid #edf0f2;
}

/* Remove a borda da última linha */

table tbody tr:last-child td {
    border-bottom: none;
}

/* Linhas alternadas */

table tbody tr:nth-child(even) {
    background: #fafbfc;
}

/* Efeito ao passar o mouse */

table tbody tr:hover {
    background: #f4f7fa;
}

/* Primeira coluna em destaque */

table tbody td:first-child {
    font-weight: 600;
    color: #2f3742;
}


/* =========================================================
   TABELAS EM TELAS PEQUENAS
   ========================================================= */

@media (max-width: 768px) {

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    table thead,
    table tbody,
    table tr {
        width: 100%;
    }

    table th,
    table td {
        padding: 13px 15px;
    }

}