/* Reset di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    padding: 20px;
}

#app {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 24px;
    color: #007BFF;
}

.logo-upload img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
}

#language-switch {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

#language-switch:hover {
    background-color: #0056b3;
}

/* Sezione dati cliente */
#customer-data {
    margin-bottom: 20px;
}

#customer-data h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="date"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Checklist */
#checklist h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #007BFF;
}

#checklist ul {
    list-style-type: none;
    padding: 0;
}

#checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#checklist label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

#checklist input[type="checkbox"] {
    transform: scale(1.2); /* Dimensione maggiore del checkbox */
}

/* Firma del cliente */
#signature {
    margin-top: 20px;
}

#signature .form-group {
    margin-bottom: 20px;
}

#signature input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Pulsanti azione */
#report {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

#report button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

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

/* Responsive Design */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #report {
        flex-direction: column;
    }

    #report button {
        width: 100%;
    }
}
