/* Estilos para o ícone do WhatsApp */

#ilcw-chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
}

#ilcw-chat-icon img {
    width: 65px;
}

#ilcw-tooltip {
    background: #2eae00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
    position: absolute;
    top: 16px;
    left: -200px;
}

#ilcw-chat-icon:hover #ilcw-tooltip {
    display: block;
}


/* Animação de pulsação */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        /* Aumenta o tamanho do ícone */
        opacity: 0.8;
        /* Diminuir a opacidade para efeito de pulsação */
    }

    100% {
        transform: scale(1);
        /* Retorna ao tamanho original */
        opacity: 1;
    }
}

#ilcw-tooltip.pulse-effect {
    animation: pulse 1s infinite !important;
    /* Aplica a animação de pulsação a cada 1 segundo */
}

/* Efeito de surgimento do ícone e tooltip */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Aplicar o efeito ao ícone e tooltip */
#ilcw-chat-icon,
#ilcw-tooltip {
    opacity: 0;
    /* Inicialmente oculto */
    transform: translateY(20px);
    /* Inicialmente deslocado para baixo */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    /* Suavizar a transição */
}

/* Classe para exibir com animação */
.show {
    animation: fadeInUp 0.5s ease-out forwards;
}


/* Estilos para o popup */


#ilcw-chat-popup-background {
    background-color: #000000c9;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
	z-index: 1000;
}

#ilcw-chat-popup {
    font-size: 1.1rem;
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 330px;
    height: 350px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    flex-direction: column;
    justify-content: space-between;
}

#ilcw-chat-popup-content {
    display: flex;
    margin-top: 50px;
    height: 100%;
    padding: 15px;
    flex-direction: column;
    justify-content: space-between;
}

#ilcw-close-popup {
    position: absolute;
    font-size: 1.4rem;
    top: 4px;
    right: 10px;
    cursor: pointer;
}

#ilcw-chat-popup-top {
    position: absolute;
    width: 100%;
    top: 0;
    margin-left: -15px;
    padding: 8px 5px 0px 5px;
    border-radius: 10px 10px 0px 0px;
    background-color: #2b8879;
    color: #fff;
}

#ilcw-chat-popup-top #ilcw-title {
    position: absolute;
    top: 9px;
    left: 40px;
}

#ilcw-chat-popup-top img {
    max-width: 30px;
}

#ilcw-bottom {
    background-color: #ededed;
    padding: 15px;
    border-radius: 0px 0px 6px 6px;
}

#ilcw-prev {
    font-size: 1.6rem;
    padding: 0;
    color: #000000;
    border: none;
    position: absolute;
    right: 20px;
    bottom: -3px;
}

#ilcw-prev:hover {
    background: #cccccc00;
}

button#ilcw-prev[disabled] {
    color: #ccc;
    background: #ffffff00 !important;

}

/* Formulários */

#ilcw-form-container {
    height: 100%;
}

#ilcw-form {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
}

#ilcw-form label {
    display: inline-flex;
}

#ilcw-form [type=radio] {
    margin-right: 9px;
}

/* Botões e Formulários */

button#ilcw-next {
    color: #fff;
    border: none;
    background-color: #1da851;
    width: 40px !important;
    padding: 15px !important;
    border-radius: 60px;
    line-height: 10px;
    margin-left: auto;
}

#ilcw-next span, #ilcw-start-chat span {
    transform: scaleX(1.3);
    font-weight: 900;
    font-size: large;
}

#ilcw-start-chat,
#ilcw-submit {
    width: auto;
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: auto;
    background: #1da851;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

#ilcw-form button[disabled] {
    background: #ccc;
}



@media only screen and (max-width: 600px) {

    #ilcw-chat-popup {
        bottom: calc(40% - 160px);
        right: calc(50% - 165px);
    }

    #ilcw-chat-icon {
        position: fixed;
        bottom: 0px;
        right: 6px;
        cursor: pointer;
    }

    #ilcw-tooltip {
        left: -198px !important;
    }
    
}