/* WhatsApp Floating Widget - Version Compacte */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-button {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-icon i {
    font-size: 35px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* Popup WhatsApp */
.whatsapp-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    max-height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
}

.whatsapp-popup.active {
    display: block;
}

/* Popup Header - Compact */
.whatsapp-popup-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
}

.whatsapp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-header-text h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.whatsapp-header-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    margin: 3px 0 0;
}

.whatsapp-close {
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-close i {
    color: white;
    font-size: 12px;
}

/* Popup Body - Compact */
.whatsapp-popup-body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.whatsapp-message {
    background: #f0f2f4;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 15px;
}

.whatsapp-message p {
    margin: 0 0 3px;
    font-size: 12px;
    color: #333;
    line-height: 1.4;
}

.whatsapp-message p:last-child {
    margin: 0;
}

/* Options - Compact */
.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.whatsapp-option:hover {
    background: #25D366;
    transform: translateX(3px);
}

.whatsapp-option i {
    font-size: 16px;
    color: #25D366;
    transition: all 0.3s ease;
}

.whatsapp-option:hover i {
    color: white;
}

.whatsapp-option span {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.whatsapp-option:hover span {
    color: white;
}

/* Popup Footer - Compact */
.whatsapp-popup-footer {
    padding: 12px 15px;
    border-top: 1px solid #eee;
    background: white;
}

.whatsapp-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

.whatsapp-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    outline: none;
    font-size: 12px;
}

.whatsapp-input input:focus {
    border-color: #25D366;
}

.whatsapp-input button {
    width: 35px;
    height: 35px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-input button:hover {
    background: #128C7E;
}

.whatsapp-input button i {
    color: white;
    font-size: 14px;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon i {
        font-size: 26px;
    }
    
    .whatsapp-popup {
        width: 280px;
        bottom: 60px;
        max-height: 420px;
    }
}