/* Stili generali per la tabella con id="table_results" */
#table_results {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}

#table_results thead th {
    background-color: #f08125; /* Colore intestazioni HEIWIT */
    color: white;
    padding: 12px;
    border: 1px solid #ddd;
}

#table_results tbody td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* Colore speciale per colonna HEIWIT */
#table_results thead th:nth-child(2) {
    background-color: #f08125; /* Colore intestazione HEIWIT */
}

#table_results tfoot th:nth-child(2) {
    background-color: #f08125; /* Colore intestazione HEIWIT */
    color: white;
}

#table_results tbody td:nth-child(2) {
    background-color: #f7c49a; /* Colore più chiaro per il corpo HEIWIT */
    font-weight: bold;
    color: #333;
}

/* Totali */
#table_results tfoot th,
#table_results tfoot td {
    background-color: #f7f7f7;
    font-weight: bold;
    padding: 12px;
    border-top: 2px solid #ddd;
}

/* Stile righe alternate */
#table_results tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Stile hover per righe della tabella */
#table_results tbody tr:hover {
    background-color: #e6f7ff;
    cursor: pointer;
}

/* Stile generale per le intestazioni */
#table_results th {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Rimozione bordo esterno della tabella */
#table_results, 
#table_results th, 
#table_results td {
    border: none;
}

/* Allineamento a sinistra per la prima colonna (voci di spesa) */
#table_results td:first-child, 
#table_results th:first-child {
    text-align: left;
    padding-left: 15px;
}
