
/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    border: none;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 99999;
}

/* Chat window */
.whatsapp-chat {
    display: none;
    position: fixed;
    right: 25px;
    bottom: 100px;
    width: 330px;
    max-width: calc(100vw - 30px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    z-index: 99999;
}

/* Header */
.whatsapp-header {
    background: #075E54;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header strong,
.whatsapp-header small {
    display: block;
}

.whatsapp-header small {
    margin-top: 5px;
    font-size: 12px;
    color: #d8f3e6;
}

.whatsapp-header button {
    background: transparent;
    color: white;
    border: none;
    font-size: 27px;
    cursor: pointer;
}

/* Message area */
.whatsapp-body {
    background: #e5ddd5;
    padding: 20px 12px;
    min-height: 120px;
}

.whatsapp-message {
    display: inline-block;
    max-width: 90%;
    padding: 12px;
    background: white;
    color: #222;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* Input area */
.whatsapp-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: white;
}

.whatsapp-footer input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.whatsapp-footer button {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #25D366;
    color: white;
    font-size: 17px;
    cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .whatsapp-float {
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-chat {
        right: 15px;
        bottom: 85px;
        width: calc(100vw - 30px);
    }
}
