/* WhatsApp Pill Button - Genel Stil */
.whatsapp-pill-button {
    position: fixed;
    bottom: 22px;
    left: 22px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.whatsapp-pill-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    color: #fff;
}

.whatsapp-icon-pill {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Mesai İçi - Yeşil */
.whatsapp-pill-button.mesai-ici {
    background: #25D366;
}

.whatsapp-pill-button.mesai-ici:hover {
    background: #20ba56;
}

.whatsapp-pill-button.mesai-ici .whatsapp-icon-pill circle {
    fill: rgba(255, 255, 255, 0.9);
}

/* Mesai Dışı - Koyu Mavi (Profesyonel) */
.whatsapp-pill-button.mesai-disi {
    background: #1976D2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

.whatsapp-pill-button.mesai-disi:hover {
    background: #1565C0;
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.5);
}

.whatsapp-pill-button.mesai-disi .whatsapp-icon-pill circle {
    fill: rgba(255, 255, 255, 0.9);
}

/* Animasyon - Chat Bubble için pulse efekti */
@keyframes bubble-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.whatsapp-pill-button:hover .whatsapp-icon-pill {
    animation: bubble-pulse 0.6s ease-in-out;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .whatsapp-pill-button {
        bottom: 16px;
        left: 16px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .whatsapp-icon-pill {
        width: 22px;
        height: 22px;
    }
}

/* Küçük ekranlar için sadece ikon */
@media (max-width: 480px) {
    .whatsapp-pill-button span {
        display: none;
    }
    
    .whatsapp-pill-button {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .whatsapp-icon-pill {
        width: 28px;
        height: 28px;
    }
}

/* Accessibility - Focus states */
.whatsapp-pill-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.whatsapp-pill-button:focus:not(:focus-visible) {
    outline: none;
}

.whatsapp-pill-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}