body {
    font-family: sans-serif;
    margin: 0;
    padding: 15px;
    background: #f4f4f9;
    color: #333;
}
h1 {
    text-align: center;
    color: #005A9C;
    font-size: 1.5em;
}
.card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}
h2 {
    font-size: 1.2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.9em;
}
input[type="number"], input[type="text"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
}
button {
    width: 100%;
    padding: 12px;
    background: #005A9C;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    margin-top: 15px;
    cursor: pointer;
}
button:active {
    background: #004070;
}
#risultato {
    margin-top: 15px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 0.9em;
}
th {
    background: #eee;
}
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: left; font-size: 0.9em; }
th { background: #eee; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: left; font-size: 0.9em; }
th { background: #eee; }
