﻿.gh-ai-chat-launch {
    position: fixed;
    z-index: 1000;
    background: white;
    border: 2px solid var(--accent-color, #940411);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', sans-serif;
}

/* 💻 Только для ПК — по центру справа */
@media (min-width: 551px) {
    .gh-ai-chat-launch {
        top: 50%;
        right: 20px;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
    }

        .gh-ai-chat-launch:hover {
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
}

/* 📱 Мобилка — внизу слева */
@media (max-width: 550px) {
    .gh-ai-chat-launch {
        top: auto;
        right: auto;
        bottom: 12px;
        left: 12px;
        transform: none;
    }

        .gh-ai-chat-launch:hover {
            transform: scale(1.05);
        }
}

#ai-chat-modal-messages::-webkit-scrollbar {
    width: 6px;
}

#ai-chat-modal-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

#gh-ai-chat-modal h2 {
    font-family: 'Inter', sans-serif;
    letter-spacing: normal;
}

@keyframes pulseSlow {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.animate-pulse-slow {
    animation: pulseSlow 1.5s infinite ease-in-out;
}