* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

:root {
    font-size: 16px;
}

body {
    background-color: #212121;
    background-image: url('/img/fundo2.jpg');
    background-size: cover;
    color: #DEDEDE;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

section {
    flex: 1;
}

.chat-container {
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    padding: 20px;
}


.icone-euatendo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.chat-box {
    display: flex;
    flex-direction: column;
}

.message-box {
    width: 100%;
    margin: 1rem 0;
}

.message-box .avatar {
    width: 10%;
    text-align: center;
    text-align: center !important;
}

.message-box .message {
    max-width: 90%;
    background-color: #424242;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
}

.user .avatar,
.user .message {
    float: left;
}

.bot .avatar,
.bot .message {
    float: right;
}

.bot {
    align-self: flex-end;
}

.user {
    align-self: flex-start;
}


ul {
    padding-left: 24px;
}

.space-list li {
    margin-top: 8px;
}

.space-list p {
    margin-top: 4px;
}


.zap {
    max-width: 100%;
    background-color: #424242;
    padding: 1rem 1rem;
    border-radius: 0.5rem;
}

.message-enviar {
    position: relative;
    padding-right: 30px;
}

.message-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #DEDEDE;
    font-size: 28px !important;
}

/* Estilos para o botão flutuante */
.whatsapp-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    font-size: 32px;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    /* Para garantir que fique sobre outros elementos */

    animation: pulse 3s infinite;
    /* efeito de pulsar com scale */
}

.whatsapp-button:before,
.whatsapp-button:after {
    content: '';
    display: block;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #25d366;
    left: -20px;
    right: -20px;
    bottom: -20px;
    top: -20px;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden;
}

.pulsaDelayBM:after {
    animation-delay: .5s;
}

@keyframes animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}


/* Estilos para o balão de mensagem */
.message-balloon {
    position: absolute;
    position: fixed;
    right: 80px;
    /* Distância do botão */
    right: 65px;
    /* Distância do botão */
    bottom: 100px;
    background-color: #f0f0f0;
    background-color: #fefefe;
    padding: 10px;
    color: #222;
    padding: 16px 24px;
    font-size: 18px;
    border-radius: 8px;
    border: 1px solid #DEDEDE;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    display: none;
    /* Inicialmente escondido */
    z-index: 1000;
    /* Para garantir que fique sobre outros elementos */
}

/* Estilo para o botão de fechar */
.close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    top: 1px;
    right: 1px;
    background-color: #ddd;
    color: #555;
    border: none;
    font-size: 14px;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 450px) {
    img {
        width: 28px;
    }
}

.footer-p {
    color: #7a7979;
    right: 0;
    position: absolute;
    width: 100%;
    padding: 1rem 1rem;
}