﻿.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.wa-icon {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    animation: wa-pulse 2s infinite, wa-shake 4s infinite;
    transition: transform 0.3s ease;
}

.wa-float:hover .wa-icon {
    transform: scale(1.1);
}

.wa-text {
    background-color: #ffffff;
    color: #333333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-family: inherit;
    white-space: nowrap;
}

/* Yayılma Halka Efekti (Pulse) */
@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Titreşim Efekti (Shake) */
@keyframes wa-shake {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }

    85% {
        transform: rotate(12deg);
    }

    90% {
        transform: rotate(-12deg);
    }

    95% {
        transform: rotate(12deg);
    }
}

/* Mobil cihazlarda butonun yazısını gizle */
@media (max-width: 576px) {
    .wa-text {
        display: none;
    }
}
