/* Version Update Notification Styles */

.version-update-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid #d32f2f;
}

.version-update-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.version-update-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.version-update-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.version-update-message {
    flex: 1;
    min-width: 0;
}

.version-update-message strong {
    display: block;
    color: #d32f2f;
    font-size: 14px;
    margin-bottom: 4px;
}

.version-update-message p {
    margin: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.version-update-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.version-update-refresh-btn {
    background: #d32f2f;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}

.version-update-refresh-btn:hover {
    background: #b71c1c;
}

.version-update-refresh-btn:active {
    transform: scale(0.98);
}

.version-update-dismiss-btn {
    background: transparent;
    color: #666;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: background 0.2s, color 0.2s;
}

.version-update-dismiss-btn:hover {
    background: #f5f5f5;
    color: #333;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .version-update-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .version-update-content {
        flex-wrap: wrap;
    }
    
    .version-update-actions {
        width: 100%;
        margin-top: 8px;
    }
    
    .version-update-refresh-btn {
        flex: 1;
        justify-content: center;
    }
}




