/*
Theme Name: ASST Theme
Theme URI: 
Author: Nicola Paroldo
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: asst-theme
Tags: 
*/


/* 1. Contenitore principale */
.wpcf7 {
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Ombra leggerissima */
}

/* 2. Etichette (Labels) */
.wpcf7 label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* 3. Input di testo, Email e Textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Cruciale per il responsive */
}

/* 4. Effetto Focus (quando l'utente clicca nel campo) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #0056b3; /* Blu aziendale */
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* 5. Il Pulsante di Invio (Submit) */
.wpcf7-submit {
    display: inline-block;
    padding: 14px 40px !important;
    background-color: #0056b3 !important; /* Colore primario */
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important; /* Arrotondato elegante */
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease !important;
    width: 100%; /* Su mobile occupa tutto lo spazio */
}

.wpcf7-submit:hover {
    background-color: #003d7a !important;
    transform: translateY(-2px);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* 6. Messaggi di errore e successo */
.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 14px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda !important;
    color: #155724 !important;
}

.wpcf7-validation-errors {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}

/* 7. Adattamento Desktop */
@media (min-width: 768px) {
    .wpcf7-submit {
        width: auto; /* Torna a dimensione naturale su PC */
    }
}
