/* Performance Optimized CSS - Reduced animations for faster Chrome performance */

/* Disable transitions in performance mode */
.performance-mode *, 
.performance-mode *::before, 
.performance-mode *::after {
    animation-duration: 0.05s !important;
    animation-delay: 0s !important;
    transition-duration: 0.05s !important;
    transition-delay: 0s !important;
}

/* Optimize button interactions */
.performance-mode .google-signin-btn {
    transform: none !important;
}

.performance-mode .google-signin-btn:hover {
    transform: none !important;
}

/* Reduce box-shadow complexity */
.performance-mode .welcome-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Disable complex animations */
.performance-mode .toast {
    transition: opacity 0.1s ease !important;
    transform: none !important;
}

/* Optimize loading states */
.performance-mode .loading {
    animation: none !important;
}

.performance-mode .loading::after {
    content: "Loading...";
    animation: none !important;
}

/* Performance indicator */
body.performance-mode::before {
    content: "⚡ Performance Mode";
    position: fixed;
    top: 5px;
    right: 5px;
    background: #4CAF50;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 3px;
    z-index: 9999;
    font-family: monospace;
}

/* Performance toggle button */
.performance-toggle {
    text-align: center;
    margin: 20px 0;
}

.performance-toggle-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.2s ease;
}

.performance-toggle-btn:hover {
    border-color: #4285F4;
    color: #4285F4;
    background: rgba(66, 133, 244, 0.05);
}

.performance-toggle-btn:focus {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}