/* Animations */
@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; }
}

@keyframes clickPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
    25%, 75% { transform: scale(0.95); }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Tutorial animation */
.tutorial-animation {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 2s ease-in-out infinite;
    opacity: 0;
    visibility: hidden;
    width: 140px;
    max-width: 90%;
}

.tutorial-animation p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.2;
}

.double-click-icon {
    width: 30px;
    height: 30px;
    background-color: #4285f4;
    border-radius: 50%;
    position: relative;
    animation: clickPulse 1.5s ease-in-out infinite;
}

.double-click-icon:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}