.contenitore {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: inherit;
    }

.header-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
.header-menu h2 {
    margin: 0; font-size: 18px; font-weight: 700; color: #1e293b;
    } 

.header-menu p {
    margin: 5px 0 0 0; font-size: 12px; color: #64748b;
    }
    
.header-menu label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    tracking: 0.5px;
    white-space: nowrap;
    }
    
.header-menu select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none; min-width: 250px;
    }

.exclamation {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 25px 0;
    padding: 1px 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    color: #64748b;
    }      
.contenitore-tabella  {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    min-height: 300px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
.caricamento  {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    }

.caricamento p {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
    }

#stationHeader {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    }

#stationHeader h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    }
    
.copyright {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #1d4ed8;
    text-transform: uppercase;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #bfdbfe;
    margin-top: 6px;
    }

#tableContainer {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: none;
    }
    
#tableContainer table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
    }

#tableContainer table tr {
    background: #f8fafc; border-bottom: 2px solid #e2e8f0; color: #475569; font-weight: 700; font-size: 11px; text-transform: uppercase;
    }

#tableContainer table th {
    padding: 12px 16px;
    text-align: center;
    }

/* TRASFORMAZIONE MOBILE PER SMARTPHONE */
@media (max-width: 600px) {
    /* Nascondiamo l'intestazione classica della tabella */
    .cfd-data-table create, .cfd-data-table thead { display: none; }
    .cfd-data-table tr { 
        display: block; 
        border-bottom: 3px solid #cbd5e1; 
        padding: 15px 5px;
    }
    .cfd-data-table td { 
        display: flex; 
        justify-content: space-between; 
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
        padding: 8px 10px;
        text-align: right;
    }
    .cfd-data-table td::before {
        content: attr(data-label); /* Genera un'etichetta descrittiva a sinistra */
        font-weight: bold;
        color: #05056c;
        float: left;
    }
    .stazione-name { 
        background-color: #f1f5f9; 
        justify-content: center !important; 
        text-align: center;
    }
    .btn-table { width: 50%; text-align: center; } /* Allarga i bottoni sul telefono per facilitare il click */
}