body {
    padding: 20px;
    background: linear-gradient(180deg, #2d5016 0%, #4a7c2c 50%, #2d5016 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Effetto campo di calcio */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.03) 50px,
            rgba(255, 255, 255, 0.03) 100px);
    pointer-events: none;
    z-index: 0;
}

/* Linee del campo */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

h1 {
    color: #2d5016;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-label {
    color: #2d5016;
    font-weight: 600;
}

.form-select,
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: #4a7c2c;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 44, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #4a7c2c 0%, #2d5016 100%);
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
    background: linear-gradient(135deg, #5a8c3c 0%, #3d6026 100%);
}

.template-preview {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.alert-danger {
    border-radius: 10px;
    border-left: 5px solid #dc3545;
}

.alert-info {
    border-radius: 10px;
    border-left: 5px solid #0dcaf0;
    background-color: #e7f6fd;
}

hr {
    border-top: 2px solid #e0e0e0;
    opacity: 1;
}

h2 {
    color: #2d5016;
    font-weight: 600;
}
