/* WhatsApp Widget Styles */

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    position: relative;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

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

.whatsapp-button-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}

.whatsapp-popup {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 300px;
    margin-bottom: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-popup-header {
    background-color: #25D366;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whatsapp-popup-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-clickable {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.whatsapp-clickable:hover {
    opacity: 0.9;
}

.whatsapp-popup-header .close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.whatsapp-popup-body {
    padding: 15px 20px;
}

.whatsapp-popup-body p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #4a4a4a;
}

/* Quick action buttons */
.whatsapp-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.whatsapp-quick-action {
    background-color: #f5f7f9;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 13px;
    color: #4a4a4a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.whatsapp-quick-action:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

.whatsapp-popup-footer {
    padding: 0 20px 15px 20px;
}

.whatsapp-popup-footer a {
    display: block;
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-popup-footer a:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Notification dot */
.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background-color: #FF4B4B;
    border-radius: 50%;
    border: 2px solid white;
    animation: bounce 1s infinite alternate;
}

/* Animations */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes bounce {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-popup {
        width: 250px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 25px;
    }
}