/* Update Notification Styles */

.update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.4s ease-out, pulse 2s ease-in-out 0.5s;
    max-width: 450px;
    min-width: 320px;
}

.update-notification-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.update-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto;
}

.update-icon i {
    font-size: 24px;
    animation: rotate 2s linear infinite;
}

.update-message {
    text-align: center;
}

.update-message strong {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.update-message p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}

.update-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.update-actions .btn {
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.update-actions .btn-primary {
    background: white;
    color: #667eea;
    border: none;
}

.update-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.update-actions .btn-outline-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.update-actions .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4), 0 2px 8px rgba(102, 126, 234, 0.3);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .update-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }

    .update-notification-content {
        padding: 15px;
    }

    .update-actions {
        flex-direction: column;
    }

    .update-actions .btn {
        width: 100%;
    }

    .update-actions .btn-sm {
        margin-left: 0 !important;
        margin-top: 8px;
    }
}
