/* 
   WhatsApp Chat Widget 
   - Fixed position at the bottom-right for easy accessibility 
*/
.whatsapp-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Ensures it stays above other elements */
}

/* 
   WhatsApp Icon 
   - Styled as a clickable button with hover scaling effect 
*/
.whatsapp-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* WhatsApp Icon Image */
.whatsapp-icon img {
    width: 40px;
    height: 40px;
}

/* Scale effect on hover */
.whatsapp-icon:hover {
    transform: scale(1.1);
}

/* 
   WhatsApp Chatbox 
   - Initially hidden, appears above the icon when triggered 
*/
.whatsapp-chatbox {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 250px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 
   Chat Header 
   - Uses WhatsApp's brand color for a recognizable UI 
*/
.chat-header {
    background: #25D366;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

/* Chat Body Content */
.chat-body {
    padding: 10px;
    text-align: center;
}

/* Input Field */
.chat-body input {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Send Button */
.chat-body button {
    background: #25D366;
    color: white;
    border: none;
    padding: 8px;
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}

/* Darker shade on hover for better interaction */
.chat-body button:hover {
    background: #1ebe5d;
}