

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

form {
    margin: 0 auto;
    max-width: 1800px;  /* Modificato da width a max-width */
    width: 100%;  /* Aggiunto per far sì che il form si adatti alla larghezza dello schermo */
    min-width: 600px;  /* La larghezza minima non deve andare sotto i 600 pixel */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #ffffff;
}


input[type="password"], select, input[type="date"], input[type="text"] {
    box-sizing: border-box;  
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}


input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}


.location-row > button:hover {
    background-color: #0056b3;
}

#trasferteTable {
    width: 100%;
    border-collapse: collapse;
}

#trasferteTable th {
    background-color: #007BFF;
    color: #fff;
    padding: 10px;
    font-weight: bold;
}

#trasferteTable td, #trasferteTable th {
    border: 1px solid #ccc;
    padding: 10px;
}

#trasferteTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

#trasferteTable th:nth-child(1),
#trasferteTable td:nth-child(1) {
    width: 5%; /* Specifica la larghezza percentuale della prima colonna */
}

#trasferteTable th:nth-child(2),
#trasferteTable td:nth-child(2) {
    width: 25%; /* Specifica la larghezza percentuale della seconda colonna */
}

#trasferteTable th:nth-child(3),
#trasferteTable td:nth-child(3) {
    width: 30%; /* Specifica la larghezza percentuale della terza colonna */
}

#trasferteTable th:nth-child(4),
#trasferteTable td:nth-child(4) {
    width: 40%; /* Specifica la larghezza percentuale della quarta colonna */
}


}