.newsletter-text strong {
    font-weight: 700 !important;
}

.form-col {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: flex-end;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.full-width-section {
    flex-basis: 100%;
    margin-top: -40px !important;
}

.full-width-section .checkbox-group {
    margin-bottom: 10px;
}

.newsletter-section {
    background-color: #BBC23A;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

.top-bar-section {
    background-color: #BBC23A;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px !important;
}

.top-bar-newsletter {
    background-color: #BBC23A;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.top-bar-newsletter .newsletter-text {
    font-size: 18px;
}


.newsletter-container {
    display: flex;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
}

.newsletter-text {
    color: white;
    flex: 1;
    min-width: 250px;
    font-size: 22px;
}

.newsletter-text strong {
    display: block;
    margin-bottom: 5px;
}

.newsletter-form-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 8px;
    align-self: flex-end;
    padding: 10px;
}

.newsletter-form-wrapper input {
    border-radius: 8px!important;
    background: white!important;
    padding: 12px 15px;
    border: none!important;
    outline: none;
    font-size: 14px;
    width: 250px;
}

.newsletter-form-wrapper input[type="tel"] {
    width: 172px;
}

.newsletter-form-wrapper select {
    width: 70px;
    border-radius: 8px!important;
    background: white!important;
    padding: 12px 15px;
    border: none!important;
    outline: none;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.newsletter-form-wrapper img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}



.newsletter-form {
    display: flex;
    gap: 8px;
    align-items: center;
}


.newsletter-form input::placeholder,
.newsletter-form select {
    color: #c2c2c2 !important;
}

.hidden-fields {
    display: none;
}

.hidden-fields.show {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.7s ease forwards;
    margin-top: -10px;
}

#info-text.hidden-fields.show {
    display: block;
    /* testo normale, non flex */
}

#info-text,
label {
    font-family: 'Raleway', sans-serif !important;
    font-size: 16px;
    color: #02112E;
}

#info-text {
    margin-top: 20px;
    line-height: 2em;
}

.checkbox-group {
    margin: 10px 0;
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 13px;
    color: black;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    width: 15px;
    height: 15px;
}

.submit-btn {
    background-color: #52A9D6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 35px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    transition: all .3s ease-in-out;
}

.top-bar-btn {
    background-color: #52A9D6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
}

.top-bar-btn span {
    margin-top: 5px;
}

.submit-btn .icon {
    width: 10px !important;
    height: 10px !important;
    fill: #fff !important;
    vertical-align: middle;
}

.submit-btn span {
    transition: all .3s ease-in-out;
    margin-left: 5px;
}

.submit-btn:hover span {
    margin-left: 15px !important;
}

.newsletter-button-hide {
    display: flex;
}

.newsletter-button-show {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 700px) {
    .form-col {
        width: 100%;
        align-items: flex-start;
    }

    .top-bar-newsletter {
        gap: 5px;
    }

    .newsletter-button-hide {
        display: none;
    }

    .newsletter-button-show {
        display: flex;
        padding: 5px 5px 0px 5px;
        border-radius: 100%;
        overflow: hidden;
    }

    .newsletter-button-show a span {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        background-color: #52A9D6;
        ;
        color: white;
        border-radius: 50%;
        font-weight: bold;
        font-size: 20px;
    }

    .newsletter-button-show a {
        text-decoration: none !important;
    }

    .newsletter-button-show img {
        width: 30px;
    }

    .newsletter-form-wrapper {
        align-self: flex-start;
    }

    .newsletter-form-wrapper input,
    .newsletter-form,
    .newsletter-form-wrapper input[type="tel"] {
        width: 75vw;
    }



    .full-width-section {
        margin-top: 0px !important;
    }

    .newsletter-text {
        padding: 0;
    }

    .top-bar-newsletter .newsletter-text {
        font-size: 16px;
    }

    .response-message .messaggio {
        width: 350px !important;
    }

    .response-message .messaggio p {
        font-size: 13px;
    }

    .response-message .messaggio ul li {
        font-size: 13px !important;
    }

}


/*TOP BAR*/
.top-bar-newsletter {
    display: flex;
    align-items: center;
}

/*Messaggi di risposta*/

.response-message {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    font-size: 1.2em;
    margin-top: 20px;
}

.response-message.show {
    display: block !important;
    opacity: 1 !important;
}

.response-message .messaggio {
    width: 530px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 5px 5px 5px grey;
}

.response-message .messaggio p {
    color: #02112E;
}

.response-message .messaggio h4 {
    margin-bottom: 20px;
    color: #02112E !important;
}

.response-message .messaggio ul li {
    color: #02112E;
    font-size: 15px;
}

/* Animazione per il form */
.fade-out {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.iti__selected-country-primary {
    display: none !important;
}

.iti {
    position: relative !important;
    /* assicura che il dropdown sia posizionato correttamente */
}

.iti__flag {
    display: none !important;
}

.iti__country-list {
    z-index: 9999 !important;
    /* forza il menu sopra a tutto */
}

.iti__selected-dial-code {
    font-size: 14px !important;
}

.iti__country-name,
.iti__dial-code {
    font-size: 14px !important;
}

@media (max-width: 330px) {
     .newsletter-form-wrapper input[type="tel"] {
        width: 57svw!important;
    }
        .newsletter-form-wrapper select {
    width: 50px!important;
}
    
    }