/* Estilo geral da tabela */
.excel-table {
    border-collapse: collapse;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Células */
.excel-table th, .excel-table td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Cabeçalho */
.excel-table th {
    background-color: #007bff; /* Azul intenso */
    color: #ffffff; /* Branco */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #0056b3; /* Borda inferior destacada */
}

/* Linhas alternadas */
.excel-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Cinza claro */
}

.excel-table tr:nth-child(odd) {
    background-color: #ffffff; /* Branco */
}

/* Efeito de destaque ao passar o mouse */
.excel-table tr:hover {
    background-color: #eaf4ff; /* Azul claro */
    transform: scale(1.01); /* Efeito sutil de aumento */
    cursor: pointer;
}

/* Células de desempenho */
.best-performance {
    background-color: #c6efce !important; /* Verde claro */
    color: #006100 !important;
    font-weight: bold;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.average-performance {
    background-color: #ffeb9c !important; /* Amarelo claro */
    color: #9c6500 !important;
    font-weight: bold;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.low-performance {
    background-color: #ffc7ce !important; /* Vermelho claro */
    color: #9c0006 !important;
    font-weight: bold;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

/* Rodapé */
.excel-table tfoot td {
    background-color: #94a4b6; /* Azul intenso */
    color: #ffffff; /* Branco */
    font-weight: bold;
    text-transform: uppercase;
    border-top: 2px solid #647383; /* Borda superior destacada */
}

/* Legenda para desempenho */
.performance-legend {
    margin: 15px 0;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.performance-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.performance-legend .box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.performance-legend .best {
    background-color: #c6efce; /* Verde claro */
}

.performance-legend .average {
    background-color: #ffeb9c; /* Amarelo claro */
}

.performance-legend .low {
    background-color: #ffc7ce; /* Vermelho claro */
}
