.modalWhatsappLeadOverlay {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    transform: translate(0, 0);
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 30;
    display: none;
}

.modalWhatsappLeadOverlay.active {
    display: block;
}

.modalWhatsappLeadButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 31;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.5s ease;
}

.modalWhatsappLeadButton img {
    transition: transform 0.5s ease;
}

.modalWhatsappLeadButton.shrinkWhatsapp img {
    transform: scale(0.9);
}

.modalWhatsappLeadButton:before {
    display: flex;
    content: '\A Fale com o nosso time de especialistas';
    position: fixed;
    bottom: 20px;
    right: 15px;
    border-radius: 35px;
    padding-right: 60px;
    padding-left: 30px;
    width: 70px;
    max-width: 400px;
    height: 70px;
    background: white;
    color: transparent;
    z-index: -1;
    align-items: center;
    white-space: pre-line;
    font-weight: 500;
    opacity: 0;
    transition: width 0.7s ease, opacity 0.6s ease 0.4s;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.modalWhatsappLeadButton:after {
    display: flex;
    content: 'Precisa de Ajuda?';
    position: fixed;
    bottom: 30px;
    right: 15px;
    border-radius: 35px;
    padding-right: 60px;
    padding-left: 30px;
    width: 70px;
    max-width: 400px;
    height: 70px;
    color: transparent;
    z-index: -1;
    align-items: center;
    white-space: pre-line;
    font-weight: 700;
    opacity: 0;
    transition: width 0.7s ease, opacity 0.6s ease 0.4s;
}

.modalWhatsappLeadButton.revealBefore:before {
    width: 100%;
    opacity: 1;
    max-height: 70px;
    padding-right: 20px;
    padding-left: 20px;
    color: #5d6c75;
}

.modalWhatsappLeadButton.revealBefore:after {
    width: 100%;
    opacity: 1;
    max-height: 70px;
    padding-right: 20px;
    padding-left: 20px;
    color: #5d6c75;
}

.modalWhatsappLead {
    border-radius: 22px;
    width: 100%;
    max-width: 450px;
    font-family: "Open Sans", sans-serif;
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 31;
    display: none;
}

.modalWhatsappLead.active {
    display: block;
}

.modalWhatsappLead__header {
    position: relative;
}

.modalWhatsappLead__header__close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 35px;
    height: 30px;
    color: white !important;
    cursor: pointer;
}

.modalWhatsappLead__header__container {
    display: flex;
    background: #096156;
    min-height: 75px;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.modalWhatsappLead__header__container img {
    width: 60px;
    height: 60px;
    margin-left: 16px;
    border-radius: 30px;
}

.modalWhatsappLead__header__container__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: -15px;
    padding-left: 20px;
    gap: 5px;
}

.modalWhatsappLead__header__container__text h6 {
    font-size: 20px;
    color: white !important;
    font-weight: 600;
    line-height: 16px;
    margin: 0;
}

.modalWhatsappLead__header__container__text p {
    color: white;
    font-size: 14px;
    padding-top: 2px;
    line-height: 16px;
    margin: 0;
}

.leadFormWhatsapp__messege {
    padding-top: 20px;
    border-radius: 0 0 10px 10px;
}

.leadFormWhatsapp__messege p {
    max-width: 365px;
    background: white;
    color: #666;
    font-size: 16px;
    line-height: 18px;
    padding: 10px;
    margin-left: 20px;
    border-radius: 6px;
    margin-right: 20px;
}

.leadFormWhatsapp__messege b {
    font-weight: 600;
}

#formLoader {
    display: none;
    margin-bottom: 10px;
    color: blue;
}

#successMessage {
    display: none;
    color: green;
    margin-bottom: 10px;
}

#leadFormWhatsapp {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 20px 20px 20px;
    gap: 10px;
}

#leadFormWhatsapp input,
#leadFormWhatsapp select {
    max-width: 350px;
    background-color: #e7ffe7;
    color: #666;
    border-radius: 6px;
    border: none;
}

#leadFormWhatsapp button {
    color: white;
    background-color: #096156;
    border-radius: 6px;
    font-size: 16px;
    height: 40px;
    border: none;
    line-height: 10px;
}

@media (max-width: 767px) {
    .modalWhatsappLeadButton.revealBefore:before {
        width: 90%;
        opacity: 1;
        max-height: 70px;
        color: #5d6c75;
        font-size: 13px;
    }

    .modalWhatsappLeadButton.revealBefore:after {
        width: 90%;
        opacity: 1;
        max-height: 70px;
        color: #5d6c75;
        font-size: 13px;
    }

    .modalWhatsappLead {
        left: 0;
    }
}
