﻿/* Container del form - Ora è trasparente */
.contact__form {
    background: transparent;
    padding: 10px 0; /* Ridotto il padding perché non serve più lo stacco */
    border-radius: 0;
    box-shadow: none;
}

/* Stile comune per Input, Select e Textarea */
.contact__form input[type="text"],
.contact__form select,
.contact__form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc; /* Un grigio leggermente più visibile su sfondo bianco */
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    background-color: #fff; /* Sfondo bianco dentro i campi per leggibilità */
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}

/* Effetto Focus - Verde WhatsApp */
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.1);
}

/* Textarea */
.contact__form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Select (Tendine) con freccia personalizzata */
.contact__form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* Bottone WhatsApp largo quanto il form */
.butn-whatsapp {
    width: 100%;
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.butn-whatsapp:hover {
    background-color: #1ebd5b;
}

.butn-whatsapp:active {
    transform: scale(0.98); /* Effetto pressione al click */
}

.butn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border: 2px solid #25D366;
    padding: 10px 25px;
    border-radius: 5px; /* o 50px per farlo arrotondato */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase; /* se vuoi un look più "pro" */
    font-size: 14px;
}

.butn-whatsapp:hover {
    background-color: #128C7E; /* Un verde più scuro per l'effetto click */
    border-color: #128C7E;
    color: #fff;
    transform: translateY(-2px); /* Un piccolo salto verso l'alto */
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}