/* Styles for Telegram Button Plugin */

.telegram-floating-button {
    position: fixed;
    z-index: 10000;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    background-color: #0088cc; /* Цвет Telegram на случай, если иконка не загрузится */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder styles for animations */
.telegram-floating-button.pulse {
    animation: pulse 1.5s infinite;
}

.telegram-floating-button.bounce {
    animation: bounce 1.5s infinite;
}

.telegram-floating-button.shake {
    animation: shake 1s infinite;
}

/* Keyframes for animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Dynamic size for the button based on data-size attribute */
.telegram-floating-button[data-size="small"] {
    width: 40px;
    height: 40px;
}

.telegram-floating-button[data-size="medium"] {
    width: 60px;
    height: 60px;
}

.telegram-floating-button[data-size="large"] {
    width: 80px;
    height: 80px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .telegram-floating-button {
        width: 50px !important;
        height: 50px !important;
        bottom: 10px !important;
        right: 10px !important;
    }
}