/**
 * Custom Pre-Registration Form - Styles
 * 
 * File CSS personalizzato per il form di pre-registrazione
 */

#cpf-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#cpf-wrapper h3 {
    color: #004b8b;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

#cpf-wrapper .subtitle {
    color: #004b8b;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

#cpf-wrapper .form-group {
    margin-bottom: 20px;
}

#cpf-wrapper .form-group label {
    display: block;
    color: #004b8b;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

#cpf-wrapper .form-group input[type="text"],
#cpf-wrapper .form-group input[type="email"],
#cpf-wrapper .form-group input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    background-color: #f5f5f5;
    box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s;
}

#cpf-wrapper .form-group input[type="text"]:focus,
#cpf-wrapper .form-group input[type="email"]:focus,
#cpf-wrapper .form-group input[type="tel"]:focus {
    outline: none;
    border: 2px solid #009da9;
}

#cpf-wrapper .consent-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

#cpf-wrapper .consent-section h4 {
    color: #004b8b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

#cpf-wrapper .checkbox-group {
    margin-bottom: 15px;
}

#cpf-wrapper .checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

#cpf-wrapper .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

#cpf-wrapper .checkbox-group a {
    color: #004b8b;
    text-decoration: underline;
}

#cpf-wrapper .checkbox-group a:hover {
    text-decoration: none;
}

#cpf-wrapper .required-note {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    margin-bottom: 20px;
}

#cpf-wrapper .submit-button {
    background-color: #009da9;
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

#cpf-wrapper .submit-button:hover {
    background-color: #009ea9d1;
}

#cpf-wrapper .success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

#cpf-wrapper .error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #e6c3c3;
}