/* Custom Animations for Telegram Bot Hosting Platform */

/* Pulse border animation */
@keyframes pulse-border {
    0% { 
        box-shadow: 0 0 0 0 rgba(110, 110, 255, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(110, 110, 255, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(110, 110, 255, 0); 
    }
}

.animate-pulse-border {
    animation: pulse-border 2s infinite;
}

/* Hover lift effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-lift:active {
    transform: translateY(-2px);
}

/* Button ripple effect */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-animated:active::before {
    width: 300px;
    height: 300px;
}

/* Fade in animation */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease;
}

/* Status pulse for running bots */
.status-running-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00ff88;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}