/* Reset di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 12px;
    font-weight:bold;
    text-align: center;
    padding: 10px;
}

label {
    display: block;
    margin-top: 8px; /* Ridotto da 10px a 8px */
    margin-left: 3px;
    font-size: 12px;
    text-align: left;
}

input, select, button {
    width: 99%; /* Uniformiamo la larghezza al 95% */
    padding: 10px;
    margin-top: 5px;
    background-color: white;
    border: 1px solid #9a9a9a;
    border-radius: 5px;
    box-sizing: border-box; /* Assicura che padding e border siano inclusi nella larghezza */
}

input[type="checkbox"] {background: #e0e0e0;border: 1px #9a9a9a;height: 25px;width: 25px;}

.label-group {
    display: flex;
    justify-content: space-evenly;  /* Distanza perfettamente uniforme */
    margin-top: 10px;
}
.item {
    width: 50%;
    font-size: 12px;
    text-align: left;
    margin-left: 3px;
}

/* Stile per i pulsanti affiancati */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

button {
    background: #333;
    color: white;
    font-size: 16px;
    cursor: pointer;
    flex: 1;
    width: auto;
}
button:hover {
    background: #555;
}

.button-secondary {
    background: #777; /* Colore diverso per il bottone "Torna Indietro" */
}

.button-secondary:hover {
    background: #999;
}

input[type="text"]:read-only {background: #e0e0e0;cursor: no-drop;}

:required {background: #e183af;}

select option:first-child:disabled {background-color: white;}
