/* WRAPPER GENERALE */

.np-max-900{
	max-width: 900px;
	padding:0px;
	margin: auto;
  	text-align: justify;
}

.wpcf7 {
    max-width: 900px;
    margin: 0 auto;
}

/* Rimuove margini strani */
.wpcf7 p {
    margin-bottom: 25px;
}

/* LABEL */
.wpcf7 label {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    display: block;
    margin-bottom: 8px;
}

/* INPUT + TEXTAREA */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 15px;
    transition: all .25s ease;
}

/* FOCUS STATE */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #485693;
    box-shadow: 0 0 0 3px rgba(72,86,147,.15);
    background: #ffffff;
}

/* TEXTAREA */
.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

/* CHECKBOX */
.wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #485693;
    margin-top: 4px;
}

/* TESTO CHECKBOX */
.wpcf7-list-item-label {
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}

/* BOTTONE */
.wpcf7-submit {
    width: 200px;
	margin: auto;
	display: block;
    background: #485693;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s ease;
}

/* HOVER */
.wpcf7-submit:hover {
    background: #3b477a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72,86,147,.25);
}

/* DISABLED STATE */
.wpcf7-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* MESSAGGI */
.wpcf7-response-output {
    margin-top: 20px;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
}

/* SUCCESS */
.wpcf7 form.sent .wpcf7-response-output {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

/* ERROR */
.wpcf7 form.invalid .wpcf7-response-output {
    background: #fef2f2;
    color: #7f1d1d;
    border: 1px solid #ef4444;
}

/* ROW */
.np-form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

/* COLONNE */
.np-form-col {
    flex: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .np-form-row {
        flex-direction: column;
    }
}