/* Chatbot Widget Styles */
.wa-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Lato', sans-serif;
}

.wa-chat-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none;
    outline: none;
}

.wa-chat-btn:hover {
    transform: scale(1.1);
}

.wa-chat-btn i {
    font-size: 30px;
    color: white;
}

.wa-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    display: none; /* Hidden by default */
    border: 1px solid #eee;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.wa-chat-window.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.wa-chat-header {
    background: #075e54;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    padding: 2px;
}

.wa-info h4 {
    margin: 0;
    font-size: 1rem;
    color: white; /* Force white text */
    font-family: inherit;
}

.wa-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.wa-chat-body {
    padding: 15px;
    background: #ECE5DD; /* WhatsApp bg color */
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-message {
    background: white;
    padding: 8px 12px;
    border-radius: 0 10px 10px 10px;
    max-width: 80%;
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    align-self: flex-start;
    position: relative;
    color: #333;
}

.wa-message.sent {
    background: #dcf8c6;
    border-radius: 10px 0 10px 10px;
    align-self: flex-end;
}

.wa-typing {
    font-style: italic;
    color: #666;
    font-size: 0.8rem;
    margin-left: 10px;
    display: none;
}

.wa-chat-footer {
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
    text-align: center;
}

.wa-btn-start {
    background: #25d366;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    width: 90%;
}
.wa-btn-start:hover {
    background: #128c7e;
}
