#cta-whatsapp-btn {
position: fixed;
bottom: 5rem;
right: 20px;
z-index: 9999;
background-color: #25D366;
border-radius: 50%;
padding: 10px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#cta-whatsapp-chat {
position: fixed;
bottom: 10rem;
right: 20px;
width: 320px;
max-width: 90vw;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 16px rgba(0,0,0,0.25);
font-family: 'Segoe UI', sans-serif;
overflow: hidden;
visibility: hidden;
transform: scale(0.8) translateY(50px);
opacity: 0;
transition: transform 0.3s ease, opacity 0.3s ease;
pointer-events: none;
flex-direction: column;
z-index: 9999;
}
.cta-chat-header {
background: #075e54;
color: white;
display: flex;
align-items: center;
padding: 10px;
}
.cta-chat-header img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}
.cta-chat-body {
padding: 10px;
background: #e5ddd5;
flex-grow: 1;
}
.cta-msg {
display: flex;
margin-bottom: 10px;
}
.cta-incoming {
flex-direction: row;
}
.cta-msg-avatar img {
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 8px;
}
.cta-msg-text {
background: white;
padding: 8px 12px;
border-radius: 8px;
max-width: 70%;
font-size: 14px;
color: black;
}
.cta-chat-footer {
padding: 8px;
background: #f0f0f0;
display: flex;
}
#cta-user-message {
flex-grow: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
#cta-send-msg {
margin-left: 8px;
padding: 8px 12px;
background: #25D366;
color: black;
border: none;
border-radius: 4px;
cursor: pointer;
}
#cta-whatsapp-chat {
transform: scale(0.8) translateY(50px);
opacity: 0;
transition: transform 0.3s ease, opacity 0.3s ease;
pointer-events: none;
}
#cta-whatsapp-chat.show {
transform: scale(1) translateY(0);
opacity: 1;
visibility: visible;
pointer-events: auto;
}