body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f4f7f6; 
    color: #333; 
    margin: 0; 
    padding: 10px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.company-logo {
    display: block;
    max-width: 150px; 
    height: auto;
    margin-bottom: 10px; 
}

.container { 
    background: #ffffff; 
    max-width: 480px; 
    width: 100%; 
    padding: 20px 15px; 
    border-radius: 14px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    box-sizing: border-box;
}

.header { text-align: center; margin-bottom: 15px; }
.header h2 { margin: 0; color: #1e3c72; font-size: 19px; font-weight: 700; }
.header p { margin: 3px 0 0 0; color: #7f8c8d; font-size: 11px; line-height: 1.4; }

/* SELETTORE CLIENTE (Segmented Control stile iOS/Android) */
.selector-row {
    display: flex;
    background-color: #e9ecef;
    padding: 4px;
    border-radius: 10px;
    margin-top: 5px;
}

.selector-option {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    transition: all 0.2s ease;
    user-select: none;
}

.selector-option.active {
    background-color: #ffffff;
    color: #1e3c72;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-row { display: flex; gap: 10px; }
.form-row .input-group { flex: 1; }

.input-group { margin-bottom: 10px; } 
.input-group label { 
    display: block; 
    margin-bottom: 4px; 
    font-weight: 600; 
    font-size: 10px; 
    color: #495057; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

input[type="text"], input[type="tel"], input[type="email"], select, textarea { 
    width: 100%; 
    padding: 9px 11px; 
    border: 2px solid #e9ecef; 
    border-radius: 8px; 
    background-color: #fcfcfc; 
    font-size: 13px; 
    font-family: inherit;
    box-sizing: border-box; 
    transition: all 0.2s ease; 
}

input:focus, select:focus, textarea:focus { 
    outline: none; 
    border-color: #2a5298; 
    background-color: #fff; 
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.08); 
}

textarea { resize: none; height: 50px; } 

.privacy-box { 
    display: flex; 
    align-items: center; 
    background: #f8f9fa; 
    padding: 8px 12px; 
    border-radius: 8px; 
    border: 1px solid #e9ecef;
    margin-top: 5px;
}
.privacy-box input[type="checkbox"] { 
    margin: 0 10px 0 0; 
    width: 16px; 
    height: 16px; 
    cursor: pointer;
    accent-color: #2a5298;
}
.privacy-box label { 
    margin: 0; 
    font-weight: 500; 
    font-size: 10.5px; 
    color: #6c757d; 
    line-height: 1.3;
    cursor: pointer;
}

button { 
    width: 100%; 
    padding: 12px; 
    background: linear-gradient(135deg, #2a5298, #1e3c72); 
    color: white; 
    border: none; 
    border-radius: 8px; 
    font-size: 14px; 
    font-weight: 700; 
    margin-top: 12px; 
    cursor: pointer; 
    transition: all 0.2s ease; 
}
button:disabled { background: #bdc3c7; cursor: not-allowed; }

#successMessage { display: none; text-align: center; padding: 15px 0; }
.success-icon { font-size: 50px; color: #2ecc71; margin-bottom: 10px; }
#successMessage h3 { color: #2c3e50; font-size: 19px; margin: 0 0 8px 0; }
#successMessage p { color: #7f8c8d; font-size: 13px; line-height: 1.5; }