/* css/gmb-search.css */
.gmb-search-widget {
    background-color: #FFFF;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0px 4px 120px 14px rgba(35, 31, 32, 0.15);
     padding: 30px;
    margin: -110px auto 0px;
    max-width: 900px;
    position: relative;
}


.gmb-search-widget h3 {
    font-weight: bold;
   color: #0a57a2 !important;
    text-transform: none;
        font-size: 28px;
    margin-bottom: 10px;
      text-align: center;
}

.search-subtitle {
    font-size: 16px;
    margin-bottom: 2rem;
    color: #000 !important;
    text-align: center;
}

.search-widget {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;

}

@media (max-width: 768px) {
    .search-input-wrapper {
        flex-direction: column;
    }

.search-container
{
        flex-direction: column;
    }
.swal2-popup {
    padding: 1rem !important;

}

.gmb-search-widget {
    margin: -388px auto 0px;
    z-index: 1000;
}

     }

.business-search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #606364;
    border-radius: 5px;
    font-size: 16px;
}

.search-button {
padding: 1px 30px;
    background-color: #d29e40;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 25px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #ce942d;
}

/* Contact Form 7 Styling */
.wpcf7-form {
    max-width: 400px;
    margin: 0 auto;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.wpcf7-submit {
    background-color: #D4AF37;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


/* Styles pour le popup SweetAlert2 */
.gmb-contact-form .form-group {
    margin-bottom: 1rem;
}

.gmb-contact-form .wpcf7-form {
    max-width: 100%;
    margin: 0 auto;
}

.gmb-contact-form .wpcf7-form input[type="text"],
.gmb-contact-form .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.gmb-contact-form .wpcf7-form input[type="submit"] {
    background-color: #D4AF37;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: auto;
    margin-top: 10px;
}

/* Override des styles SweetAlert2 par défaut */
.swal2-popup {
    padding: 2rem;
    border-radius: 10px;
    margin-top: 145px;
}

.swal2-title {
    color: #0052CC;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.swal2-close:focus {
    box-shadow: none;
}

.swal2-html-container {
    margin: 0;
}

/* Style pour la grande popup */
.large-popup {
    width: 600px !important;
    max-width: 95% !important;
}

/* Style pour le résumé de l'entreprise */
.business-summary {
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: left;
}

.business-summary h4 {
    color: #0a57a2;
    margin: 0 0 10px 0;
}

.business-summary p {
    margin: 5px 0;
        color: inherit;
}

/* Style pour le formulaire */
#popup-contact-form .form-group {
    margin-bottom: 15px;
}

#popup-contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#popup-contact-form .swal2-input {
    margin: 0;
    width: 100%;
}
