/* WHATSAPP CHAT WIDGET - ORIGINAL RESTAURADO */
.wa-widget-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37,211,102,0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wa-widget-button:hover {
    transform: scale(1.1);
}

.wa-widget-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wa-online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: #10b981;
    border: 3px solid #fff;
    border-radius: 50%;
}

.wa-chat-container {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    max-width: 90vw;
    height: 500px;
    max-height: 70vh;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.wa-chat-container.active {
    display: flex;
}

.wa-chat-header {
    background: #075e54;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    color: #fff;
}

.wa-chat-header .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-size: cover;
    margin-right: 15px;
}

.wa-chat-header .info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.wa-chat-header .info span {
    font-size: 12px;
    opacity: 0.8;
}

.wa-chat-close {
    margin-left: auto;
    cursor: pointer;
    font-size: 24px;
}

.wa-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #e5ddd5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.msg-bubble {
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 85%;
    position: relative;
    line-height: 1.4;
}

.msg-bot {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.msg-user {
    background: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.wa-option-btn {
    background: #fff;
    border: 1px solid #25d366;
    color: #075e54;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.wa-option-btn:hover {
    background: #25d366;
    color: #fff;
}

.wa-chat-footer {
    padding: 15px;
    background: #f0f0f0;
    display: flex;
    gap: 10px;
}

.wa-chat-input {
    flex: 1;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

.wa-send-btn {
    background: #075e54;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.wa-tooltip {
    position: fixed;
    bottom: 100px;
    right: 25px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 13px;
    font-weight: 600;
    display: none;
    z-index: 999;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
