/* WhatsApp Channel Container - Fixed positioning */
.whatsapp-channel-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* WhatsApp Channel Button */
.whatsapp-channel-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 3px solid white;
    position: relative;
    animation: pulse-ring 2s infinite;
}

.whatsapp-channel-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Channel Text */
.channel-text {
    color: #25D366;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 15px;
    border: 2px solid #25D366;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hover Effects */
.whatsapp-channel-container:hover .whatsapp-channel-btn {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.channel-text:hover {
    background: #25D366;
    color: white;
    transform: scale(1.05);
}

/* Pulse animation */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip */
.whatsapp-channel-btn::after {
    content: "Join our WhatsApp Channel";
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.whatsapp-channel-btn::before {
    content: "";
    position: absolute;
    left: 65px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.whatsapp-channel-container:hover .whatsapp-channel-btn::after,
.whatsapp-channel-container:hover .whatsapp-channel-btn::before {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-channel-container {
        left: 15px;
    }

    .whatsapp-channel-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-channel-btn svg {
        width: 28px;
        height: 28px;
    }

    .channel-text {
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 12px;
    }

    .whatsapp-channel-btn::after {
        font-size: 12px;
        padding: 6px 10px;
        left: 60px;
    }

    .whatsapp-channel-btn::before {
        left: 50px;
    }
}

