﻿
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 70px;
    width: 65px;
    height: 65px;

    background: linear-gradient(135deg, #4a6cf7, #2945c3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

    .chat-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    }

.ai-icon {
    width: 90px;
    height: 60px;
}

.pulse-animation {
    position: absolute;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    background-color: rgba(74, 108, 247, 0.4);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chat-bubble {
    position: absolute;
    top: -60px;
    right: -20px;
    background-color: white;
    padding: 10px 15px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    color: #2945c3;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

    .chat-bubble:after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 30px;
        width: 16px;
        height: 16px;
        background-color: white;
        transform: rotate(45deg);
        z-index: -1;
    }

.chat-button:hover .chat-bubble {
    opacity: 1;
    transform: translateY(0);
}

.dot-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.dot {
    width: 6px;
    height: 6px;
    margin: 0 1px;
    background-color: white;
    border-radius: 50%;
    animation: bounce 1.5s infinite;
}

    .dot:nth-child(2) {
        animation-delay: 0.3s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.6s;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Ek parıltı efekti */
.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
