/* ====================================
   ProductAI - Mobile & Responsive CSS
   Media queries, animations, and mobile-specific styles
   ==================================== */

/* Animation Keyframes */
@keyframes glow {
    0% {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 2px 20px rgba(255, 215, 0, 0.6);
    }
    100% {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
}

@keyframes slideIn {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(102, 126, 234, 0.1); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

@keyframes pulseUpload {
    0%, 100% { 
        border-color: #667eea; 
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.3);
    }
    50% { 
        border-color: #764ba2;
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.1);
    }
}

/* Animation Classes */
.sticky-login-btn.pulse {
    animation: glow 2s infinite;
}

/* Additional Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes toastIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
    
    .preset-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sticky-login-bar {
        padding: 10px 12px;
    }
    
    .sticky-login-content {
        gap: 12px;
    }
    
    .sticky-login-title {
        font-size: 0.85rem;
    }
    
    .sticky-login-subtitle {
        font-size: 0.75rem;
    }
    
    .sticky-login-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .sticky-google-icon {
        width: 14px;
        height: 14px;
    }
} 