/* Floating WhatsApp button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;
}

.whatsapp-button i {
    font-size: 35px;
    color: #fff;
    line-height: 1;
}

/* Popup chat box */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
    animation: waChatFadeIn 0.3s;
}

@keyframes waChatFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-popup .chat-header {
    background: #25d366;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
}

.chat-popup .chat-body {
    padding: 15px;
    background-color: #f9f9f9;
}

.chat-popup .chat-message {
    background: #dcf8c6;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.chat-popup .chat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
}

.chat-popup .chat-footer input {
    flex: 1;
    border: none;
    padding: 8px;
    outline: none;
    font-size: 14px;
}

.chat-popup .chat-footer button {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.chat-popup .chat-footer button:hover {
    background: #1ebc59;
}
