body {
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
    background-color: #F0F0F0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.prenota-section {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    background: #f5f5f5ac;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.prenota-title {
    font-size: 2.5rem;
    color: #003366;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.prenota-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #003366;
}

.required:after {
    content: " *";
    color: #ff0000;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Kumbh Sans', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #003366;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.note {
    font-size: 0.9rem;
    color: #000;
    margin-top: 0.3rem;
}

.btn-submit {
    background-color: #003366;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #0066CC;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.obbligatori-note {
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 1rem;
    text-align: right;
}

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    
    .prenota-section {
        margin: 0;
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .prenota-title {
        font-size: 2rem;
    }
}