/* Contact Form Business */
.allnet-business-form input[type="text"],
.allnet-business-form input[type="email"],
.allnet-business-form input[type="tel"],
.allnet-business-form input[type="number"],
.allnet-business-form input[type="url"],
.allnet-business-form select,
.allnet-business-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.allnet-business-form input:focus,
.allnet-business-form textarea:focus,
.allnet-business-form select:focus {
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 0 0 3px rgba(0, 99, 175, 0.15);
    outline: none;
}

.allnet-business-form textarea {
    min-height: 180px;
    resize: vertical;
}

.allnet-business-form ::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.allnet-business-form input[type="submit"] {
    background: var(--wp--preset--color--primary);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    width: auto;
}

.allnet-business-form input[type="submit"]:hover {
    background: var(--wp--preset--color--contrast);
}

.allnet-business-form .cf7-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.allnet-business-form .cf7-col {
    width: 100%;
}

@media (max-width: 768px) {
    .allnet-business-form .cf7-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Integrazioni per il markup Salesforce */
.allnet-business-form {
    font-family: 'Poppins', sans-serif;
}

.allnet-business-form label,
.allnet-business-form .cf7-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.allnet-business-form select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.allnet-business-form .cf7-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #374151;
}

.allnet-business-form .cf7-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--wp--preset--color--primary);
    cursor: pointer;
}

.allnet-business-form .cf7-checkbox label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.allnet-business-form .cf7-checkbox a {
    color: var(--wp--preset--color--primary);
    text-decoration: underline;
}

.allnet-business-form .cf7-submit {
    margin-top: 8px;
}
/* Honeypot anti-spam: fuori schermo (non display:none, che alcuni bot riconoscono) */
.allnet-business-form .hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
