* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background: #2a2a2a;
    min-height: 100vh;
    padding: 30px 20px;
}
.container {
    max-width: 550px;
    margin: 0 auto;
    background: #4a4a4a;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.header {
    text-align: center;
    color: white;
    margin-bottom: 35px;
    padding: 20px;
    background: #3a3a3a;
    border-radius: 15px;
}
.header h1 {
    font-size: 2.2em;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.header p {
    font-size: 1em;
    opacity: 0.9;
    font-style: italic;
}
.section {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4em;
    border-left: 4px solid #666;
    padding-left: 12px;
}
.field {
    margin-bottom: 18px;
}
.field label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 600;
    font-size: 0.9em;
}
.field input, .field select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: 0.2s;
}
.field input:focus, .field select:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 3px rgba(102,102,102,0.1);
}
button {
    width: 100%;
    padding: 12px;
    background: #555;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
button:hover {
    background: #666;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.footer {
    text-align: center;
    color: #ccc;
    font-size: 0.8em;
    margin-top: 20px;
}
.message {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.message h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}
.message p {
    margin: 12px 0;
    font-size: 1em;
}
.message.success {
    background: #FFF8DC;
    border-top: 5px solid #DAA520;
}
.message.success h2 {
    color: #DAA520;
}
.message.error {
    background: #ffe0e0;
    border-top: 5px solid #f44336;
}
.message.error h2 {
    color: #f44336;
}
.message.info {
    background: #e3f2fd;
    border-top: 5px solid #2196f3;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #555;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
    transition: 0.2s;
}
.button:hover {
    background: #666;
    transform: translateY(-2px);
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
th {
    padding: 12px;
    font-weight: 600;
}
td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}
tr:last-child td {
    border-bottom: none;
}
tr:hover {
    background: #f9f9f9;
}
table.rossa th {
    background: #f0a0a0;
    color: #333;
}
table.verde th {
    background: #a0d6a0;
    color: #333;
}
.area-rossa {
    color: #f0a0a0;
    font-weight: bold;
}
.area-verde {
    color: #a0d6a0;
    font-weight: bold;
}