@keyframes chat {
    0%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.chat-dropdown {
    position: fixed;
    bottom: calc(1em + 60px);
    right: 1em;
    z-index: 9999;
}

.chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 50px;
    color: var(--font-color);
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.6)
    );
    will-change: transform;
    padding: 0.5em 1.5em;
    border: none;
    animation: chat 3s infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat.stop {
    animation: none;
}

.chat .akastra-buddy {
    height: 3em;
    margin-left: 0.5em;
}

.chat-dropdown-menu {
    padding: 0;
    min-width: 14em;
    border: none;
    border-radius: 0.5em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
}

.chat-dropdown-menu .dropdown-item {
    padding: 0.7em 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-dropdown-menu .dropdown-item:hover .child {
    color: white;
}

@media (min-width: 768px) {
    .chat-dropdown {
        bottom: 1.5em;
        right: 1.5em;
    }

    .chat {
        padding: 0.5em 2em;
    }

    .chat .akastra-buddy {
        height: 4em;
    }

    .chat-dropdown-menu {
        min-width: 16em;
    }
}
