body {
    font-family: Arial, sans-serif;
    color: #000; /* Colore nero per una migliore leggibilità */
    background-color: #f0f0f0; /* Colore di sfondo leggero per una migliore leggibilità */
}

.custom-user-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.custom-user-form h3, .custom-user-form h4 {
    margin-top: 20px;
    color: #333;
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="checkbox"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    font-size: 1em;
}

.entry-section {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.entry-table,
.likert-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.entry-table th,
.likert-table th,
.entry-table td,
.likert-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    font-size: 1em;
}

.entry-table th {
    background-color: #f2f2f2;
}

.likert-table th {
    background-color: #f7f7f7;
}

.validation-error {
    color: red;
    font-weight: bold;
}

.validation-errors {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid red;
    background-color: #ffefef;
    color: red;
    border-radius: 4px;
}

.custom-user-form .form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-user-form .form-group label {
    flex-basis: 20%;
    margin-bottom: 0;
}

.custom-user-form .form-group input {
    flex-basis: 75%;
}

.custom-user-form button[type="submit"] {
    background-color: #007BFF; /* Colore blu */
    color: white;
    padding: 15px 30px; /* Dimensione maggiore */
    border: none;
    border-radius: 8px; /* Angoli smussati */
    cursor: pointer;
    font-size: 1.2em; /* Font più grande */
    display: block;
    margin: 20px auto; /* Centrato */
}

.custom-user-form button[type="submit"]:hover {
    background-color: #0056b3; /* Colore blu scuro al passaggio del mouse */
}

input[type="checkbox"] {
    margin-right: 10px;
}

#attestation-label {
    display: flex;
    align-items: center;
}

#attestation-label input {
    margin-right: 10px;
}