body {
    font-family: "Segoe UI", "Inter", sans-serif;
    line-height: 1.6;
    letter-spacing: 0.2px;
    padding: 20px;
    max-width: 700px;
    margin: auto;
    background-color: #fdfdfd;
    color: #222;
}

.header-principale {
    text-align: center;
    margin-bottom: 20px;
}

.header-principale h1 {
    font-size: 36px;
    font-weight: bold;
    color: #2E3A59;
    margin-bottom: 5px;
}

.header-principale .intro-title {
    font-size: 18px;
    color: #666;
    margin-top: 0;
}

.intro-blocco {
    text-align: center;
    margin-bottom: 30px;
}

.intro-blocco .intro {
    font-size: 16px;
    margin-bottom: 8px;
}

.intro-blocco .intro-small {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.intro-blocco .footer-feedback {
    font-size: 13px;
    color: #888;
    margin-top: 15px;
}

.intro-title {
    font-size: 16px;
    color: #555;
    margin-top: -5px;
    margin-bottom: 5px;
    text-align: center;
}

.feedback-note {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 20px;
}

section label {
    margin-bottom: 8px;
}

/* Mobile: torna centrato */
@media (max-width: 600px) {

    .feedback-note,
    .footer-feedback {
        text-align: center;
    }
}


label {
    display: block;
    margin-top: 10px;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 6px;
    margin-top: 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
}

section {
    margin-bottom: 20px;
}

.riga {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.riga input {
    flex: 1;
}

.pulsante-centro {
    text-align: center;
    margin-top: 5px;
}

.contenitore {
    max-width: 780px;
    margin: auto;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

button {
    margin-top: 5px;
    padding: 8px 12px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.rimuovi-riga {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    font-size: 18px;
    padding: 0 10px;
    cursor: pointer;
    line-height: 1;
    color: #a00;
    border-radius: 4px;
}

.rimuovi-riga:hover {
    background-color: #f5c6cb;
}

.due-colonne {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.due-colonne section {
    flex: 1;
}

.due-colonne h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #2E3A59;
    font-weight: 600;
}

@media (max-width: 700px) {
    .due-colonne {
        flex-direction: column;
    }
}


/* Badge / Avviso versione free */
div[style*="background:#ffeeba"] {
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .riga {
        flex-direction: column;
    }

    .riga input {
        width: 100%;
    }

    button {
        width: 100%;
        font-size: 16px;
    }
}