/* Update Manager Styles */
.update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    max-width: 400px;
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: slideInFromRight 0.3s ease-out;
}

.update-content {
    padding: 20px;
}

.update-icon {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.update-text {
    margin-bottom: 15px;
}

.update-text strong {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.update-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.update-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.update-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.update-now {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.update-now:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.update-later {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);
}

.update-later:hover {
    background: rgba(255,255,255,0.1);
}

.update-progress {
    display: none;
    margin-top: 15px;
}

.progress-bar {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: white;
    height: 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    animation: pulse 1.5s ease-in-out infinite;
}

.progress-text {
    font-size: 12px;
    opacity: 0.9;
    text-align: center;
    display: block;
}

/* Animations */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .update-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
    
    .update-actions {
        flex-direction: column;
    }
    
    .update-btn {
        margin-bottom: 5px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .update-notification {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border: 1px solid #4a5568;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .update-notification {
        background: #000;
        border: 2px solid #fff;
        color: #fff;
    }
    
    .update-btn {
        border: 2px solid #fff;
    }
}
