/* QuickGrid Theme - Colori standardizzati per tutto il portale */

.quickgrid-table {
    margin-bottom: 0;
}

.quickgrid-table thead th {
    background-color: #35465c !important;
    color: white !important;
    font-weight: 600;
    border: none;
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stile per i pulsanti negli header (colonne sortabili) */
.quickgrid-table thead th button {
    color: white !important;
    background: none;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quickgrid-table thead th button:hover {
    color: #e0e0e0 !important;
}

.quickgrid-table tbody td {
    padding: 0.875rem 0.75rem !important;
    border-color: #e9ecef;
    font-size: 0.95rem;
    vertical-align: middle;
    color: black !important;
}

/* Sovrascrivi le variabili CSS di Bootstrap per table-striped */
.quickgrid-table {
    --bs-table-striped-bg: #eaf0f7;
    --bs-table-striped-color: black;
    --bs-table-hover-bg: #d4dde8;
    --bs-table-hover-color: black;
}

/* Righe alternate - Tipo 1 (dispari) */
.quickgrid-table tbody tr:nth-child(odd) {
    background-color: white !important;
}

/* Righe alternate - Tipo 2 (pari) */
.quickgrid-table tbody tr:nth-child(even) {
    background-color: #eaf0f7 !important;
}

.quickgrid-table tbody tr:hover {
    background-color: #d4dde8 !important;
    transition: background-color 0.15s ease-in-out;
}

.quickgrid-table tbody tr {
    transition: background-color 0.15s ease-in-out;
}